Show & Hide HTML (Requires the Javascript)


/ Published in: HTML
Save to your folder(s)

I have also posted the Javascript that makes this markup show and hide.


Copy this code and paste it in your HTML
  1. <ul id="rightNav">
  2. <li>
  3. <h2 class="rightNavItem"><a href="#">Show &amp; Hide</a></h2>
  4. <ul>
  5. <li><a href="">Links etc here</a></li>
  6. </ul>
  7. </li>
  8. </ul>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.