News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Auto scroll to image for cpg1.4.x

Started by Jr. tristan, August 20, 2006, 12:24:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jr. tristan

I have found so many posts about auto scroll to image after pressing the next button.
But I have found none (or I have missed??) of scripts for cpg1.4.x

I want to put an anchor right at the image tool bar / directory bar.
Grateful if anyone could provide such codes/scripts for us. Please help.

Tranz

In your theme's theme.php, edit the following. If you don't have the blocks, copy from sample/theme.php and paste into your theme.php file.

Add the following somewhere in the html for $template_img_navbar
<a name="top_display_media"></a>

In function theme_html_img_nav_menu append #top_display_media to the end of the links variables. It looks like they're $next_tgt and $prev_tgt

benj_gos

Perfect :)
Exactly what i was looking for as well! thanks for the help.