Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Featured Content Slider: real URLs+fade effect

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

    Default

    Where your pagination DIV container appears shouldn't matter, as long as the initialization code comes after it in the page's source:

    Code:
    <script type="text/javascript">
    //Define: ContentSlider("slider_ID", [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext])
    ContentSlider("slider1")
    
    </script>

  2. #12
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi i ahve been working on this particular script and still am because i amtryin to fix a bug.
    If i found something that might be useful to yuo i'll post it here

    In my case this (exact same script), works good in IE 6 or lower but does not displya any images when viewed with IE7
    Do you know if there is any extra piece of code i have to add up so it'll display the specified images?
    Any suggestions?
    Hexkrypt0r

  3. #13
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Im having an issue with the fade. Im currently using a custom scroll bar for the content thats too big for the feature content slider. So it uses two DIV tags seen below
    Code:
    <div id="divContainer_1" style="overflow: hidden; position: relative; width: 100%; height: 100%; min-height: 160px;">
      <div id="divContent_1" style="padding: 5px; position: absolute;"> 
      (my content)
      </div>
    </div>
    It seems that the position tag (in either div) in the style is preventing the fade from happening, the content is just displayed. Is there anything that can be done besides removing that style?

    This is happening in IE7, Firefox (of course) works fine.
    Last edited by primortal; 11-30-2007 at 01:34 PM.

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

    Default

    Primotal, by custom scrollbar, do you mean CSS's scrollbar declaration (ie: overflow: scroll;), or some script that renders a custom scrollbar? An example URL might help.

    p.s: In the future, please start a new thread when asking your own question, even if it's on the same script/ issue as another thread.

  5. #15
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    my appologies about piggy backing on this thread...

    Its a javascript that renders the scrollbar (http://www.blueshoes.org/en/javascript/scrollablediv/), but I removed that script trying to figure out the issue. I tracked it down to when I remove "position: relative" from divContainer_1 style and "position: absolute" from divContent_1 style everything works perfectly in IE 7.

    If you take the code from above insert it like below you wll see what i mean.
    Code:
    <div id="slider1" class="contentslide">
    <div class="opacitylayer">
    
    <div class="contentdiv">
    <div id="divContainer_1" style="overflow: hidden; position: relative; width: 100%; height: 100%; min-height: 160px;">
      <div id="divContent_1" style="padding: 5px; position: absolute;"> 
      Content 1
      </div>
    </div>
    </div>
    
    <div class="contentdiv">
    <div id="divContainer_1" style="overflow: hidden; position: relative; width: 100%; height: 100%; min-height: 160px;">
      <div id="divContent_1" style="padding: 5px; position: absolute;"> 
      Content 2
      </div>
    </div>
    </div>
    
    <div class="contentdiv">
    <div id="divContainer_1" style="overflow: hidden; position: relative; width: 100%; height: 100%; min-height: 160px;">
      <div id="divContent_1" style="padding: 5px; position: absolute;"> 
      Content 3
      </div>
    </div>
    </div>
    
    </div>
    </div>
    
    <div class="pagination" id="paginate-slider1"></div>
    
    <script type="text/javascript">
    //Define: ContentSlider("slider_ID", [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext])
    ContentSlider("slider1")
    
    </script>
    Last edited by primortal; 12-03-2007 at 01:39 PM.

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
  •