Results 1 to 8 of 8

Thread: StepCarousel z-index stacking.

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

    Default StepCarousel z-index stacking.

    1) Script Title: StepCaroulsel

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem:

    I have an Issue with using Z-index to "layer" DIVS. I have a floating background div containing an image with.
    Code:
    position:relative;
    z-index:1;
    and the default( * ) z-index is 10, all undefined elements seem to be inheriting this property.

    My DD StepCarousel CSS differs from the example on the webpage only by adding a z-index property of 20 to the .stepcarousel class. I should also mention that all elements have position defined, either relative or absolute.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    What exactly is happening that you don't want?

    Could we have a link to the page?

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default

    Apologies, the problem is that the script doesn't function when positioned above(in z-index) another element.

    http://ecbiz83.inmotionhosting.com/~...videowonk.html

  4. #4
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    First you need to close this part of the script by adding </script> like this
    Code:
    <script type="text/javascript" src="lib/stepcarousel.js">
    
    /***********************************************
    * Step Carousel Viewer script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
    * This notice must stay intact for legal use
    ***********************************************/
    
    </script>
    Make a post when you have done that and we can take another look

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

    Default

    Derr. NO excuse for newb mistake.

    This one works:
    http://monadnock.org/tmp/video_un-wonk.html

    But not this one, only difference is the low-z backbox containing the bg image.
    http://monadnock.org/tmp/videowonk.html

    Thanks,
    Ryan

  6. #6
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    in step.css line 18
    Code:
    .stepcarousel .panel{
    float: left; /*leave this value alone*/
    overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
    margin: 0px; /*margin around each panel*/
    width: 700px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
    }
    try to delete the overflow:hidden; and see if that helps.

  7. #7
    Join Date
    Aug 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    YEP, that did it. Any Idea why?

  8. #8
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Sorry, no idea why ? just a hunch

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
  •