467,887 Members | 1,539 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,887 developers. It's quick & easy.

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
  • viewed: 2400
Share:
4 Replies
rf
"Dag Sunde" <me@dagsunde.com> 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********************@news-server.bigpond.net.au...
"Dag Sunde" <me@dagsunde.com> 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.com> wrote
"rf" <rf@.invalid> wrote in message
"Dag Sunde" <me@dagsunde.com> 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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Put 030516 in email subj to get thru | last post: by
reply views Thread by James Hong | last post: by
2 posts views Thread by Put 030516 in email subj to get thru | last post: by
2 posts views Thread by George Hester | last post: by
3 posts views Thread by George Hester | last post: by
reply views Thread by ankur | last post: by
2 posts views Thread by Richard Maher | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.