Results 1 to 9 of 9

Thread: SAG Scroller icon next to images

  1. #1
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default SAG Scroller icon next to images

    Hi

    I am trying to use the script call SAG scroller, its a great script for both images and text but I have having a slight problem with the image scroller. I am getting a white strip down the left hand side with a small triangle (pointed to the image) at the top near the top left of the picture. Your example doesnt have this, could you tell me how to get rid of this. Image below of the problem I'm having.



    Many thanks

    Simon

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I think I have an apology to make, I didnt realise I had posted this in the wrong area, sorry, link to the site page is here.

  4. #4
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ergo30 View Post
    I think I have an apology to make, I didnt realise I had posted this in the wrong area, sorry, link to the site page is here.
    Also I have now read the instructions on posting in the forum and I should have included the link to the script on your pages, here it is http://www.dynamicdrive.com/dynamici...agscroller.htm

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The "arrows" are there since your page is missing the reference to the required "sagscroller.css" file. In the HEAD section of your page you do have a reference to:

    Code:
    <link rel="stylesheet" type="text/css" href="/template.css" />
    though it's broken (try accessing template.css).
    DD Admin

  6. #6
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Firstly ddadmin, thank you very much for taking time out to repond on this for me. I'm no professional on this and am on a tight learing curve so it could be that I messed up with this but i will try to explain (perhaps its something I should have mentioned at the beginning). The site is built up in Joomla which uses templates, when I tried a different script that is running on my site I added the reference to the scripts .CSS file and it messed up all the formatting on my site, the only way I could get around it was to add that scripts .CSS details in the template.css file that the template I am running with uses. To stop this happening when I added the SAG scroller I also added the content from SAG's CSS into the templates .CSS (I then changed the bit in the head for SAG's CSS to point to the template.css), hence keeping all CSS in one file. Am I wrong in doing this? If so is there a way to reference two different .CSS files for different things on the website. Sorry for my lack of knowledge but I am totally self taught so I am learning by my mistakes (which takes alot of time and mistakes and causing you knowledgable guys headaches I sure).

    Having typed all the above I was looking at the line <link rel="stylesheet" type="text/css" href="/template.css" /> and realised that the path is perhaps wrong for the template.css. The path from the root would be /templates/ja_zibal/css which is where the template.css is.

    I really hope this explained it AND if you understand my explanation, maybe you could confirm my assumption. I will try this when I get home.

    Thanks.
    Last edited by ergo30; 09-06-2010 at 12:49 PM. Reason: Added extra info at the end.

  7. #7
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I've tried pointing to the templates.css file and even tried pointing it directly to sagscroller.css without any change my problem. I'm not sure if its something stupied I am doing. Thanks again.

  8. #8
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The CSS classes for SAG scroller are now correctly loaded inside your template.css file. However, it seems there are some CSS conflicts with some of the other classes defined on the same page that's causing the issues you're seeing. I can't quite pinpoint what those other classes are (as there are a lot of them on your page). You can for the time being try and edit the CSS classes for SAG Scroller to compensate for these conflicts. Try finding the below CSS class inside template.css:

    Code:
    .sagscroller ul{
    position:absolute;
    margin:0;
    padding:0;
    background:white;
    list-style:none;
    width: 100%;
    }
    and change that to:

    Code:
    .sagscroller ul{
    position:absolute;
    margin:0;
    padding:0;
    background:white;
    list-style:none !important;
    width: 100%;
    }
    
    .sagscroller img{
    margin-left: -14px;
    }
    This should get the scroller to look somewhat as it does in the DD demo...
    DD Admin

  9. The Following User Says Thank You to ddadmin For This Useful Post:

    ergo30 (09-08-2010)

  10. #9
    Join Date
    Sep 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Brilliant!!! all sorted, thanks for your help on this, i hope one day to post some help on these forums in return.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •