View Full Version : browser scroll itself up

04-01-2011, 03:34 PM
I have created a photo gallery in tabs. The problem is when i scroll down the browser window to click on the numbers of the photo gallery, the new photo opens but the explorer scroll it self up again. It is very annoying. here is the link of this website gallery.


Please bear with me as i am new to html/css. Can anybody help me??
I would really appreciate.

04-01-2011, 03:48 PM
example you have:
<a href="#" tabindex="1">7</a>

add onclick="return false;" like below
<a onclick="return false;" href="#" tabindex="1">7</a>