The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Our news section on the CMS only shows 2 articles at a time to fit in our layout properly. When clicking the pagination links the page reloads at the top. I don't need a fancy JS solution or anything so I plan to just use simple anchors to keep the page down at the News block when the link is clicked.
I've already added the anchor above the News block: Code:
<a name="{vb:raw title}" /> --------------- Added [DATE]1397683715[/DATE] at [TIME]1397683715[/TIME] --------------- I guess I just needed to take a break and come back to it. It may not be the best way to do it but I got it working. I just added Code:
<vb:if condition="THIS_SCRIPT == 'vbcms'">#News</vb:if> --------------- Added [DATE]1397685074[/DATE] at [TIME]1397685074[/TIME] --------------- Ok, so that fixed a problem on the main CMS page but everywhere else that has pagination links also reloads to the top of the page. Is there some kind of Javascript or Jquery solution to keep the page from jumping to the top every time? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|