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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2010
    Posts
    8
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Dropdown menu appearing behind google map.

    Hello everyone,

    I have a problem with my page, my drop down menu is appearing behind google map. More info on my page is here: http://smkhutankampong.co.cc/mengena...elanlokasi.php

    Please hover on the "MENGENAI KAMI" top navigation and you will see the dropdown menu is appearing behind the google map.

    This is my top navigation html code - menu.inc.php
    PHP Code:
    $topmenu "<li><a href=\"/\">LAMAN UTAMA</a></li>
                <li><a href=\"tentangkami.php\">MENGENAI KAMI</a>
                <ul style=\"visibility: hidden; margin-top:45px; width:120px; left:174px;\">
                <li  style=\"float:none;\"><a href=\"/mengenaikami/piagam.php\"  style=\"float:none; width:145px;\">Piagam Sekolah</a></li>
                <li style=\"float:none; \"><a href=\"/mengenaikami/visi&misi.php\" style=\"float:none; width:145px;\">Visi & Misi</a></li>
                <li style=\"float:none; \"><a href=\"/mengenaikami/latarbelakang.php\" style=\"float:none; width:145px;\">Latar Belakang</a></li>        
                <li style=\"float:none; \"><a href=\"/mengenaikami/pelanlokasi.php\" style=\"float:none; width:145px;\">Pelan Lokasi</a></li>    
                <li  style=\"float:none;\"><a href=\"#\"  style=\"float:none; width:145px;\">Ajax Navigation</a></li>
                </ul>
                </li>            
                <li><a href=\"/galeri.php\">GALERI FOTO</a></li>
                <li><a href=\"/infopendidikan.php\">INFO PENDIDIKAN</a></li>
                <li><a href=\"/alumni.php\">ALUMNI</a></li>
                <li><a href=\"/hubungi.php\">HUBUNGI KAMI</a></li>"

    My top navigation is using php include from menu.inc.php. The dropdown menu is using jQuery.

    I'm open to all suggestion. Any help is appreciated. Thanks in advanced.

  • #2
    Regular Coder
    Join Date
    Jul 2010
    Location
    St George, UT
    Posts
    138
    Thanks
    6
    Thanked 17 Times in 17 Posts
    Add the following code #nav ul in MarketPlace.css:

    Code:
    z-index: 1000;

  • Users who have thanked wildreason for this post:

    sg552 (08-25-2010)

  • #3
    New to the CF scene
    Join Date
    Jul 2010
    Posts
    8
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Thumbs up

    Yes, its works fine now. Your solution works good

    Thanks for your help. I will take time learning about z-index:


  •  

    Posting Permissions

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