If anyone still maintains this... the TOC links are broken. Any chance that can be fixed?
Example thread: http://www.sitepoint.com/forums/show...ML-vs-HTML-FAQ
| SitePoint Sponsor |
If anyone still maintains this... the TOC links are broken. Any chance that can be fixed?
Example thread: http://www.sitepoint.com/forums/show...ML-vs-HTML-FAQ
Last edited by ralph.m; Jun 26, 2012 at 02:42. Reason: added example page (where post first appeared)

Unfortunately it looks like one of the, ahem, features of vB4 is that the "jumpto" function from vB3 no longer works, which means that the only way to get the TOC links working (as far as I can see) is to hard-code the entire URL into the link, which isn't a very sensible or robust solution. The matter was raised with the vB team a couple of years ago, and their response was, in a nutshell, "Yeah, and what do you want us to do about it?", so unless @HAWK knows anyone who can hack the vB installation to fix this system bug, I'm not sure it's going to be possible to fix the TOC links.
Any posts I write in Arial are on my mobile phone, so please excuse typos etc.
Any posts I write in Verdana are on a PC, so feel free to berate me mercilessly for any mistakes



It's possible that @TimIgoe ; may have an idea. I certainly don't.![]()
They don't work because of the <base href="http://www.sitepoint.com/forums/"> element in the page. There seem to be four possible solutions (1) remove that element; (2) hard-code the links to include the missing part of the URL, which in this case is "showthread.php?393445-XHTML-vs-HTML-FAQ&p=5141516"; (3) modify the PHP code to automatically do that; or (4) add a JavaScript script to fix it. What I don't know is what relies on the <base> element to function, how complicated it would be to modify vB, and how many users might be browsing without JS enabled.
Thoughts?
P.S. Perhaps this should be split and moved to "Forum Support & Feedback"?
We miss you, Dan Schulz.
Learn CSS. | X/HTML Validator | CSS validator
Dynamic Site Solutions
Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.


Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.
In that case, maybe it's better to remove the links altogether? Since they don't work anyway, and won't work for the foreseeable future.
Bookmarks