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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 1 Guest 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.