You are not logged in.

  • »imvucodes« is a verified user
  • "imvucodes" started this thread

Posts: 130

Location: Interwebs

Occupation: Serving code snippets non stop.

  • Send private message

1

Monday, July 12th 2010, 2:36pm

Dynamic Object Link

This allows you to make a link at the given location (where you actually put this snippet). When you click the link the link disappears itself and the part where it says "HIDDEN OBJECT" will be made visible!

Source code

1
2
<span style="cursor:pointer" onclick="this.style.display='none';document.getElementById('myobject1').style.display='';">MY LINK DESCRIPTION</span>
<div id="myobject1" style="display:none">HIDDEN OBJECT</div>

Similar threads

Rate this thread