Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Anchors on a Internal Web (Offline Purposes)

Status
Not open for further replies.

LiveWired

Programmer
Jul 3, 2001
2
US
I work for the IT department in a Florida Collage and one of our professors are going on a recuitment trip or something of another, anyways he wants us to put his web page on cd so that he can desplay it on his trip. On the problem is that his Web has about 30 - 60 pages with hundreds of anchors all over the place. When the page is online it works fine, but when the page is Offline I get an windows error. the reffence tags are syntax (XXX.html#XXX) correctly. I was hoping someone knows how to get around this. I have until August to complete this project so I can really use some help.
 
Hi there,

Are the links using absolute ( or relative (index.html#2) linking? It's probably something you've already checked, but throught I'd toss the idea in anyway....

What's the error message coming up? Usually if an anchor is not found in a page, the browser just shows the page anyway. If an error is being returned, it would more likely be that the browser can't find the file at all.

Have a look at how the URLs are being formed for the links: are they pointing to the right drive/directory, is there anything strange about them ;)

Also, what browser will be professor be using to view these?
 
You might consider using Dreamweavers link checking utility (Site Manager) to help you out. Or any such utility for that matter. Get something that will chase down every anchor tag it finds, check for the target and report it/change it.

If this were a small site, I would say do it by hand, but for something that size, I would automate it.

The Site Manager will update links automatically. For example, if they are all absolute and you change all the links on one page to relative, it will automatically change all references to those links to be relative as well. Very handy. "It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top