divinedesigns1 Posted April 16, 2012 Share Posted April 16, 2012 alright i want to make a dropdown menu which contains a form in it, but i dont want the menu height to change, so i believe javascript suppose this. so i have a navigation bar with "home | project | news | jastor | contact" now say you hover/click on the "news" a form should appear below that button, allowing you to fill out the form and go to wherever you wanna i know html navigation and html form is needed, but what js script is needed here? next language to learn is js Link to comment Share on other sites More sharing options...
thescientist Posted April 16, 2012 Share Posted April 16, 2012 do you have anything? Just thinking of it as Javascript would, based on events. One method would be to have the form already on the page and just have it hidden by default (w/CSS). Then when the event happens, click/hover, you get a reference to the form and do something to it, as in this case, show it. Link to comment Share on other sites More sharing options...
divinedesigns1 Posted April 16, 2012 Author Share Posted April 16, 2012 oh ok, well i try the html n css but it didnt work at all i was like dammm and im just thinking along the way, kinda bored at work lol Link to comment Share on other sites More sharing options...
thescientist Posted April 16, 2012 Share Posted April 16, 2012 Well, the HTML/CSS should be the easiest part. It's just simple markup. Only the Javascript will really be doing anything. Link to comment Share on other sites More sharing options...
divinedesigns1 Posted April 17, 2012 Author Share Posted April 17, 2012 Well, the HTML/CSS should be the easiest part. It's just simple markup. Only the Javascript will really be doing anything. yeah but i ###### at making dropdown menus lol it comes out but doesnt work correctly, havent try to make one in a while tho maybe i should try it again see the outcome Link to comment Share on other sites More sharing options...
es131245 Posted April 17, 2012 Share Posted April 17, 2012 css ways: hover, position and display.jquery: show(), hide(), SlideDown(), toggles Link to comment Share on other sites More sharing options...
divinedesigns1 Posted April 18, 2012 Author Share Posted April 18, 2012 css ways: hover, position and display.jquery: show(), hide(), SlideDown(), toggles alrite kool thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.