Page 1 of 1
Hyperlink Manager
#1
Posted 22 April 2009 - 08:26 PM
#2
Posted 22 April 2009 - 09:26 PM
To create hyperlink in HTML you use <A> tag (called anchor tag)
The general syntax is :
<a href=URL>DISPLAY TEXT</a>
where URL is the relative or full path of the file or address being linked. And DISPLAY TEXT is whatever is displayed on your html page in blue color and underline.
For example, in the following link
Google
URL = http://www.google.com and DISPLAY TEXT = Google
URL can be relative or full path to the file. If the file exists in the same folder as your HTML file, then it can be simply the name of the file like:
<a href="myfile.pdf">Download</a>
If file exists in some other folder you can use a relative path like:
<a href="/downloads/myfile.pdf">Download</a>
Or a full path complete with domain name like:
<a href="http://www.google.com/downloads/myfile.pdf">Download</a>
You can find more information here: http://www.w3schools.com/HTML/html_links.asp
The general syntax is :
<a href=URL>DISPLAY TEXT</a>
where URL is the relative or full path of the file or address being linked. And DISPLAY TEXT is whatever is displayed on your html page in blue color and underline.
For example, in the following link
URL = http://www.google.com and DISPLAY TEXT = Google
URL can be relative or full path to the file. If the file exists in the same folder as your HTML file, then it can be simply the name of the file like:
<a href="myfile.pdf">Download</a>
If file exists in some other folder you can use a relative path like:
<a href="/downloads/myfile.pdf">Download</a>
Or a full path complete with domain name like:
<a href="http://www.google.com/downloads/myfile.pdf">Download</a>
You can find more information here: http://www.w3schools.com/HTML/html_links.asp
#3
Posted 23 April 2009 - 10:35 AM
In hyperlink, the url starts with - file://
Does it work the same when I have to start the URL with file://?
Does it work the same when I have to start the URL with file://?
#4
Posted 23 April 2009 - 11:54 AM
file:// is used for files stored on local computer or local network. This does not work in world wide web.
the general syntax is:
<a href="file://HOST/URL>Download</a>
where HOST is domain name of the computer on the network. You can skip this if the file is on the local computer itself
On Windows drive : is replaced by | and is prefixed by an extra slash /
URL is full path of the file name
For example,
<a href="file:///c|/autoexec.bat">This is on local computer</a>
If you are getting this file:// in your hyperlinks, I guess you are designing webpage on your local computer. You need to change the url to reflect the relative path of the files on the website.
the general syntax is:
<a href="file://HOST/URL>Download</a>
where HOST is domain name of the computer on the network. You can skip this if the file is on the local computer itself
On Windows drive : is replaced by | and is prefixed by an extra slash /
URL is full path of the file name
For example,
<a href="file:///c|/autoexec.bat">This is on local computer</a>
If you are getting this file:// in your hyperlinks, I guess you are designing webpage on your local computer. You need to change the url to reflect the relative path of the files on the website.
This post has been edited by Romeo29: 23 April 2009 - 11:55 AM
#5
Posted 23 April 2009 - 12:56 PM
It's not working. I'm getting a "page not found" error message.
Here is a picture of the dialog box that I'm working in
Here is a picture of the dialog box that I'm working in
#6
Posted 23 April 2009 - 04:39 PM
So you are using some kind of CMS for putting a PDF link.
You need to first upload files using Resource Manager and then use Document Manager to link them.
http://www.middlebury.edu/academics/lis/he...esourcemanager/
http://www.middlebury.edu/academics/lis/he...xt/document.htm
You need to first upload files using Resource Manager and then use Document Manager to link them.
http://www.middlebury.edu/academics/lis/he...esourcemanager/
http://www.middlebury.edu/academics/lis/he...xt/document.htm
#7
Posted 28 April 2009 - 03:35 PM
Thanks. I will try this, then I'lll let you know how it works out
#9
Posted 04 May 2009 - 12:15 PM
You're welcome Lena
This post has been edited by Romeo29: 04 May 2009 - 12:15 PM
Share this topic:
Page 1 of 1

Help


Back to top









