473,383 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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 3640
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.meetup.com/frame/cumulative.jsp?css=/inc/frame.css&amp;break=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
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...
7
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
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...
6
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> ...
6
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...
0
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...
26
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...
7
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
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.