Automatic scroll--ease quick photo viewing Automatic scroll--ease quick photo viewing
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Automatic scroll--ease quick photo viewing

Started by nathanphotos, November 22, 2007, 11:28:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nathanphotos

Hello!
This is my first post in these forums :) So, hi all, I'm Sam. I'm a travelling photographer/Student. Here's my miscellaneous cpg question:

So, I'm in the normal viewing mode, click the thumbnails to advanced to the next picture and viewing the larger file. Whenever I click to the next photo it reloads the page and I have to scroll down to see the whole picture. After about 10 photos this can get annoying. Does someone know a little javascript code to automatically scroll down to the top of the photo when the page reloads? And if so, how and where can I implement this into the page?

Thanks,
Sam ;D

Joachim Müller