Mate,
use Wordpress and it does the job done all!
I gave you a PHP snippet you can use to do this...just change the HTML to how you desire.Something like this
[image]
i'm wore out and i really cannot think of how to do this, i've seen stuff like this before and i cannot for the life of me think where.
<?
$previousLocation = $_SERVER['HTTP_REFERER'];
?>
<a href="<?=$previousLocation;?>">Go back.</a>
I gave you a PHP snippet you can use to do this...just change the HTML to how you desire.
Code:<? $previousLocation = $_SERVER['HTTP_REFERER']; ?> <a href="<?=$previousLocation;?>">Go back.</a>
Just change "Go back." to whatever you want: different text, an image, etc.
Oh! Sorry man. I know what you mean now. Take a look at this page about framesets:This shows the go back on my website, i need it to be on the website that doesn't belong to me like in the image. i know it can be done
<html>
<head>
<title>My Title</title>
</head>
<frameset rows="100, *">
<frame src="go-back-bar.html">
<frame src="http://www.external-site.com">
</frameset>
</html>
Oh! Sorry man. I know what you mean now. Take a look at this page about framesets:
http://www.htmlcodetutorial.com/frames/frames.html
Here's the code you will need:
HTML:<html> <head> <title>My Title</title> </head> <frameset rows="100, *"> <frame src="go-back-bar.html"> <frame src="http://www.external-site.com"> </frameset> </html>
Essentially the file is still hosted on your domain, except it'll display the nav bar with the "Go Back" button in the first frame, and the rest of the page will display the external page.
rows="100, *"
means the top frame (your go back navigation) is 100 pixels high, and the seconds frame takes up the rest of the page. These values can be edited.
go-back-bar.html
is your go back navigation button. You should actually be able to use that PHP code I gave you and name the file go-back.php or something and then use that as the frame source.
Go here:
http://www.jmarshall.com/easy/html/testbed.html
and enter that HTML code I just gave you. You will see the GENERAL outcome and how it relates to the screenshot you posted. You will have to go through that tutorial I linked you to about framesets to learn how to removed borders, stop scrolling, etc.
iframes will work too, but for his application, frames work better, even if they are old school. Frames are much more browser-compatible when dealing with whole screen frames (whereas iframes require crazy ass CSS fixes, especially for IE), and are made for just what he wants to do.Iframe can do that also... But artizhay is all over it...