Hi guys,
I have this code that needs to be modified.
[CODE]$display .= “<td><a href=”javascript:imgchange(‘$file_name’,'”.addslashes($caption).”‘,'”.addslashes($description).”‘)”> “;
$display .= “<img src=”$config[listings_view_images_path]/$thumb_file_name” height=”$displayheight” width=”$displaywidth” alt=”$caption” /></a>”;
$display .= “</td>”;
When one clicks this image there is another image on the page that changes; but I would like this click to also take the user to the top of the page, where the main image will be.
I have a big image here:
0000000000000000000000
0000000000000000000000
0000000000000000000000
0000000000000000000000
0000000000000000000000
00000000000000000000000
And then thumbnails here:
11111111111111111
22222222222222222
33333333333333333
44444444444444444
55555555555555555
66666666666666666
77777777777777777
88888888888888888
99999999999999999
By the time the user is down here, i want the click to take him up and also change the image. All i’m missing is the up part.
Thanks!