Let's say I want to embed http://www.festivals.com/culture/?eid=ptiz6%2bvReN0%3d into a web page on my site.
How do you do that?
How do you do that?
Originally posted by: Zontor
Not all browsers recognize iFrames.
Off the top of my head [easy to more difficult]:
1] Load it into a regular frame.
2] Load it into a container such as a DIV
3] Grab the page markup using Ajax [search google for objxmlhttp]
There are other ways but these should be a good starting point.
Realize that if someone doesn't want their page to be embedded there are things that can be done to make it harder...it is considered more polite to link rather than embed.
Originally posted by: hans007
Originally posted by: Zontor
Not all browsers recognize iFrames.
Off the top of my head [easy to more difficult]:
1] Load it into a regular frame.
2] Load it into a container such as a DIV
3] Grab the page markup using Ajax [search google for objxmlhttp]
There are other ways but these should be a good starting point.
Realize that if someone doesn't want their page to be embedded there are things that can be done to make it harder...it is considered more polite to link rather than embed.
wouldn't 2 & 3 basically have to go together.
ajax isnt some magical thing you'd have to write a script for ajax to call so some java script could throw the markup into a div or span.