The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
scrolling when page loads
on my current project I've been playing with a bit of code which scrolls users to part they are editing, for instance if you have a list of tasks and you edit one, then save...when the page reloads it will take you to the one you just edited.
I've been using the javascript code from here http://dotnetjunkies.com/HowTo/56233...0CA019FDD.dcik But realise that there is a method which Vbulletin uses to scroll you back to the message you just posted in reply to someone. The above method works but could someone please point me to some instructions on how to do this with vbulletin as i'd rather use a function that's built in than use one from somewhere else. |
#2
|
|||
|
|||
I think vBulletin just uses standard anchor HTML tags with the name attribute. Then it just loads the page with a pound symbol ('#') followed by value of the name attribute.
E.g. HTML Code:
<a name="post1353983"></a> Then in the URL it would be something like: Code:
https://vborg.vbsupport.ru/showthread.php?t=159592#post1353983 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|