I'm looking for a redirect frame I can use on my site for outbound links. I want something I can customize to include ad banners. A perfect example would be the one used by http://cssremix.com If you click on any of the sites you will notice CSSREMIX places a bar at the top which you can removed by clicking the X. That is what I'm looking for. Is there any script for that?
Im no expert, but here is how I would do it: http://www.all4sides.com/red.php <html> <head> <title>Hello</title> </head> <body> <div style="width:100%; position:fixed; height:60px; background-color:red; z-index:1;"></div> <?php include("http://cssremix.com/"); ?> <?php include("http://cssremix.com/"); ?> </body> </html> Code (markup): No need to add two includes, just to demonstrate how banner is fixed.
That is exactly what I'm looking for Jeremy. About the include part is it possible to set it up so it automatically includes any link that is clicked on the site? I want to use this on a MyBB forum so any outgoing link has that banner or frame around it.
Do you mean something like this? This isnt a good method I dont think, but just for the sake of a demonstration, what I am doing is feeding individual parts of the url to the page which it will then include, so I want to include all4sides.com/index.html, this is the URL I will goto: http://www.all4sides.com/red.php?pa...=com&secondpagenamev=index&secondsuffixv=html <html> <head> <title>Hello</title> </head> <body> <div style="width:100%; position:fixed; height:60px; background-color:red; z-index:1;"></div> <?php $suffix = $_GET['suffixv']; $pagename = $_GET['pagenamev']; $secondpagename = $_GET['secondpagenamev']; $secondsuffix = $_GET['secondsuffixv']; include("http://".$pagename.".".$suffix."/".$secondpagename.".".$secondsuffix); ?> </body> </html> Code (markup): Like I said, I am not sure whether using this method is such a good idea in the long run, but is this basically sort of what you want?
Did you use Google? Guess not... http://www.hotscripts.com/category/php/scripts-programs/redirection/frame-based/