DZone depends on you. Login and vote now.
By Steelrat
via hiveminds.co.uk
Published: Jul 18 2008 / 12:27
Just about every one has seen the object tag when embedding flash animation into a HTML page. Did you know that the tag can be used to include other types of objects as well? Like another HTML file? Without server-side scripting or iframes! Take a look!
Comments
dragmire replied ago:
Just because you can do it doesn't mean you should.
Please don't do this, programming world.
paul_houle replied ago:
bad ad placement too
codewatcher replied ago:
Sorry to say you but this tip in not useful as it is not going to be used by any web deveopers...
sproketboy replied ago:
A better way is to put the html in an html file and load it from a hidden iframe. In the iframe's onload replace the parent document div with the iframe document innerHTML.
Voters For This Link (6)
Voters Against This Link (8)