coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: rmcneal on January 12, 2011, 06:49:18 PM

Title: Can the hyperlink to the picture in displayimage.php by suppressed?
Post by: rmcneal on January 12, 2011, 06:49:18 PM
After upgrading to 1.5, when you click on the navigation controls or slideshow control, the page appears to jump or hyperlink to the picture being displayed (i.e. it scrolls down to the picture and hides the header above it).  Is there a way to disable this behaviour?

Thanks
-Richard
Title: Re: Can the hyperlink to the picture in displayimage.php by suppressed?
Post by: rmcneal on January 12, 2011, 09:12:00 PM
It appears that deleting references to #top_display_media in theme.php will suppress this behaviour.
Title: Re: Can the hyperlink to the picture in displayimage.php by suppressed?
Post by: André Müller on January 20, 2011, 05:26:19 PM
Which theme do you use, or which blocks did you have to copy from "sample" to your theme?

Is there another, more elegant way to achieve the same?

Cheers!
André
Title: Re: Can the hyperlink to the picture in displayimage.php by suppressed?
Post by: Αndré on January 20, 2011, 06:53:01 PM
The most elegant way would be to remove the anchor and the references to it. Just search for
top_display_media
in themes/sample/theme.php.
Title: Re: Can the hyperlink to the picture in displayimage.php by suppressed?
Post by: Joe Carver on January 20, 2011, 11:51:06 PM
Quote from: rmcneal on January 12, 2011, 06:49:18 PM
..... the page appears to jump..... Is there a way to disable this behaviour?

If you or your visitors use Internet Explorer the pages will "jump" because of the inferior behavior of IE.

To "fix" it for them see this plugin: Remove Navbar Anchor for IE (http://forum.coppermine-gallery.net/index.php/topic,64197.0.html)

To all: Remember to post links to your Coppermine in future help requests.