ecabrera Posted July 29, 2011 Share Posted July 29, 2011 ok im having trouble with something im creating a navagation menu so when people click on it it will slide down and have more links the can go to can someone help me r give me a script on how to do this plz Quote Link to comment Share on other sites More sharing options...
WebStyles Posted July 29, 2011 Share Posted July 29, 2011 You can either post the code you already have, or you can use this: $file = file_get_contents('myHomework.txt'); createMySlideDownMenuForFree($file); Quote Link to comment Share on other sites More sharing options...
ecabrera Posted July 29, 2011 Author Share Posted July 29, 2011 so far i have this i dont know were to put it <div id="nav"> <ul> <li><a href="*">Topnav1</a> <ul> <li><a href="*">Submenu1</a></li> <li><a href="*">Submenu2</a></li> <li><a href="*">Submenu3</a></li> </ul> </li> <li><a href="*">Topnav2</a> <ul> <li><a href="*">Submenu4</a></li> <li><a href="*">Submenu5</a></li> <li><a href="*">Submenu6</a></li> </ul> </li> </ul> </div> Quote Link to comment Share on other sites More sharing options...
WebStyles Posted July 29, 2011 Share Posted July 29, 2011 that is just a list... What exactly are you trying to do, a menu that slides down, or a list view that expands (like in windows explorer) ? (in either case you're going to need javascript if you don't want to refresh the page every time something is clicked) Quote Link to comment Share on other sites More sharing options...
voip03 Posted July 29, 2011 Share Posted July 29, 2011 you need jQuery http://vandelaydesign.com/blog/web-development/jquery-drop-down-menus/ Quote Link to comment Share on other sites More sharing options...
TeNDoLLA Posted July 29, 2011 Share Posted July 29, 2011 you need jQuery http://vandelaydesign.com/blog/web-development/jquery-drop-down-menus/ <nit picking starts> You don't need jQuery, you need javascript, but I would use jQuery since it makes things easier and jQuery kicks ass. </nit picking ends> Quote Link to comment Share on other sites More sharing options...
spiderwell Posted July 29, 2011 Share Posted July 29, 2011 so you do need jquery then? google jquery accordian Quote Link to comment Share on other sites More sharing options...
ecabrera Posted July 29, 2011 Author Share Posted July 29, 2011 i fixed with jQuery thanks Quote Link to comment Share on other sites More sharing options...
voip03 Posted July 30, 2011 Share Posted July 30, 2011 please mark as solved. the topic solved button can be found at the bottom left of the page Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.