Windows BBS The Place for Microsoft Windows Support! Windows, Support, Help Site

Go Back   Windows BBS > Other > Other Software

Other Software Post questions here about stuff not directly related to a specific OS (Applications, Games).

Register your FREE account to unlock additional features at WindowsBBS.com
Register
Welcome to WindowsBBS.com
Microsoft Windows Support

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.


Discussion Forums
Operating Systems
Windows 7 Windows 7
Windows Vista Windows Vista
Windows XP Windows XP
Windows Server System Windows Server System
Windows 2000 Windows 2000
Windows 95/98/Me/NT Windows 95/98/Me/NT
Internet & Networking
Networking
Internet Explorer
Microsoft Mail
Firefox, Thunderbird
      & SeaMonkey

General Internet
Security
General Security
Malware and Virus
     Removal

Other
Other Software
Hardware
Test Posts
Community
Introductions
General Discussions
Comments
      & Suggestions

News @ WindowsBBS

Forum Sponsor
 Image

Reply
 
LinkBack Thread Tools
Old 21st January 2007   #1
Geek Member
 
Profile:
Join Date: Jun 2005
Location: Scotland
Posts: 576
Computer Experience:
Intermediate-ish
McTavish Reputation Level


Linking to “Named Anchor” in another web page?

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.

McTavish is offline   Reply With Quote
Didn't find the information you thought to find?
Check out these Similar Threads
Old 21st January 2007   #2
WindowsBBS Team Member
 
TonyT's Avatar
 
Profile:
Join Date: Jan 2002
Location: Fairfax, VA
Posts: 4,798
Computer Experience:
echo $experienced;
TonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation Level


page2.html has a named anchor like so:
<h3><a name="section3">Section 3</a></h3>

page1.html has a link like so:
Have a look at <a href="page2.html#section3" target="_top">Section 3</a> if you have time.

To link to a named anchor you must append the url with the "#" symbol followed by the CASE SENSITIVE anchor name. Do NOT use spaces in names.

TonyT is offline   Reply With Quote
Old 22nd January 2007   #3
Geek Member
 
Profile:
Join Date: Jun 2005
Location: Scotland
Posts: 576
Computer Experience:
Intermediate-ish
McTavish Reputation Level


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.
McTavish is offline   Reply With Quote
Old 22nd January 2007   #4
WindowsBBS Team Member
 
TonyT's Avatar
 
Profile:
Join Date: Jan 2002
Location: Fairfax, VA
Posts: 4,798
Computer Experience:
echo $experienced;
TonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation Level


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.

Have a look at my test that duplicates yours:
http://members.cox.net/tonyt/target/page1.html

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.


Last edited by TonyT; 22nd January 2007 at 03:02.
TonyT is offline   Reply With Quote
Old 22nd January 2007   #5
Geek Member
 
Profile:
Join Date: Jun 2005
Location: Scotland
Posts: 576
Computer Experience:
Intermediate-ish
McTavish Reputation Level


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.

How about direct from here? This does not work for me either.
http://www.multibooters.co.uk/linktest.html#howtodoit

McTavish is offline   Reply With Quote
Old 24th January 2007   #6
WindowsBBS Team Member
 
TonyT's Avatar
 
Profile:
Join Date: Jan 2002
Location: Fairfax, VA
Posts: 4,798
Computer Experience:
echo $experienced;
TonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation Level


Bothe work in FF and in IE just fine! Definitely sounds like a browser issue.
TonyT is offline   Reply With Quote
Old 24th January 2007   #7
Geek Member
 
Profile:
Join Date: Jun 2005
Location: Scotland
Posts: 576
Computer Experience:
Intermediate-ish
McTavish Reputation Level


Thanks Tony, that's all I needed to know.
McTavish is offline   Reply With Quote
Old 24th January 2007   #8
WindowsBBS Team Member
 
TonyT's Avatar
 
Profile:
Join Date: Jan 2002
Location: Fairfax, VA
Posts: 4,798
Computer Experience:
echo $experienced;
TonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation Level


just curious, what size monitor & screen resolution are you using?
TonyT is offline   Reply With Quote
Old 24th January 2007   #9
Geek Member
 
Profile:
Join Date: Jun 2005
Location: Scotland
Posts: 576
Computer Experience:
Intermediate-ish
McTavish Reputation Level


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.

McTavish is offline   Reply With Quote
Old 25th January 2007   #10
WindowsBBS Team Member
 
TonyT's Avatar
 
Profile:
Join Date: Jan 2002
Location: Fairfax, VA
Posts: 4,798
Computer Experience:
echo $experienced;
TonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation Level


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.
Code:
taskkill /f /im explorer.exe
RD /S/q "%UserProfile%\Local Settings\Temporary Internet Files"
RD /S/q "%UserProfile%\Cookies"
RD /S/q "%UserProfile%\Local Settings\History"
RD /S/q "%UserProfile%\Recent"
RD /S/q  "%UserProfile%\Local Settings\Temp\"
MD "%UserProfile%\Local Settings\Temp\"
pause
start explorer.exe

TonyT is offline   Reply With Quote
Old 26th January 2007   #11
Geek Member
 
Profile:
Join Date: Jun 2005
Location: Scotland
Posts: 576
Computer Experience:
Intermediate-ish
McTavish Reputation Level


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.

McTavish is offline   Reply With Quote
Old 26th January 2007   #12
WindowsBBS Team Member
 
TonyT's Avatar
 
Profile:
Join Date: Jan 2002
Location: Fairfax, VA
Posts: 4,798
Computer Experience:
echo $experienced;
TonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation LevelTonyT Reputation Level


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.
TonyT is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open HTML doc embedded in Web page in IE6 Ham4592 Internet Explorer 2 1st December 2004 02:33
spyware loading in advanced search page of google web page Judy Malware and Virus Removal 16 8th October 2004 03:28
Certain Web sites not filling page width Mister B Internet Explorer 4 4th July 2004 04:15


All times are GMT +1. The time now is 09:13.






Advertisements do not imply our endorsement of the product or service advertised.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2002 - 2009 WindowsBBS.com. All rights reserved.
Terms of Use, Legal Information & Privacy Policy
[]