HighDots Forums  

Object tag in MSIE: to include HTML / skip it altogether?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Object tag in MSIE: to include HTML / skip it altogether? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
S P Arif Sahari Wibowo
 
Posts: n/a

Default Object tag in MSIE: to include HTML / skip it altogether? - 10-13-2003 , 11:13 AM






Hi!

Is there anyway to get object tag in MSIE to include a page from other URI
(as in HTML4 standard)?
That is, similar to what iframe tag do.

If it is not possible, is there anyway to set the object tag so MSIE skip
/ ignore object tag altogether and instead render the content of the
object structure (between opening and closing tag)?

Thanks!

--
Stephan Paul Arif Sahari Wibowo
_____ _____ _____ _____
/____ /____/ /____/ /____ arifsaha (AT) yahoo (DOT) com
_____/ / / / _____/ http://www.arifsaha.com/

Reply With Quote
  #2  
Old   
Graham J
 
Posts: n/a

Default Re: Object tag in MSIE: to include HTML / skip it altogether? - 10-14-2003 , 04:45 AM






Quote:
Is there anyway to get object tag in MSIE to include a page from other URI
(as in HTML4 standard)?
That is, similar to what iframe tag do.
Yes you can, and another response tells you how, but 'your mileage may
vary'. You may find it works fine for what you want it to do across a
variety of browsers but you may also find it a bit quirky. For example I
found IE6 behaved itself when loading an XHTML document into the object but
not with an HTML 4.01 document. I can't remember if this was a failing to
honour the margins I set for it or point blank refusing to load the page in
(possibly the latter) but whatever it was it was a stopper so I stuck with
iframes.

There is also an issue over how links in the included page would be
interpreted if they are targetted. For example, in an iframe you could use
the "_top" target and the link would break out of all the frames in the
enclosing window. Several browsers would do the same thing with the object.
However at least one, and I can't remember which, will treat the object as a
completely separate canvas and "_top" would be confined to this object.
This latter behaviour is arguably 'correct' according to the somewhat vague
specs but it means that an object is definitely not a one to one replacement
for an iframe.

G.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.