Closed
Bug 53390
Opened 25 years ago
Closed 25 years ago
MoleculeViewer applet example3 doesn't load all the applets on the page.
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Tracking
(Not tracked)
People
(Reporter: edburns, Assigned: edburns)
References
()
Details
Reproducible: always
Steps to reproduce:
1. Visit
http://java.sun.com/products/plugin/1.3/demos/applets/GraphLayout/example3.html
2. Note that only one applet shows up when there should be four.
I'm finding that nsPluginHostImpl::InstantiateEmbededPlugin() is only
called once when visiting this page.
Status: NEW → ASSIGNED
Comment 3•25 years ago
|
||
The url points to 'Graph LAyout' applet(which loads fine) rather than molecule
viewer..am i confusing here?Thnx.
Comment 4•25 years ago
|
||
In this example, each applet is specified as follows:
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 100 HEIGHT = 100
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-
win32.cab#Version=1,3,0,0">
<PARAM NAME = CODE VALUE = XYZApp.class >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="scriptable" VALUE="false">
<PARAM NAME = model VALUE =models/water.xyz>
<COMMENT>
<EMBED type="application/x-java-applet;version=1.3" CODE = XYZApp.class WIDTH
= 100 HEIGHT = 100 model = models/water.xyz scriptable=false
pluginspage="http://java.sun.com/products/plugin/1.3/plugin-
install.html"><NOEMBED></COMMENT>
alt="Your browser understands the <APPLET> tag but isn't running the
applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</NOEMBED></EMBED>
</OBJECT>
The issue is that <COMMENT> and </COMMENT> is used to comment out the EMBED tag
in IE. However, when Netscape 6 sees tags like this in a row, the parsing
engine is confused, and it only parses the first OBJECT/EMBED tag. There is a
workaround:
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 100 HEIGHT = 100
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-
win32.cab#Version=1,3,0,0">
<PARAM NAME = CODE VALUE = XYZApp.class >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="scriptable" VALUE="false">
<PARAM NAME = model VALUE =models/water.xyz>
<COMMENT>
<EMBED type="application/x-java-applet;version=1.3" CODE = XYZApp.class WIDTH
= 100 HEIGHT = 100 model = models/water.xyz scriptable=false
pluginspage="http://java.sun.com/products/plugin/1.3/plugin-
install.html"><NOEMBED>
alt="Your browser understands the <APPLET> tag but isn't running the
applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</NOEMBED></EMBED>
</COMMENT>
</OBJECT>
By putting the </COMMENT> tag in the proper form, Netscape 6 will parse the
tags properly and show all four applets.
Comment 5•25 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 7•23 years ago
|
||
mass duplicate verifications . For filtering purposes, pls use keywd
"massdupverification"
Status: RESOLVED → VERIFIED
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•