Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: JS woes as usual. |
From: | David Gary |
Date: | Wed, 7 Oct 1998 05:27:00 +0100 |
Ok you JS monkeys,
I havent found anyone who could answer this correctly yet.
I'm having a problem with IE3.0 and pop up windows.
Heres the scoop:
I have a enter page that tells you you need the flash plug-in, requirements,
bla, bla, bla.
When you hit the flash3 button to enter the site it calls up a pop up window
with nothing
but the "file" bar. (Why?, because all interactions are created using flash3.)
Because of this, the "enter" page is still on the taskbar(behind the pop-up).
In the Flash movie, I have a button that calls up a "samples" window(another
pop-up win)
Heres the problem. When the button is clicked the "samples" window(smaller),
pops up between the the original "enter page" and the large pop-up containing my
movies. So its hidden. Only after it is clicked on again, will the samples
window bring itself to the forefront.
This only happens in IE3.0.
my script uses Colin Moocks hidden frame routine:
<script LANGUAGE="JavaScript">
function launchwin(){
newwin =
window.open("samples.html","newwindow","height=325,scrollbars=0,width=500")
window.location.href = "empty.html"
}
</script>
I was thinking about trying to replace the browser window with the correct
attributes
through JS when someone mentioned using:
onLoad window.replace(attributes you want go here)
But this doesnt work in any browser that ive tried and theres no mention of this
method
in any of my JS books. Only location.replace.
Then I tried to tell the first opened browser("enter page") to close itself by:
<SCRIPT LANGAUGE="JavaScript"><!--
opener.close();
//--></SCRIPT>
It worked in NS4.5
But IE3.0 doesnt support this.
SO I tried:
<SCRIPT LANGUAGE="JavaScript"><!--
msgWindow=open('',window,'resizable=no,width=200,height=200');
msgWindow.location.href ='apage.html';
if (msgWindow.opener == null) msgWindow.opener = self;
//--></SCRIPT>
to make sure that the opener has been defined for browsers that don't have it by
default.
But that still didnt work for IE3.0.
As you can see Im not in any shape or form a JS expert, just looking for someone
who is.
Its important that IE3.0 viewers see the content.
ANybody got any solutions on getting my "samples" window to place itself ontop
of the desktop instead of hiding itself between the original browser window and
the "moviepage"
pop-up in IE3.0? If so I think you can see I would be more than thankful.
BTW:
<body onBlur="self.focus();">
only works for 4.0+ browsers
-DG-
<SCRIPT LANGUAGE="JavaScript"><!--
msgWindow=open('',window,'resizable=no,width=200,height=200');
msgWindow.location.href ='sample.html';
if (msgWindow.opener == null) msgWindow.opener = self;
//--></SCRIPT>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]