Hyperlink troubles

Please support our Site Layout and Usability advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jun 2006
Posts: 41
Reputation: ATS is an unknown quantity at this point 
Solved Threads: 1
ATS ATS is offline Offline
Light Poster

Hyperlink troubles

 
0
  #1
Sep 12th, 2006
For some reason when I insert a hyperlink in Dreamweaver MX and upload the page it does not work. The link should take me to my friends site, but when you click the link it tries to find my friends site inside of my site as if it were a page in my site. That causes it to go to "page cannot be displayed". Any thoughts on why it is doing this would greatly help me out.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 229
Reputation: DavidRyan is an unknown quantity at this point 
Solved Threads: 11
DavidRyan's Avatar
DavidRyan DavidRyan is offline Offline
Posting Whiz in Training

Re: Hyperlink troubles

 
0
  #2
Sep 13th, 2006
Originally Posted by ATS View Post
... when you click the link it tries to find my friends site inside of my site...
That is how I understand link to work, when you click on them they find the destination and display it.

Originally Posted by ATS View Post
as if it were a page in my site.
Or did you mean it tries to open the destination (your friend's site) in a frame on your web page?

Originally Posted by ATS View Post
That causes it to go to "page cannot be displayed". Any thoughts on why it is doing this would greatly help me out.
We would probably have to see your <a href....> tag, but the most likely cause would be that you have it pointing as a relative reference, rather than an absolute reference.
Please anyone, correct me if I am wrong. It is the best way for me to learn.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 126
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Hyperlink troubles

 
0
  #3
Sep 13th, 2006
Dreamweaver defaults to using relative URLs, so that is probably the problem.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 41
Reputation: ATS is an unknown quantity at this point 
Solved Threads: 1
ATS ATS is offline Offline
Light Poster

Re: Hyperlink troubles

 
0
  #4
Sep 14th, 2006
How do I change it from a relative URL?
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 229
Reputation: DavidRyan is an unknown quantity at this point 
Solved Threads: 11
DavidRyan's Avatar
DavidRyan DavidRyan is offline Offline
Posting Whiz in Training

Re: Hyperlink troubles

 
0
  #5
Sep 14th, 2006
The second hit on googling:
how to change a relative url into an absolute url
Was here.
Please anyone, correct me if I am wrong. It is the best way for me to learn.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Hyperlink troubles

 
0
  #6
Sep 14th, 2006
Originally Posted by DavidRyan View Post
The second hit on googling:
how to change a relative url into an absolute url
Was here.

Oh, for Pete's sake...

instead of
<a href="page.htm">relative link to page</a>

you would use
<a href="http://www.yoursite.com/page.htm">absolute link to page</a>
Last edited by FC Jamison; Sep 14th, 2006 at 2:27 am.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 229
Reputation: DavidRyan is an unknown quantity at this point 
Solved Threads: 11
DavidRyan's Avatar
DavidRyan DavidRyan is offline Offline
Posting Whiz in Training

Re: Hyperlink troubles

 
0
  #7
Sep 14th, 2006
I figured it would help if he read the article as well.
Please anyone, correct me if I am wrong. It is the best way for me to learn.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Site Layout and Usability Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC