Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Loading external pages internally.
May 8, 2007, 5:35 pm
rate this thread
wondering if anybody could tell me how to load pages dynamicly within
Here is the site: http://regiesrule.info , i would like to have the
tabs on the top instead of opening up something inside the same html
document I would like to be able to load an external webpage in it.
Also if that is impossible then i would like to know why the current
setup does not work in IE7?
Thanks so much in advance,
Re: Loading external pages internally.
As a starter, don't load pages into a <div>, load them into an
There's a technique called AJAX that is increasingly popular. It loads
lets you manipulate it. You could then save such content (or part of
it) into a <div>.
However AJAX only works with XML, not with HTML. The XmlHttpRequest
and similar objects only load well-formed XML (which might be XHTML)
and not non-XML HTML. If you're working with this, then you still
need to use an <iframe> (which can be invisible) as a dynamic load
container and then you can manipulate its contents. This could
include writing that content into a <div>.