Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: href  (Read 3775 times)

0 Members and 1 Guest are viewing this topic.

rejto

  • Guest
href
« on: February 08, 2005, 10:47:05 AM »
Helllo,

The following href works fine for my Netxscape win2k browser:

<a herf="file://C;cardat,html">

However, the following href does not work at all for me:

<a href="file://C:hyperphysics.phys-astr.edu/cardat.html">

Any suggestions concerning my problem, would be most appreciated.

-peter rejto.

Corrosive

  • Guest
Re: href
« Reply #1 on: February 08, 2005, 11:52:12 AM »
Perhaps because you've made more typo's than most of the developed world combined into the one link. Or maybe it's because you are trying to link to a file on you're own hard drive, which no-one else on the net has any access to.

rejto

  • Guest
Re: href
« Reply #2 on: February 10, 2005, 12:48:23 AM »
Dear Corrosive:

Yes, I do try to connect to a file on my own harddrive.
I have no problem doing this with other files or directories.  In fact,
if I omit the "... .gsu" string  form my directory path  it
also works.  More specifically, if I move the cardat.html file
to a directory above the "....  .gsu"  directory, it also works.

In other words, my problem is that my Netscape does not recognize the  "... .gsu" string  as a valid directory.

Is it possible that Netscape does not recognize a valid Win/DOS directory ?  I would love to know the answer.


Loking forward to hearing from you again.

Thanks,

-peter rejto.


SKy

  • Guest
Re: href
« Reply #3 on: March 08, 2005, 06:01:14 AM »
Hi rejto,

r u coding in html? i thot hyperlink should be <a href="index.html">

when u put the
file://C:.........
your link will reference c: drive for the html file, which is not correct if u move ur html file from it's original location.

do u know about absoluate links and relative links?


Cheers