View Single Post
Old 2009-12-28, 04:27 AM   #6
MadCat
If something's hard to do, then it's not worth doing
 
MadCat's Avatar
 
Join Date: Sep 2008
Location: Berlin, Germany
Posts: 247
If you have the div show up on a click, you want to do this, if you are using jQuery:

$('#id-for-the-link').click(function() {
// do div showing here
return false;
});

The 'false' will not process the link that goes to '#' which is what yoinks you back to the top of the page.
__________________
What's blue and not heavy?
MadCat is offline   Reply With Quote