Display a single item

<div id="my_id" style="visibility:hidden;" ><a href="/somepage">I'm special</a></div>

<a href="javascript:void(0);" onclick="document.getElementById('my_id').style.visibility='visible';" >Click Me</a>

Display multiple items on a page

Give your items a class
  <div class="SomeOtherClass DisplayMeOnClick" style="display:none;" ><a href="/somepage">I'm special</a></div>

  <a href="/someotherpage" class="DisplayMeOnClick" style="display:none;" >I'm also special</a>
Your link to show the hidden items
<a href="javascript:void(0);" onclick="jQuery('.DisplayMeOnClick').show(); jQuery('.EcuHiddenAdminLink').hide();" class="EcuHiddenAdminLink" >Show Hidden Items</a>
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.


Your email address will not be published. Required fields are marked *