hello,
I am pretty new to the whole applet world, but have a good
understanding of Java in general, so please forgive my newbieness.
Here is the situation that I am trying to work out:
1. homepage.html has javascript to launch a new window which launches
an applet:
[homepage.html]
<script language="javascript" type="text/javascript">
...
console = window.open("some.html","some", "some,options");
...
if (event) { console.document.Foo.methodX("blah"); }
...
</script>
[some.html]
...
<applet name="Foo" id="Foo" code="FooApplet.class"
codebase="C:\working"></applet>
...
2. some.html links to another page, another.html
and, here is the question:
(drum rrrrrrrrrrrrrrrrrrrrrrrolllllllllllllll...)
is it possible for 'another.html' to somehow control the applet (Foo)
invoked by 'some.html'? for example, is it possible for
'homepage.html' to pass the reference <console> to 'another.html'? or
is there some other way that 'another.html' would be able to see the
applet <Foo>?
Thank you for any input you have!
--francisco-- 2 1136
<mo******@gmail.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com... hello,
I am pretty new to the whole applet world, but have a good understanding of Java in general, so please forgive my newbieness.
Here is the situation that I am trying to work out:
1. homepage.html has javascript to launch a new window which launches an applet:
[homepage.html] <script language="javascript" type="text/javascript"> ... console = window.open("some.html","some", "some,options"); ... if (event) { console.document.Foo.methodX("blah"); } ... </script>
[some.html] ... <applet name="Foo" id="Foo" code="FooApplet.class" codebase="C:\working"></applet> ...
2. some.html links to another page, another.html
and, here is the question: (drum rrrrrrrrrrrrrrrrrrrrrrrolllllllllllllll...)
is it possible for 'another.html' to somehow control the applet (Foo) invoked by 'some.html'? for example, is it possible for 'homepage.html' to pass the reference <console> to 'another.html'? or is there some other way that 'another.html' would be able to see the applet <Foo>?
var appletVar = opener.document.getElementById('Foo');
--
Dag.
Dag,
thank you for your reply, i appreciate it. i have tried what you
suggested, but i can't seem to get it to work.... i get a
"opener.document.getElementById('Foo'); is null or ..." error. i have
looked online, and seent that it might be
window.opener.document.getElementById('Foo');, but i get the same
error. I will continue looking into this, but thought that you, or
maybe someone else, might have some more info for me. thanks again!
--francisco-- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Larry Martin |
last post by:
I am trying to run a Java Applet on my ascx page and am getting an IO
exception when IE6 tries to load the applet. It seems a lot of others are
getting the same problem but a search of the web did...
|
by: dxben |
last post by:
I am considering a situation where I have (n) number of form windows, each
with an instance of the Microsoft Web Browser Control (IE) on each form. In
each web browser control is an HTML page that...
|
by: google |
last post by:
I have a page that requires 2 controls to be loaded... one is a Java
Applet, the other is an ActiveX control.
The ActiveX control is dependent on the Java applet being loaded first.
Here is an...
|
by: DKM |
last post by:
Here are the source code files to a Java applet that utilizes
LiveConnect to communicate with Javascript, and the HTML file.
The thing works both in IE 6.0 and FireFox 1.4. but with some...
|
by: MarkMurphy |
last post by:
Is there a limitation in ASP.NET in this regard? From the aspx code
below, I can successfully call a Java applet. If I try the identical
thing in a user control ascx however, the control loads...
|
by: Spencer |
last post by:
I am using the WebBrowser control in .NET 2.0 but it is throwing an error
when trying to run a html page that has some JScript and an applet within it.
The page runs fine via a standard IE 6.0...
|
by: Baiju K.U. |
last post by:
Hello
I have a serious problem in using the Microsoft HTML Help control for
authoring help for my web site. In some machine the control works fine. But
in most of the machines it is not working....
|
by: Garry |
last post by:
I need to build a web site that can automatically download a file from
the server to the users local C: drive and then open the file in Word
on the local PC)
How can I do this ?
If i write a...
|
by: =?Utf-8?B?TWFya19C?= |
last post by:
I recognize that this question has a substantial Java component and I have
cross posted it on Sun’s website. But it is a problem of interface with
VS.NET and I suspect they will angrily redirect...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| |