Server folder location being added in front of external links in page!

dude_56013

Fully Optimized
Messages
4,262
I'm stumped, guys.

This is the first website that I've done where I've tried to actually separate each page into its own folder, so there was a learning curve as to how to link everything together. Well, I've got it all worked out internally, but now when I try to link to an external link, it's adding the server folder location in front of itHere's an example of the page I'm talking about.So, I want to link to LINK but instead it's auto-adding crap in front of it so that when you click it's trying to go to LINK which is obviously not what I want it to do! Argh. If you need me to upload the code, let me know, but I'm assuming you can just go and view the source.

Also, yes, I know the CSS for the links looks stupid..I haven't changed it yet. Trying to get it WORKING before I get to the looks. FML. This is what happens when you haven't coded a site for a while.

EDIT-LINKS REMOVED to prevent spam on the site.
 
Take the Quotation marks out of the external links (E.g Photobucket) and that should fix it. In other words;

PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">  <html>  <head> 	 	  <title> Photos - First Presbyterian Church of Blue Earth </title>    <link rel="SHORTCUT ICON" href="/favicon.ico">  <link rel=stylesheet href="/styles.css" type="text/css">  <SCRIPT language="JavaScript"> <!-- if (document.images) {   pic1= new Image(1000,86);    pic1.src="banner.jpg";    } //--> </SCRIPT> </head>   <body>  	  <div id="container">  	  		<div id="header"><img src="/banner.jpg" border="0" usemap="#Map">       <map name="Map"><area shape="rect" coords="850,60,928,85" href="/links/links.html" target="_self" alt="Links"><area shape="rect" coords="731,60,850,85" href="/contact/contact.html" target="_self" alt="Contact"><area shape="rect" coords="527,59,731,85" href="/announcements/current.html" target="_self" alt="Announcements"><area shape="rect" coords="416,59,527,85" href="/history/bio.html" target="_self" alt="History"><area shape="rect" coords="321,59,417,85" href="/events/calendar.html" target="_self" alt="Events"><area shape="rect" coords="199,59,321,85" href="/missions/missions.html" target="_self" alt="Missions">         <area shape="rect" coords="0,59,80,85" href="/index.html" target="_self" alt="Home">         <area shape="rect" coords="80,59,199,85" href="/ministry/sundayworship.html" target="_self" alt="Ministry">       </map> </div>  	 	<div id="subheader"> 	<span class="sh"><a href="/events/calendar/">Calendar</a> | <a href="/events/photos/">Photos</a></span></div>     	</span>  	<div id="content"> 		 	<span class="b">Photos</span>  	<p> 	 Photos are currently being archived in a Photobucket page for ease of use/access. The Photobucket page can be found <a href=http://s772.photobucket.com/home/pc1be/allalbums target=”_blank>here</a>. Simply click into the appropriate album. Please be patient as we work to upload photos from past events.   If you are looking for the 2010 Denver “Mile High” Mission Photos, they are located in a separate Photobucket account with photos from the other two church groups that joined us at DOOR. The photos can be found <a href=http://s902.photobucket.com/home/DenverDOORAug2010/allalbums target=”_blank”>here</a>. 	 If you have photos to be uploaded to the Photobucket account, please contact Zac by visiting the <a href=”/contact/contact.html“>contact page</a>. Please do NOT email him photos without first contacting him.    	</div>  	 	<div id="footer" class="footer">Copyright 2010. First Presbyterian Church of Blue Earth. <span class="r"><a href="http://www.zacscomputers.com" target="_blank" alt="Zac's Computer Sales">Designed by Zac's Computer Sales</a></span></div>   	 	 </body>  </html>
 
Have I told you I love you Neo?

I've been meaning to....

FML. I should have just come here right away. I learned to put quotes around EVERYTHING in high school programming (this was very basic and many many years ago). Bad habits stick. Thanks dude. I appreciate it!
 
Back
Top Bottom