I'm trying to make a link from one local document to another.
<p>
<a href="C:\Documents and Settings\********\Desktop">
This text</a> is a link to my other html document.
</p>
When i open this with firefox and i click on that link it gives me this message "Firefox doesn't know how to open this address, because the protocol(c) isn't associated with any program"
Now i went into the properties of for the document that it won't open and i put firefox as the program it should open with. Any help?
|
Go4Expert Founder
|
![]() |
| 22Oct2007,19:15 | #2 |
|
The address should be file :///C:/Documents and Settings/********/Desktop
|
|
Go4Expert Member
|
|
| 23Oct2007,17:51 | #3 |
|
I changed it to that and now it doesn't give me the error anymore but it gives me a page cannot be found page. I checked the filepath but i still get the error. Can you please post the exact code needed to do this, thank you in advance.
|
|
Go4Expert Founder
|
![]() |
| 23Oct2007,20:02 | #4 |
|
Exact code can be posted once I know your file path and html file path.
|
|
Go4Expert Member
|
|
| 24Oct2007,17:46 | #5 |
|
The filepath for the document is:
C:/Documents and Settings/*******/Desktop/showingwork2. The way i have it in the html document is: <p> <a href="C:/Documents and Settings/seautio/Desktop"> This text</a> is a link to my other html document. </p>. Please help me out. |
|
Go4Expert Founder
|
![]() |
| 24Oct2007,21:05 | #6 |
|
I need the file name path.
|
|
Go4Expert Member
|
|
| 26Oct2007,18:01 | #7 |
|
C:\Documents and Settings\*******\Desktop\showingwork2
Is the filenames path. |
|
Go4Expert Founder
|
![]() |
| 26Oct2007,18:46 | #8 |
|
It looks like a folder name but anyway here is the stuff.
HTML Code:
<p> <a href="file:///C:/Documents and Settings/shabbir/Desktop/filename.jpg"> This text</a> is a link to my other html document. </p>. |
|
Go4Expert Member
|
|
| 28Oct2007,13:17 | #9 |
|
If you put the two documents
|
|
Go4Expert Member
|
|
| 28Oct2007,13:20 | #10 |
|
STUPID COMPUTER!!!! KEEPS ADDING POSTS WHEN THERE NOT SPOSE TO!!!!
Sorry about the anger just it is annoying me. Delete above post please. If you put the two documents in the same file you can do this. Code:
<a href="Name of document">Text for link</a> Code:
<a href="Example.html">Click here for more info</a> |

