Chen
Tue 21st Jan '03, 9:09am
Here's an odd one. First of all, when I click on Go To New Post for this thread:
http://www.vbulletin.com/forum/showthread.php?postid=401235#post401235
I am taken to that post (401235), even though there are newer posts in the thread, and then when the page loads I get a JavaScript error (see attachment) on this line:
<body onload="if(document.all) { document.getElementById('currentpost').scrollIntoV iew(); }">
Ok, I think I know what's wrong. Post #401235 is actually the newest post:
http://www.vbulletin.com/forum/showpost.php?postid=401235&postcount=323
But when I load the link above I'm taken to page #8 (with 40 posts per page), instead of being taken to page #9 which holds the post. Because of that there is no "currentpost" on the page and the browser errors.
http://www.vbulletin.com/forum/showthread.php?postid=401235#post401235
I am taken to that post (401235), even though there are newer posts in the thread, and then when the page loads I get a JavaScript error (see attachment) on this line:
<body onload="if(document.all) { document.getElementById('currentpost').scrollIntoV iew(); }">
Ok, I think I know what's wrong. Post #401235 is actually the newest post:
http://www.vbulletin.com/forum/showpost.php?postid=401235&postcount=323
But when I load the link above I'm taken to page #8 (with 40 posts per page), instead of being taken to page #9 which holds the post. Because of that there is no "currentpost" on the page and the browser errors.