Monday, April 23, 2012

How to close my popup and stay at same place on referring page?

I've got a popup and when I close it the page I should go back to scrolls up. How can I avoid having the referring page scroll all the way up when I close my popup? I'd like the referring page to stay where it's at.



My code to close the popup is



<a href="#" onclick="document.getElementById('popupD').style.display = 'none';"
" align="right">Close</a>



How can it be done in the way I want?



Any help is greatly appreciated.



Thanks





No comments:

Post a Comment