Results 1 to 7 of 7

Thread: drop down menu overlapped with another javascript

  1. #1
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default drop down menu overlapped with another javascript

    Can anyone please help me with my problem? I have a drop down menu using Java script and at the bottom of the script is another java script with image place holder. I cannot see the entire submenu of the drop downmenu because it was overlapped by the image place holder. Is there anyway I can fix it. here is the website. http://www.weddingplannercebu.com . Thank you.
    Last edited by ninnen12; 03-13-2006 at 08:40 AM.

  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

    Hard to say for sure without seeing your page but, the z-index of the drop down, if set higher than the z-index of the placeholder may fix it. In css:

    Code:
    selector {
    z-index:100;
    }
    In javascript:

    Code:
    element.style.zIndex='100'
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default drop down menu overlapped with another javascript

    hi,
    thank you for your concern and help. by the way this is the website. http://www.weddingplannercebu.com . thank you

  4. #4
    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

    There is no dropping down happening on that page that I can see.
    - John
    ________________________

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

  5. #5
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default drop down menu overlapped with another javascript

    John,
    sorry for that, I temporarily removed the script for the drop down menu coz' I get confused. anyway I emed it back to the script, you can now see the drop down menu of the Service link. hope you can help me on this. here's the website http://www.weddingplannercebu.com . Thank you so much for your time.
    Niño

  6. #6
    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

    I'm not sure where the style for the menu is located. I think it is written on the fly by the script. No matter. Add this style section in the head of the page:

    Code:
    <style type="text/css">
    .typewriter2_menu {
    z-index:1000;
    }
    </style>
    Or, if you know where the style for the menu is declared, add the z-index property/value pair there. If you add other drop downs with other class names, like typewriter3_menu, you will need to set the same style for them as well if they need to drop over the book flip script.
    - John
    ________________________

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

  7. #7
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default javascript overlapped solved

    John,
    Very brilliant! I got it! Thank you so much for your help. Please view here the website http://www.weddingplannercebu.com . I put the script you gave to me on the head of the page, problem solved then. I'm glad to be a member of this Dynamicdrive forum, Excellent!!!

    Niņo

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
  •