Click to See Complete Forum and Search --> : Question for the uber geeks
killfactory
03-05-2004, 10:15 AM
is there a way to make a page auto exit after say a flash intro plays.
not goto another page, but just exit or close the window.
i see where i can enter java scripting into a swish project.
if there is an easier way plz do tell.
thanks guys.
olerag
03-05-2004, 10:22 AM
self.close() will close the current window. Apply it to the
event you desire.
killfactory
03-05-2004, 10:40 AM
Originally posted by olerag
self.close() will close the current window. Apply it to the
event you desire.
i am adding this to a swish project. are you familiar with swish?
it will let me add a script at a frame. would i just add this?
killfactory
03-05-2004, 10:42 AM
didnt work with that alone. it to close the window after the intro plays. if that helps. or i cant direct it to a page that closes when opened.
how could i make a page that just closes after it opens?
rhsunderground
03-05-2004, 11:03 PM
<script>
window.close(self)
</script>
killfactory
03-08-2004, 09:55 AM
thx much ill try that.
killfactory
03-08-2004, 10:12 AM
Originally posted by rhsunderground
<script>
window.close(self)
</script>
im getting prompted by IE that the window is trying to close.
then it ask if i want to close it.
is this in my browser or is there a way around it with using the java.
rhsunderground
03-08-2004, 10:47 AM
there is a way to do it, but it is frowned upon by the Gods of this forum. closing a window is more or less frowned upon by the Gods. here it is:
<html>
<head>
<!-- This little script goes on head section -->
<!-- This script used from galeza.com/realWindowCloser.htm -->
<script>
var zarabozo;
function paco(zarabozo) {
var paco_zarabozo = window.top;
paco_zarabozo.opener = window.top;
paco_zarabozo.close();
}
</script>
<!-- end of script -->
</head>
<body>
<center>
This script allows you to close any window without any warning!<br><br>Normally, you can close only windows opened by another window, but this script will close any window.<br><br><b>Try it!</b><br>(don't forget to first copy this URL so you can come back when the window closes)<br><br>
<!-- Place this button anywhere! -->
<input type="button" onclick="paco(zarabozo)" value="Close this window without warnings!">
</center>
</body>
killfactory
03-08-2004, 11:25 AM
Originally posted by rhsunderground
there is a way to do it, but it is frowned upon by the Gods of this forum. closing a window is more or less frowned upon by the Gods. here it is:
<html>
<head>
<!-- This little script goes on head section -->
<!-- This script used from galeza.com/realWindowCloser.htm -->
<script>
var zarabozo;
function paco(zarabozo) {
var paco_zarabozo = window.top;
paco_zarabozo.opener = window.top;
paco_zarabozo.close();
}
</script>
<!-- end of script -->
</head>
<body>
<center>
This script allows you to close any window without any warning!<br><br>Normally, you can close only windows opened by another window, but this script will close any window.<br><br><b>Try it!</b><br>(don't forget to first copy this URL so you can come back when the window closes)<br><br>
<!-- Place this button anywhere! -->
<input type="button" onclick="paco(zarabozo)" value="Close this window without warnings!">
</center>
</body> you da man!! thx again for the help. ill try it now.
killfactory
03-08-2004, 11:56 AM
Originally posted by killfactory
you da man!! thx again for the help. ill try it now.
worked great thanks. have you ever used swish?
i would like to have it automatically close without interaction.
i think swish will let me activate the script at a certain frame.
which would close the window after the intro plays.
BTW this is to all the GODS, dont frown upon Mr. underground i need the page to close. it is for a welcome splash screen i will push out via login script. and the less i have to have the user do, the better. =) even closing a window. lol
thanks again Mr. underground.
p.s. i will check back to see if you know how to implement this into swish.
thx again dood.
rhsunderground
03-08-2004, 03:42 PM
i know not of this magical 'swish' you speak of. is it flash lingo? for i know you can simply put the action into a script (view attached screenshot) and put the script onto the webpage.
killfactory
03-09-2004, 07:24 AM
Originally posted by rhsunderground
i know not of this magical 'swish' you speak of. is it flash lingo? for i know you can simply put the action into a script (view attached screenshot) and put the script onto the webpage.
lol. Swish is a program just like flash. i does the the same as what you have demonstrated. thx again.