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

Display DIV over APPLET

SPG
Hi,

We have an app that uses a page to either load a full page applet, or some
html based on some params.

There are events trapped for rigth click actions that show a DIV with some
menu options. Works fine with the HTML...

But, of course, by default the Applet seems to take precedence over any DIV
etc on top.

I already feed the events back from the applet back through to the HTML via
javascript, what I need to do is display the div over the applet so that
thet user knows no different...

Can this be done?

Steve

PS: I tried using a simple JAVA popup menu, but due to the way our applet
works, this appears to freeze the IE browser (We take events into the Applet
from the JAVASCRIPT, and that event seems to freeze IE with 100% CPU if a
menu is displayed!)

Jul 23 '05 #1
2 7296


SPG wrote:
I already feed the events back from the applet back through to the HTML via
javascript, what I need to do is display the div over the applet so that
thet user knows no different...


In some browsers it might work to put an iframe over an applet but you
can't rely on that, there are lots of different implementations and
content like plugins or applets are usually implemented as windowed
controls which are drawn on top of normal HTML elements. Some browsers
implement iframes as windowed cotnrols too and furthermore allow then to
use CSS to stack the windowed controls as needed but some do not allow that.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2
SPG

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:42**********************@newsread4.arcor-online.net...


SPG wrote:
I already feed the events back from the applet back through to the HTML
via javascript, what I need to do is display the div over the applet so
that thet user knows no different...


In some browsers it might work to put an iframe over an applet but you
can't rely on that, there are lots of different implementations and
content like plugins or applets are usually implemented as windowed
controls which are drawn on top of normal HTML elements. Some browsers
implement iframes as windowed cotnrols too and furthermore allow then to
use CSS to stack the windowed controls as needed but some do not allow
that.
--

Martin Honnen
http://JavaScript.FAQTs.com/


Hi Martin,

IFrame was unsuccessful (Possibly due to my lack of knowledge rather than
functionality not supported!)

We are supporting IE 5.5+ only..

Think I may be stuck!

Steve
Jul 23 '05 #3

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

Similar topics

1
by: nathanlaan | last post by:
This is the stupidest thing I have ever seen. Java 1.2, 1.3, and 1.4.1, and 1.4.2 all define the Applet.getDocumentBase() method differently! How am I supposed to get the directory of the document...
0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
3
by: Jeff Napier | last post by:
Hi, This works: banner = getImage(GetCodeBase(),"mypicture.jpg") But, I tried variations of: try { url = new URL("http://www.my-other-website.com/mypicture.jpg");
0
by: Jeff Napier | last post by:
Is it a security restriction, or is it possible to display an image from a website other than the one on which the applet resides (without external php or javascript workarounds)? Thanks, - Jeff...
0
by: Don | last post by:
I have a client page that employs hover buttons. They work just fine in IE. But, when using Netscape, they intermittently won't display. When they don't display, all that shows is a gray box the...
1
by: Charlie Kim | last post by:
Here is gnome applet source of mine. -------------------------------------------------- #!/usr/bin/env python import pydic import gtk import gnome.applet
0
by: ankur | last post by:
WHEN I RUN THIS WEB APPLICATION ON Tomcat5.5.9 SERVER MY HttpChatApplet sccessfully Loaded from ChatDispatch but running on some another PC HttpChatApplet not loaded my Coad ...
1
by: shaillenkumar | last post by:
How do I display a message applet is loading when a applet is getting loaded. Without using Mediatracker.I want the message to be provided as PARAM NAME. thanks in advance Shailen
2
by: pssraju | last post by:
Hi, I am having applet display problem on my PC and the same thing working fine on some of my colleagues PC's. When I cross checked content through view source its exactly same on both the PC's....
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.