View Full Version : Question about Image Thumbnail Viewer II

12-02-2005, 08:51 AM
About: Image Thumbnail Viewer II

URL: http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

I made a site on which I combine CMotion Image Gallery and Image Thumbnail Viewer II. It works pretty good, but if you scroll down the page and then click on the gallery to see a picture, the page jumps to the top again. This page is only a first test, but when I make a larger page, it will be a problem.

I think the problem is somewhere in the code of Image Thumbnail Viewer II, but I'm not sure. Does anyone know how I can solve this?

The page I'm talking about:

http://www.outdoorchallenge.nl (http://www.stud.tue.nl/~terrain/outdoorchallenge/2006/tryout_foto/fotos.php)



12-02-2005, 09:13 AM
Where you have:

<a href="#" onClick="modifyimage('dynloadarea', 0)">
<img src="Rofra.jpg" border=1 width="109" height="60"></a>

and similar, it should to be:

<a href="#" onclick="modifyimage('dynloadarea', 0);return false;">
<img src="Rofra.jpg" border=1 width="109" height="60"></a>

12-02-2005, 09:35 AM
what you can do is you can replace the # with javascript:;