Other SoftwarePost questions here about stuff not directly related to a specific OS (Applications, Games).
Mission Statement
WindowsBBS is an online community dedicated to easily accessible technical support for those using Microsoft operating systems and other Windows software.
Our goal is to become the leading resource for computer users that require assistance with their day-to-day computer usage, including full support for networking PC's, virus & malware removal, system upgrades and general support questions.
Hi guys, I may barking up the wrong tree here, but what I’m trying to do is have a link on one web page that takes you to a section or heading that is part way down in another page.
I can do this with the “Named Anchor” feature from inside the same page – that is I can get it to jump to a point further down the page no problem. If however I take that link and put it in another page, then it only takes you to the start of the page in question and won’t jump down to the point of the named anchor.
I’m using NVU and I can’t seem to figure this one out. Can anyone point me in the right direction? Is it something other than Named Anchors I should be looking at?
Thanks.
Didn't find the information you thought to find? Check out these Similar Threads
Hi Tony, thanks for the help. That does indeed work, but only when the new page opens in the same Window as the link. If I set the link to open in another Window, or if I right click on it and choose 'Open in New Window' then it just takes you to the top of the page. Is there a way to have it go to the anchor point no matter how you choose to open the page?
Last edited by McTavish; 22nd January 2007 at 12:32.
Your test page works just fine for me. It should work no matter the link target, _top, _new, _blank, _self.
The anchor does not appear at the top of my browser window because the page is not near long enough. A browser cannot display the target anchor beyond the length of a page, thus to get the anchor at the top of the browser window there needs to be a "full browser window" of content beneath an anchor.
If this does not work for you then clear the browser cache, you may be viewing cached files instead of newly edited files. Also, some web editors use the docs & settings/username/local settings/temp dir to store page views while editing. Delete the contents of that temp dir too.
I never tried NVU, I now do all my coding by hand in a text editor.
Well Tony, your test links are doing the same with me as my own are. The first two will go to the anchor point if reusing the link’s window, but opening in a new window does not work. The last two automatically open a new window, but again not to the anchor but just to the top of the page. I’ve tried everything you have suggested with no joy. Perhaps it’s something to do with my system but I can’t imagine what it could be.
Does the link on my test page http://www.multibooters.co.uk/thelink.html now automatically open a new window and take you to the anchor? If so I will be happy with that, because it must just be me.
Just a 17” CRT set at 1024 x 786
As luck would have it I don’t have anything else set up at the moment that I can try it on. It’s all packed away for a house move next week.
I also use 1024x768. I wanted to verify there were enough <br> tags in the test pages.
I am thinking that you could have a corrupted History dir. If you scroll halfway down any page and click any link, will your Back button take you back to that same point halfway down the page? If not, the History function is somehow corrupted.
This may help, delete the entire TIF, Cookies & History dirs along w/ all sub dirs and files. They will get recreated auto by Windows next time IE is launched. However, you cannot do this while explorer.exe (desktop) is running, so save the below as as cleanup.cmd and double click it.
History thing seems to be fine Tony as it does return to the middle of a page ok with the back button. Already tried clearing everything out but also tried your cmd and still no joy. It won’t be a glitch as I run clones of an unused install, so I basically go back to a fresh install every few weeks, and already tried a new clone.
XP is well stripped down and browsing privacy is my priority so no doubt it is something in my setup. Not bothered with trying to cure it now as I’m upgrading shortly. Thanks for your efforts.
Understood. When do the new install on the next system, periodically test that functionality of the browser while making system adjustments to determine what change affects that browser function.