I have a div, “section” on a page, samplepage.html that I have set the display to “none”
<h3>Title</h3>
<a name="print">
<div class="section" style="display:none">
<p>Loreum ipsum text</p>
</div>
When the user clicks from another page:
<a href="samplepage.html#print">link</a>
I would like to make the “section” div slide open (slideToggle)…is this possible? I don’t know how to trigger an event from a click handler on another page…
Try this, in a
readyhandler: