Can the hyperlink to the picture in displayimage.php by suppressed? Can the hyperlink to the picture in displayimage.php by suppressed?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Can the hyperlink to the picture in displayimage.php by suppressed?

Started by rmcneal, January 12, 2011, 06:49:18 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rmcneal

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

rmcneal

It appears that deleting references to #top_display_media in theme.php will suppress this behaviour.

André Müller

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é

Αndré

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.

Joe Carver

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

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