Grabeorama Posted December 23, 2008 Share Posted December 23, 2008 I have a website with a few links on it.When you click one of the links it goes to the right page and all, but it won't show the address of that page in the search bar.Even if I have a link to another website it still doesn't appear!It's annoying because every time you refresh, it refreshes the address which is usually of the homepage!Is there something you have to put in the HTML to make it do that? Link to comment Share on other sites More sharing options...
Skemcin Posted December 23, 2008 Share Posted December 23, 2008 Example . . . . Link to comment Share on other sites More sharing options...
Ingolme Posted December 23, 2008 Share Posted December 23, 2008 Does this website have frames in it? Link to comment Share on other sites More sharing options...
Grabeorama Posted December 24, 2008 Author Share Posted December 24, 2008 No, it's just a normal html and php website. If you want here's the linkMy website Link to comment Share on other sites More sharing options...
Anman Posted December 24, 2008 Share Posted December 24, 2008 The entire page is a frame.Your page source code, whether you are aware or not is as follows: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head> <title>GrabeOrama Games </title> <META name="description" content="GrabeOrama Games, cork, ireland."><META name="keywords" content="games gamemaker maker goecities grabeorama ireland cork"></head><frameset rows="100%,*" border="0"> <frame src="http://karlgrabe.com/grabeorama/" frameborder="0" /> <frame frameborder="0" noresize /></frameset><!-- pageok --><!-- 05 --><!-- 7.9--></html> You cannot change this, as it is due to your host.However, if you set the links attribute target to "_blank" then they will open on a new page correctly.Or you could simply use http://karlgrabe.com/grabeorama/ Link to comment Share on other sites More sharing options...
Grabeorama Posted December 24, 2008 Author Share Posted December 24, 2008 O.k. thanksso put "http://karlgrabe.com/grabeorama/" in front of any links I have on the site? Link to comment Share on other sites More sharing options...
stifu Posted January 6, 2009 Share Posted January 6, 2009 O.k. thanksso put "http://karlgrabe.com/grabeorama/" in front of any links I have on the site?No, that won't help. They'll still be trapped in the frameset.If you add target="_top" to all of your links, though, they'll open as expected regardless of the presence of frames. That'll just override any frame, and always open the links on top (target="_parent" should work the same in your case, it selects the parent just above rather than the top-most parent).Example :<a href="test.html" target="_top">My link</a> However, this means that if you were on the framed site (http://www.grabeorama.com/), then the URL will change to "http://karlgrabe.com/grabeorama/..." after you click a link, thus rendering your domain name pretty much useless. Truthfully, your host sucks if they don't let you change that properly. If that's the case, I'd move the whole thing elsewhere. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.