HighDots Forums  

ARG! Anchors not working locally?

alt.html alt.html


Discuss ARG! Anchors not working locally? in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Heather
 
Posts: n/a

Default ARG! Anchors not working locally? - 11-04-2003 , 02:21 PM






Hi all,

I'm working on a site on a CD, standard html stuff, with anchors in a few of
the documents. You know, <a name="anchorname"></a> in the doc, and <a
href="page.html#anchorname">Link</a> in the index.

This all works great on a server on the 'net, but you stick it on a CD and
try to browse that locally the way you would any old site, and the anchors
don't work. Does anyone know why this is or know a workaround for it? It's
not making much sense to me; it's open in IE the same as any other site, the
links should still work. Right?

Anyway, any help would be very appreciated! To email me, be sure to remove
the *nospam* from the reply address.

Heather



Reply With Quote
  #2  
Old   
Michael Weber
 
Posts: n/a

Default Re: ARG! Anchors not working locally? - 11-04-2003 , 03:46 PM






Hi Heather,

[Tue, 4 Nov 2003 14:21:23 -0500/Heather]
Quote:
Hi all,

I'm working on a site on a CD, standard html stuff, with anchors in a few of
the documents. You know, <a name="anchorname"></a> in the doc, and <a
href="page.html#anchorname">Link</a> in the index.

This all works great on a server on the 'net, but you stick it on a CD and
try to browse that locally the way you would any old site, and the anchors
don't work. Does anyone know why this is or know a workaround for it? It's
not making much sense to me; it's open in IE the same as any other site, the
links should still work. Right?
Have anything inside the anchor. EG ...>&nbsp;</a>.


regs
michael


Reply With Quote
  #3  
Old   
Heather
 
Posts: n/a

Default Re: ARG! Anchors not working locally? - 11-04-2003 , 05:39 PM




"Michael Weber" <webster (AT) kaffeeschluerfer (DOT) com> wrote

Quote:
Hi Heather,



Have anything inside the anchor. EG ...>&nbsp;</a>.


regs
michael
Hey Michael,

Nope, nothing. Here's an example of one straight from the code:

In the target doc:

<p class="subtitle"><a name="13"></a>Title Goes Here

In the index doc:

<a href="center3.shtml#13">Centre Title</a>


Like I said, works great uploaded to a server, just not on a cd or locally.
Trouble is, this has to work on a cd.

I hate it when I don't know why things aren't working.

Heather




Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: ARG! Anchors not working locally? - 11-04-2003 , 05:43 PM



"Heather" <heathernet-NOSPAM- (AT) hotmail (DOT) com> wrote:

Quote:
I'm working on a site on a CD,
I guess you need to make your CD internet accessible then - or maybe explain
exactly what you have been doing. Let me guess... some <base> tags perhaps?
Or case confusion in filenames?

You could at least have posted the URL of the site that works on a server,
and of a page that fails on a CD. Maybe upload a copy of the CD version too.

Quote:
To email me, be sure to
remove the *nospam* from the reply address.
O sancta simplicitas.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html




Reply With Quote
  #5  
Old   
Christopher R
 
Posts: n/a

Default Re: ARG! Anchors not working locally? - 11-10-2003 , 02:13 PM




"Heather" <heathernet-NOSPAM- (AT) hotmail (DOT) com> wrote

Quote:
Hi all,

I'm working on a site on a CD, standard html stuff, with anchors in a few
of
the documents. You know, <a name="anchorname"></a> in the doc, and <a
href="page.html#anchorname">Link</a> in the index.


Do you have internet access when you are working on your local machine? If
yes, this would suggest you look at your folder structure.

On the local machine are all your files in the same folder? Do a test with
just a couple of files in the same folder and see if you are still having
the same problem.

Hope this helps.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.