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 Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/ 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); Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1248924 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> Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1248931 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) Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1248946 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/ Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1248971 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> Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1248984 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 Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1249009 Share on other sites More sharing options...
ecabrera Posted July 29, 2011 Author Share Posted July 29, 2011 i fixed with jQuery thanks Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1249021 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 Link to comment https://forums.phpfreaks.com/topic/243163-slide-down-menu/#findComment-1249403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.