473,698 Members | 2,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Overlap Applet with other html element (Slightly OT)

Is there any way to make a <div> section
overlap the (windowed) content of a java Applet?

I'm asking this, because JavaScript menus usually
ends up beneath Applet windows...

--
Dag.
Jul 23 '05 #1
4 2579
rf
"Dag Sunde" <me@dagsunde.co m> wrote
Is there any way to make a <div> section
overlap the (windowed) content of a java Applet?


No.
Jul 23 '05 #2
"rf" <rf@.invalid> wrote in message
news:NN******** ************@ne ws-server.bigpond. net.au...
"Dag Sunde" <me@dagsunde.co m> wrote
Is there any way to make a <div> section
overlap the (windowed) content of a java Applet?


No.


Absolutely no way?
Not if I beg, swear & cry?
No dirty tricks?

Not even if I limit myself to IE 6.0 UA's?

TIA...

--
Dag.
Jul 23 '05 #3
rf
"Dag Sunde" <me@dagsunde.co m> wrote
"rf" <rf@.invalid> wrote in message
"Dag Sunde" <me@dagsunde.co m> wrote
Is there any way to make a <div> section
overlap the (windowed) content of a java Applet?
No.


Absolutely no way?
Not if I beg, swear & cry?
No dirty tricks?


In general no.

The applet lives in a child window of the browsers client window (what you
consider the viewport). This child window lives in front of its parent and
so is immune from anything happening in its parent, in particular it can
not be overdrawn by anything the parent draws (unless the parent switches
off clip clildren which browsers do not). This is how Windows[tm] works.
Not even if I limit myself to IE 6.0 UA's?


Ah, then you would be better off asking in a Micorsoft specific group.
Jul 23 '05 #4


Dag Sunde wrote:
Is there any way to make a <div> section
overlap the (windowed) content of a java Applet?

I'm asking this, because JavaScript menus usually
ends up beneath Applet windows...


Depending on the browser it might work or might not work to put the div
in an iframe and apply CSS z-index and positioning to both the iframe
and the applet so that the iframe sits on top of the applet.

IE 5.5/6 on Windows allow you to create chrome less popup windows where
the content is defined by HTML, I think these would sit on top of
applets but haven't tested.
Docs are here:
<http://msdn.microsoft. com/library/default.asp?url =/workshop/author/dhtml/reference/objects/popup.asp>
<http://msdn.microsoft. com/library/default.asp?url =/workshop/author/om/popup_overview. asp>

--

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

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

Similar topics

1
5929
by: Put 030516 in email subj to get thru | last post by:
I've always been bothered about having to statically declare the size of a Java applet window (container?) in the calling HTML. I've always wanted the moral equivalent of width=50% statement (of the window or frame). I can sort of get an example working in a Mozilla browser: > <!-- This works on Mozilla only (and maybe netscape) --> > <script language="Javascript"> > document.write( "<applet code=MyApplet.class width=" > +...
0
9872
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 ********************************** package Celcom.Client;
2
12789
by: Put 030516 in email subj to get thru | last post by:
I've always been bothered about having to statically declare the size of a Java applet window (container?) in the calling HTML. I've always wanted the moral equivalent of width=50% statement (of the window or frame). I'm trying to use Javascript to do so. I can sort of get an example working in a Mozilla browser: > <!-- This works on Mozilla only (and maybe netscape) --> > <script language="Javascript"> > document.write( "<applet...
2
3080
by: George Hester | last post by:
I have an applet which is a cube each face if which is a link. I have a floating <DIV> element which when the mouse is over the applet it pops up showing the text of all the links in the applet. What I would like is when the mouse is over one of the faces of the cube the corresponding text in my <DIV> will highlight. So in other words this is sort of like have a link on a page and when the mouse is held over it, some other area of the html...
3
5753
by: George Hester | last post by:
Nothing. The applet does what it is supposed to do but onload never fires. Any suggestions what may be the problem here? Thanks. -- George Hester __________________________________
2
2518
by: Mark Richards | last post by:
An applet on one of my pages uses a big picture as background. I want to load it before the applet and the rest of the html source. By doing this I want to avoid that the pane of the applet is grey during the load of the picture. How do I do that? Or even better: How can I display something like a progress bar or at least a temporary, self removing message (dialog) "Please wait a few second..." until the picture and the applet were...
8
3381
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 problems. IE crashes when one refreshes the page or leave the page. This happens only after calling the Java method more than once. It does not crash if the Java method is called just once and then the page is refreshed. FireFox does not crash at all...
0
5659
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 ChatDispatch.java
2
2099
by: Richard Maher | last post by:
Hi, Recently on the web I came across documentation discussing Data Source Objects (DSO) in relation to browser and html functionality (in particular the ability to declare a Java applet as a data source that can be used with any or the HTML tags that take the src="" attribute). I find it interesting and potentially *very* useful and would like to know more, so if anyone can answer any of the following questions that would be great: - ...
0
8676
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9164
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.