/    Sign up×
Community /Pin to ProfileBookmark

Question for the uber geeks

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.

to post a comment
JavaScript

11 Comments(s)

Copy linkTweet thisAlerts:
@oleragMar 05.2004 — self.close() will close the current window. Apply it to the

event you desire.
Copy linkTweet thisAlerts:
@killfactoryauthorMar 05.2004 — [i]Originally posted by olerag [/i]

[B]self.close() will close the current window. Apply it to the

event you desire. [/B]
[/QUOTE]



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?
Copy linkTweet thisAlerts:
@killfactoryauthorMar 05.2004 — 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?
Copy linkTweet thisAlerts:
@rhsundergroundMar 06.2004 — [code=php]<script>
window.close(self)
</script>
[/code]
Copy linkTweet thisAlerts:
@killfactoryauthorMar 08.2004 — thx much ill try that.
Copy linkTweet thisAlerts:
@killfactoryauthorMar 08.2004 — [i]Originally posted by rhsunderground [/i]

[B][code=php]<script>
window.close(self)
</script>
[/code]
[/B][/QUOTE]



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.
Copy linkTweet thisAlerts:
@rhsundergroundMar 08.2004 — 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:
[code=php]
<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>[/code]
Copy linkTweet thisAlerts:
@killfactoryauthorMar 08.2004 — [i]Originally posted by rhsunderground [/i]

[B]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:

[code=php]
<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>[/code]
[/B][/QUOTE]
you da man!! thx again for the help. ill try it now.
Copy linkTweet thisAlerts:
@killfactoryauthorMar 08.2004 — [i]Originally posted by killfactory [/i]

[B]you da man!! thx again for the help. ill try it now. [/B][/QUOTE]


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.
Copy linkTweet thisAlerts:
@rhsundergroundMar 08.2004 — 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.

[upl-file uuid=5c01eaec-4f75-4622-bcc2-8ba831fe020c size=53kB]flash.jpg[/upl-file]
Copy linkTweet thisAlerts:
@killfactoryauthorMar 09.2004 — [i]Originally posted by rhsunderground [/i]

[B]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. [/B][/QUOTE]


lol. Swish is a program just like flash. i does the the same as what you have demonstrated. thx again.
×

Success!

Help @killfactory spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...