[Javascript] object that floats over frames

Peter Brunone peter at brunone.com
Fri Jan 23 10:52:23 CST 2004


Dan,
 
    What about an iframe in the parent page?  You can move them, change
their z-index, and basically do just about anything.  It can't move
outside the window, but it might be able to transcend its brother
frames.
 
-Peter

-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of Dan Costea
Sent: Friday, January 23, 2004 10:35 AM
To: [JavaScript List]
Subject: Re: [Javascript] object that floats over frames


What I want to do is to display a logo in the up-left corner of the
pages. The pages are already created, and it is possible that the
up-left corner is splited in 2 frames (with frameborder="no") and in
these cases the logo have to float over 2 frames.
 
I don't want to use a popup object because I have my own context menu
(at right click) that is created with window.createPopup(), so, when
I'll open the context menu the logo will be closed.
 
I considered to use showModelessDialog, but the problem in this case is
that I don't know how to get rid of the title bar and the window
borders...
 

----- Original Message ----- 
From: David  <mailto:dlovering at gazos.com> Lovering 
To: [JavaScript List] <mailto:javascript at LaTech.edu>  
Sent: Friday, January 23, 2004 5:56 PM
Subject: Re: [Javascript] object that floats over frames

Has anyone considered launching a new window?  It will float over
frames, (and can contain new ones if need be), and the layer control can
put it anywhere in the stack that you need it.  Yes, it can be
superseded by other layers (even pop-ups can be "invisibled"), but as
long as focus is locked on it while its function remains current, and it
is destroyed when that function no longer applies, you basicly have a
super-delux pop-up.  All the windows/frames can communicate with the
elements of all the others (even though the DOM tree can be pretty
baroque), so there's no problem in exchanging data between them.
 
I'm not sure I understand why this approach wasn't considered.
 
[By "pop-up" I am assuming we are talking about the peculiar IE
construct, and not just another slave window -- the same solution I am
pushing].
 
-- Dave Lovering

----- Original Message ----- 
From: Matt Barton <mailto:javascript at mattbarton.org>  
To: [JavaScript List] <mailto:javascript at LaTech.edu>  
Sent: Friday, January 23, 2004 7:04 AM
Subject: Re: [Javascript] object that floats over frames

Hi Dan,
 
I have had to find a solution to this too (this week in fact).
Unfortunately I found nothing apart from the popup object (i.e.
document.createPopup()) that would float over frames.  I didn't want to
use the popup object either, but with a fair bit of experimentation I
have found it to be very useful, and fits my application perfectly (also
IE6/Win intranet app).
 
If you want any hints with using the popup object then don't be afraid
to ask :)
 
Matt

----- Original Message ----- 
From: Dan Costea <mailto:costea.dan at ssi-schaefer.ro>  
To: [JavaScript List] <mailto:javascript at LaTech.edu>  
Sent: Friday, January 23, 2004 12:31 PM
Subject: [Javascript] object that floats over frames

    Hi!
 
I work with IE6 (an intranet applicaiton). I need an object that can
float over frames, like a popup object (but not this object). For
example, I have an HTML page with frames and I need an object that will
stay visible at a certain position (for example, exactly in the middle
of the page, no metter that at this area is splitted by frames). Do you
know if such object exists in IE? If yes, what is it?
 
Thanks,
Dan Costea.



  _____  




_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript




  _____  




_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript




  _____  




_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040123/d0676c21/attachment.htm>


More information about the Javascript mailing list