close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add anchor to page parameters after clicking on pagination link

Thread began 9/15/2023 6:59 am by Ralph | Last modified 1/14/2024 10:48 pm by anonymous | 127 views | 1 replies |

Ralph

Add anchor to page parameters after clicking on pagination link

My pages work well. I have a repeat region on a page and the pagination works well. After the "Next" or "Previous" links are clicked the page reloads, but starts goes to the top of the page. I'd like to know if I can set it so that after "Next" is clicked the page can reload and go to an anchor on the page (where the repeat region is located).

Thank you for your help.

Take care and stay safe

Ralph

I figured it out - simple solution I missed:
append the hash anchor to the url in the getFirstPageLink(), getPrevPageLink(), getNextPageLink() and getLastPageLink()

e.g.,
FROM:
<?php echo $Recordset1->getFirstPageLink(); ?>">First</a>
TO:
<?php echo $Recordset1->getFirstPageLink() . "#adviceq"; ?>">First</a>

I hope this can help another with a similar need.

Sign in to reply to this post

anonymous

awesome

This post has been deleted.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...