473,394 Members | 1,750 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,394 software developers and data experts.

Tag <Object> and Applet...

Hi all!

Why doesn't the following code load my applet under WinXP with Internet Explorer 6?
<SCRIPT language="javascript" type="text/javascript">

<!--
if (getBrowser()=="IE"){
document.write("<OBJECT standby='Wait maximum 25 seconds to load........' classid='clsid:8AD9C840-044E- 11D1-B3E9-00805F499D93' WIDTH = '600' HEIGHT = '400' CODEBASE='../Applet/' name='GeoMap'>"); if (false) document.write("</OBJECT>");}
else {
document.write("<OBJECT standby='Wait maximum 25 seconds to load........' classid='java:GeoMap.class'
WIDTH = '600' HEIGHT = '400'
CODEBASE='../Applet/' name='GeoMap'>");
}
document.write("<PARAM NAME ='ARCHIVE' VALUE = 'GeoMapJar.zip' > </PARAM>");
document.write("<PARAM NAME ='codebase' VALUE = '../Applet/' > </PARAM>");
document.write("<PARAM NAME ='code' VALUE = 'GeoMap.class' > </PARAM>");
...
document.write("</OBJECT>");

-->
</SCRIPT>
It should loads two differents tags. It depends on the Client Browser. Everything goes ok under win2000 and win98, but under WinXP it goes wrong! Why?
What's the standard <OBJECT> expression to load Applets with JARs archive? What is the best way to load an Applet to make it 100% compatible with all browsers and all Operating Systems?

Thank You a LOT!!
Massimiliano from Rome, ITALY
Jul 23 '05 #1
1 1784
On Fri, 14 May 2004 14:35:16 GMT, M. Magistri wrote:
What's the standard <OBJECT> expression to
load Applets with JARs archive? What is the best
way to load an Applet to make it 100% compatible
with all browsers and all Operating Systems?


There is no guaranteed way, for the
_best_ way, I prepared the JavaVersionApplet
<http://www.physci.org/codes/jre.jsp>

Toss the <object><embed> tags and use simple
<applet> tags (in HTML '4.01 Transitional',
naturally).

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #2

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

Similar topics

1
by: Tim Jowers | last post by:
We are using an object from a vendor into which we write data from several web pages. So far IE always seems to create a new copy of the object for each web page. Is there a way to make it behave...
3
by: JayBrahms | last post by:
Hi there. OK, this is a little bit complicated. I would live to find a different way to do this, but evidentially I am not able to open a Text-File in JAVASCRIPT and fill an Array with the...
0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
23
by: Andrew Thompson | last post by:
This is intended to fix a long standing (cough)Java(cough) problem with which I'm sure some of you will be familiar. Sun recommends using the <OBJECT>/<EMBED> elements to cater for Java...
6
by: Christopher Benson-Manica | last post by:
(I posted this as a reply to my thread about iframes, but I think it may get mostly ignored there.) http://ataru.gomen.org/files/test.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
3
by: Jacob | last post by:
Hi. How can I reload content in an <object>? Thanks, Jacob
4
by: BibhuAshish | last post by:
Hi, I want to deploy one applet in html page. for that i have written my code inside <object>. This code is working in Internet Explorer. My code for internet explorer is <OBJECT...
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...

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.