Advanced search  

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

Pages: [1]   Go Down

Author Topic: Can the hyperlink to the picture in displayimage.php by suppressed?  (Read 3679 times)

0 Members and 1 Guest are viewing this topic.

rmcneal

  • Coppermine newbie
  • Offline Offline
  • Posts: 4

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
Logged

rmcneal

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Can the hyperlink to the picture in displayimage.php by suppressed?
« Reply #1 on: January 12, 2011, 09:12:00 pm »

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

André Müller

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
Re: Can the hyperlink to the picture in displayimage.php by suppressed?
« Reply #2 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é
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Can the hyperlink to the picture in displayimage.php by suppressed?
« Reply #3 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
Code: [Select]
top_display_mediain themes/sample/theme.php.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Can the hyperlink to the picture in displayimage.php by suppressed?
« Reply #4 on: January 20, 2011, 11:51:06 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.
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.