FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Help!!!

 


benjaminblunt
Hey I wanted to know if anyone knew any codes to make it so someone could view a website from another website with still keeping that website that is viewing the other website in the address bar and on the title bar also? Please help if you do!!!
loryl
An easy solution is to use frames or iframes (depending on how you want your site to look). By changing your target, you can change where you want the link to pop up.

You can try these two sites for tutorials:
frames: http://www.w3schools.com/html/html_frames.asp
iframes: http://www.yourhtmlsource.com/frames/inlineframes.html

However, keep in mind that "easy" doesn't necessarily mean "best". Frames (and iframes) are generally scorned by professional web designers because they make linking horrendously difficult. You can only link to parent frames (those are the bigger frames surrounding the child frames), which is usually the same page within a site. So the end result is that you can only link to the default page of a website. Frames also have a means of coming apart when they are collected by search engines. This is because search engines have a difficult time keeping track of both parent and child frames, so often, they'll only cache a child frame version, leaving the poor viewer wondering what happened to the rest of the site.
aningbo
may be u should try reading your post before u send. its difficult to understand.

anyway iframes are slow and slows down the browser speed too. why dont you try using include fucntion in php. though i haven't tried it on another website but it should work.gud luck
markosaurus
I get the impression that using frames is now frowned upon by the design wolrd as it limits the posibility of people who use alternative browsing technolgies from viewing your site.

www.w3schools.com

They may have a better way than frames.[/url]
Karrde
Yeah, frames limit the accessibility of pages, but so does javascript, and most people use that without regard these days.

Frames are the easiest way to achieve what you're after. You MIGHT be able to do it with a php include, but that's dependant on whether your server setup allows you to use a php include to grab a remote page.
rohan2kool
aningbo wrote:
may be u should try reading your post before u send. its difficult to understand.

anyway iframes are slow and slows down the browser speed too. why dont you try using include fucntion in php. though i haven't tried it on another website but it should work.gud luck


for third party pages, rather than using include, use file_get_contents()
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.