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 Coder
    Join Date
    Jul 2012
    Posts
    10
    Thanks
    3
    Thanked 1 Time in 1 Post

    Drop down menu support for IOS

    hi all,

    Currently my site main menu doesn't work when navigating around on an IOS device, any tabs that have a drop drown box wont show. I believe its possible to fix this from just using CSS with the below code but i cant get it to work.

    Code:
    #nav ul {
    display: none;
    }
    #nav li:hover ul {
    display: block;
    text-decoration: none;
    }

    Anyway this is how my menu looks

    Code:
     <div class="navbar">
      <ul id="nav">
    	<li>
    		<a href="index.php">Homepage</a>
        </li>
    	<li><a heref="#">About Us</a>
        <ul>
    			<li><a href="index.php?site=about">About</a></li>
                            <li><a href="index.php?site=static&staticID=4">Allies</a></li>
    			<li><a href="index.php?site=static&staticID=1">Rank</a></li>
    		</ul>
        </li>
    	<li>
    		<a href="index.php?site=forum">Forums</a></li>
    	<li><a heref="#">Statistics</a>
    <ul>
    			<li><a href="index.php?site=static&staticID=2">In-Game Stats</a></li>
    			<li><a href="index.php?site=static&staticID=3">Outfit Stats</a></li>
    		</ul>
        </li>
        <li><a heref="#">Media</a>
    <ul>
    			<li><a href="index.php?site=files">Downloads</a></li>
    			<li><a href="index.php?site=gallery ">Gallery</a></li>
                <li><a href="index.php?site=videos">Videos</a></li>
                <li><a href="index.php?site=liveshow">Live Streams</a></li>
    		</ul>
        </li>
        <li>
    		<a href="index.php?site=members">Members</a>
    	</li>
    </ul>
      </div>
    Thanks in advance
    Gray

  • #2
    Senior Coder
    Join Date
    Sep 2010
    Posts
    1,903
    Thanks
    15
    Thanked 226 Times in 226 Posts
    I'm using javascript for menus, it's absolutely dependable, works on Windows 95 machines with IE 3.5 . Since my pages require JS to work it doesn't matter whether 'some people don't use javascript'. You're welcome to 'steal' my menu code and use it.
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.


    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.

  • Users who have thanked DrDOS for this post:

    wingsgb (06-06-2013)

  • #3
    New Coder
    Join Date
    Jul 2012
    Posts
    10
    Thanks
    3
    Thanked 1 Time in 1 Post
    Your site works nicely on my iphone. I will inspect the code and give it ago

    thanks for the input


  •  

    Posting Permissions

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