Link Details

Link 95550 thumbnail
User 209639 avatar

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!
  • 6
  • 8
  • 1795
  • 697

Comments

Add your comment
User 256617 avatar

dragmire replied ago:

0 votes Vote down Vote up Reply

Just because you can do it doesn't mean you should.

Please don't do this, programming world.

User 281687 avatar

paul_houle replied ago:

0 votes Vote down Vote up Reply

bad ad placement too

User 281855 avatar

codewatcher replied ago:

0 votes Vote down Vote up Reply

Sorry to say you but this tip in not useful as it is not going to be used by any web deveopers...

User 187417 avatar

sproketboy replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.