Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2005
    Posts
    41
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Javascript sliding div

    Having some javascript problems with a slide-in div, i have the slide working in FF and IE, but in both browsers the div tht slides out does not overlap certain divs in my page.

    If you go here and add some products to the basket, say bout 5-6 items. then go to the index page, if you click on the My Basket: 6 iteam's, a div will pop out, make sure your on the index page to see this. You will see that the box below it "New products" there images show through the div.

    http://www.auzzwholesale.co.uk/burnzy/auzzshop/

    thats in both browsers IE/FF

    but in IE also the background does not show

    Thanks for your time, much appreciated.

  • #2
    New Coder
    Join Date
    Jun 2005
    Posts
    41
    Thanks
    3
    Thanked 0 Times in 0 Posts
    this is the function im using:

    Code:
     function toggle(id) {  
             var state = document.getElementById(id).style.display;  
                 if (state == 'block') {  
                     document.getElementById(id).style.display = 'none';  
                } else {  
                     document.getElementById(id).style.display = 'block';  
                 }  
             }


  •  

    Posting Permissions

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