473,651 Members | 2,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
_____ _____ _____ _____
/____ /____/ /____/ /____ ar******@yahoo. com
_____/ / / / _____/ http://www.arifsaha.com/
Jul 20 '05 #1
2 3650
On Mon, 13 Oct 2003 11:13:33 -0400, S P Arif Sahari Wibowo
<ar******@yahoo .com> wrote:
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.


<object
data="http://webstandards.me etup.com/frame/cumulative.jsp? css=/inc/frame.css&amp;b reak=1"
type="text/html"></object>

And define a height/width for the object box in your CSS. See my home
page for an example.
Bill Mason
Accessible Internet
http://www.accessibleinter.net/
Jul 20 '05 #2
> 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.
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1758
by: Christopher Benson-Manica | last post by:
In some old Javascript we have, we try to determine whether the client is IE or Netscape (assume for the purposes of this question that the question can be resolved satisfactorily) and tailor the script to it: var myOpen=open(url, 'subWin', 'width=600, height=400,*A*resizable=1,scrollbars=1' ); if ( myOpen && !myOpen.closed ) { myOpen.focus(); } *B*
7
2196
by: Brian Genisio | last post by:
Hi all, Does anyone know of a way in IE to determine the prototype name of an object? For instance, in Mozilla, I can say: junk = document.getElementById("myID"); alert(junk.toString());
3
2407
by: Stan Brown | last post by:
Standard advice -- even given here recently -- for hiding CSS from MSIE 4.x is to enclose the styles in @media { ... }. The same advice is given at . Unfortunately, it doesn't work with MSIE 4.72 (Win 98). That version quite happily reads the stylesheets and then mangles the presentation. It's really horrible -- even on a simple page like http://www.acad.sunytccc.edu/instruct/sbrown/ (The college name and address should be on two lines...
6
5244
by: Jon Davis | last post by:
I recently learned how to do an <OBJECT> alternative to <IFRAME> in current browsers using: <object id="extendedhtml" type="text/html" data="otherpage.html" width="250" height="400"></object> My question is how do I access the document DOM of this object in Javascript? For example, "alert(extendedhtml.innerHTML);" doesn't work and produces an unknown error. I'd like to both read and write to the document's body element's innerHTML...
6
3451
by: Papa.Legba.666 | last post by:
I decided to validate each page of my site. Did the front page, decdided to add the w3c validated logo and it shows up in FireFox, but not in MSIE. In FireFox, the page source shows <a href="http://validator.w3.org/check?uri=referer"> <img border="0" src="http://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0!" height="31" width="88"></a>
0
2125
by: Roman | last post by:
I'm trying to create the form which would allow data entry to the Client table, as well as modification and deletion of existing data rows. For some reason the DataGrid part of functionality stops working when I include data entry fields to the form: I click on Delete or Edit inside of DataGrid and get this error: "Error: Object doesn't support this property or method" If I remove data entry fields from the form - DataGrid allows to...
26
5664
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized several parts of the DOM, but this does not include the window object. Thank you
7
5962
by: Michael Ulrich | last post by:
Hi all, can anybody help with this HTML4 problem, please: <OBJECT type="image/jpeg" data="Sample.jpg" width=300
1
1528
by: phil-news-nospam | last post by:
If I insert some object with a style property of float:left; or similar, such as an image (but not necessarily only an image), normally text will flow around that object. But in certain cases, I want the text to skip beyond that object. I tried <P> but that was no good; the new paragraph was still beside the box. How can I skip down to a line below the box? Yes, I know that would leave a bunch of white space (depending on what I hadn't...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8695
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8576
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.