#2 Apr 22, 2008 16:02
I thought about a plugin for this. The place I get stopped cold is how to make the link to a specific bit inside the post knowing that it has to be an absolute URL else the base href tag will take over and the link will be relative to your skins/yourskin/ folder.
I'm sure it can be done with something like a "regenerate_url_even_though_it_hasnt_been_created_yet()" function but wow that stuff scares me so I go off and do something mindlessly simple ;)
Hey wait a minute adding ONLY the <a name="whatever"> bit shouldn't be hard at all. Possibly just turn off one of the security checker features? Alternatively it could be to hack ... whatever file it is that says what attribute is allowed for which tags (sorry but I don't know where all that stuff moved to lately). The hardship in my mind is having a toolbar that would both make the anchor AND a hyperlink to the anchor. So like you could have an index at the top of the post that skipped to each section within a post.
I shall have to test this and see if I'm even close.