Hi,
I need one information. What i want to do is- when I scroll down a page to the bottom, i have got a thumbnail image which is a link. So when i click on the thumbnail image, a popup comes up with the enlarged image of the thumbnail image.
But now the problem is, when i click on the thumbnail image, the popup comes up but then immediately the page which has the thumbnail image scrolls to the top automatically and sits at the beginning of the page. Because of this, if i have to go to another thumbnail image besides the old one which i clicked now, again i need to scroll down to the bottom of the page. This is a tedious job.
I just want to know- how to avoid the trouble. Actually you can use the history object in the Javascript to go to the same position in the previous page but i am confused which object to call to get to the same position on the same page.
Anyone here to help me out.
Thanks
I need one information. What i want to do is- when I scroll down a page to the bottom, i have got a thumbnail image which is a link. So when i click on the thumbnail image, a popup comes up with the enlarged image of the thumbnail image.
But now the problem is, when i click on the thumbnail image, the popup comes up but then immediately the page which has the thumbnail image scrolls to the top automatically and sits at the beginning of the page. Because of this, if i have to go to another thumbnail image besides the old one which i clicked now, again i need to scroll down to the bottom of the page. This is a tedious job.
I just want to know- how to avoid the trouble. Actually you can use the history object in the Javascript to go to the same position in the previous page but i am confused which object to call to get to the same position on the same page.
Anyone here to help me out.
Thanks