+ 2
Help!!!! i'm strucked here...
I have created two div tags in my webpage I have created nav menu links in 1st div ,how can i open them in second div??? like many websites if we click on navigation links they will show content below
3 Réponses
+ 9
Never seen nothing similar before, can you give me more details or (preferable) a visual example? ._.
+ 5
here are two examples for you
https://code.sololearn.com/WzO3M1p7OZvg/?ref=app
https://code.sololearn.com/W5qXbY3F36EL/?ref=app
also very simple example for DOM here
https://code.sololearn.com/WkFu0PqDX01Y/?ref=app
this is full template
https://code.sololearn.com/W9xbqzMST51U/?ref=app
+ 3
<div id="banner"> <h2>put what you want here</h2> <p>just adjust javascript size to match this window</p> </div> <nav id='nav_bar'> <ul class='nav_links'> <li><a href="url">Sign In</a></li> <li><a href="url">Blog</a></li> <li><a href="url">About</a></li> </ul> </nav> <div id='body_div'> <p style='margin: 0; padding-top: 50px;'>and more stuff to continue scrolling here</p> </div>
you can try this