I would like to know how to program this - When a user click on a URL link (i.e. Yahoo.com) from my site, it get redirected to Yahoo.com but on the top would still show my site's header or banner. I have seen some sites with such but didn't bookmark it. Any suggestions would really appreciated.
=> Im not a proff... but i think, that you can do this only with iframes. Greetimgs EDIT: Nobody likes iframes!!!! Nobody is google, yahoo etc...
iFrames would generally be a better idea. For the most part it should look something similar <!--- HEADER ---> <!--- IMGS EXTC... ---> <iframe src="http://www.theurl.com" frameborder="0" scrolling="auto" />
I just found an example of the header/banner I was referring to: http://www.phplinkdirectory.com/demo/ So this has to be coded with iframe??
Yes, this is done with iframe. Look into the code of this webiste: <iframe id="demoFrame" src="/demo/directory/" scrolling="auto" frameborder="0" width="100%" style="margin: 0; padding: 0;"></iframe> Code (markup): Header is on the top and all site is iframed.
Check this , you have there more ways to set a frame on your website , more positions , examples http://www.w3schools.com/HTML/html_frames.asp Code (markup):