1) mikeyGroup: Members Posts: 3Joined: 26 Sep 2007Location: VancouverIP: 74.127.--.--
Posted:
Nice script, I am playing it to load an applet I like to hide, works great as it loads the applet and params in Firefox, Opera, but not IE.
<applet></applet> works <applet><param></applet> param is ignored
Thanks Michelle
2) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 202.137.--.--
Posted:
Hmm! Try an <object> tag in MSIE perhaps?
- Angus.
3) mikeyGroup: Members Posts: 3Joined: 26 Sep 2007Location: VancouverIP: 74.127.--.--
Posted:
Hi there Angus, thanks for your reply. I tried what you suggested. If I view the page that has the applet without going through your script; direct access. The applet loads via your method <object></object>. Now through the scripting I get the following message.
APPLET tag missing CODE parameter. java.lang.NullPointerException: name at sun.applet.AppletClassLoader.getResourceAsStream(Unknown Source) at sun.applet.AppletPanel$7.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
4) mikeyGroup: Members Posts: 3Joined: 26 Sep 2007Location: VancouverIP: 74.127.--.--
Posted:
here's a question: i was just reading through all the posts and was looking javascripting in the parent window to be called from the page being loaded, you ever heard of the applet script in the parent being called form another page as in the page being loaded. did that even make sense!
5) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 202.137.--.--
Posted:
To be honest this script is designed for loading text, and perhaps image. Loading script and applets is not really a wise move as the content is merged with the parent document, quite unlike an IFRAME.
I'd consider using an IFRAME instead perhaps as it's probably a better tool for the job!