Hi,
I'm trying to have a new layer appear above existing content on my site when a link/button is clicked. I am using jquery - but the code I have doesn't seem to work as expected.
Here is what I have:
$(document).ready(function(){
$("#button").click(function () {
$("#showme").insertAfter("#bodytag")
$("#showme").fadeIn(2000);
});
});
The effect I'm after is to have <div id="showme">...</div>
appear directly after the #bodytag. <div id="showme">...</div>
has a z-index higher than anything else on the site, so it should just appear above the content directly after the #bodytag.
Thanks for the assistance.