Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How to scroll down after search submit?  (Read 4250 times)

0 Members and 1 Guest are viewing this topic.

matheso

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91
How to scroll down after search submit?
« on: January 06, 2015, 02:02:31 am »

Regarding my site here:   taskbasket.net/gallery/

If a user types in "nature" at the top, when they submit the form it redirects http://taskbasket.net/gallery/thumbnails.php?search=nature&title=on....etc...

but the results are only seen if you scroll down, so I'm wondering how do I make it automatically scroll down to the images after submission? Do I attach a div reference to the form or something? Ideally I'd like it to scroll down to just above "Last additions", so that this header is seen as well

I couldn't find this in the docs and would be happy to read it if you can point it out. Thank you.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: How to scroll down after search submit?
« Reply #1 on: January 07, 2015, 12:35:26 pm »

Nav anchor is proabibly what your looking for.
nav anchor in Google Search or http://www.w3schools.com
No need for bootrap and other like that to load your server with many plugins. Is simple html.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: How to scroll down after search submit?
« Reply #2 on: January 08, 2015, 01:01:18 pm »

I see you made it.
Forum rules are to say how you made it and then click topic solved.

Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well. Finally, you can tag your thread as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.

Resolve your threads: http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.