PDA

View Full Version : MacroMedia....How do you put in a Pause...?


StagePhotography.co.uk
13th September 2006, 03:22 PM
How do you put in a Pause...?

After my loading screen, I want it to pause
before going into the gallery...

Faster downloading means people can't read
the poem...

http://www.myworldmyeyes.co.uk/

Anyone know?

Krazy Pengwin
13th September 2006, 04:20 PM
George, a little Javascript should do the trick:

Put this in the head section of your page:

<script type="text/javascript">
<!--
function doRedirect(Target)
{
var timer=5;
setTimeout( "window.location.href = '" + Target + "'", timer*1000 );
}
// -->
</script>

and then change your opening body tag to:

<body onload="doRedirect('gallery.html');">

In the first section, change the value of timer to the number of seconds you want the screen to stay visible.

In the second part, change the gallery.html to whatever page you want to load.

Bindii
13th September 2006, 04:20 PM
Yep...I know....

hire a web designer...:grin:

Bindii
13th September 2006, 04:21 PM
Darn it....

the penguin beat me to it! lol

*wanders off muttering something about bloody penguins*

Bindii
13th September 2006, 04:22 PM
George, a little Javascript should do the trick:

Put this in the head section of your page:

<script type="text/javascript">
<!--
function doRedirect(Target)
{
var timer=5;
setTimeout( "window.location.href = '" + Target + "'", timer*1000 );
}
// -->
</script>

and then change your opening body tag to:

<body onload="doRedirect('gallery.html');">

In the first section, change the value of timer to the number of seconds you want the screen to stay visible.

In the second part, change the gallery.html to whatever page you want to load.

Ok now that he has changed all his pics to porn how does put a pause after the loading screen? :grin:

StagePhotography.co.uk
13th September 2006, 04:32 PM
Ahhh nice try but this is within a FLASH download....

Java script is fine when using 2 HTML pages..

Krazy Pengwin
13th September 2006, 04:38 PM
Ahhh nice try but this is within a FLASH download....

Java script is fine when using 2 HTML pages..

Could have mentioned that!!

StagePhotography.co.uk
13th September 2006, 04:41 PM
Did I mention that it's a FLASH program?

BarryM
13th September 2006, 04:44 PM
interval - = sum of 1000ms interupt value: dot dot dash, - urdatahere full stop $checksum = pausedamn gallery -checksum = recycle bin &"" find )nother :Dm

Krazy Pengwin
13th September 2006, 04:51 PM
Did I mention that it's a FLASH program?

No :grin:

Stemmy
13th September 2006, 05:06 PM
interval - = sum of 1000ms interupt value: dot dot dash, - urdatahere full stop $checksum = pausedamn gallery -checksum = recycle bin &"" find )nother :Dm

LOL Baz

have you tried

10 Print "George is a gorilla"
20 CLS
30 Goto 10

I thinnk this might do it.

LTJ
13th September 2006, 05:45 PM
How comes you didnt ask me....................................!! Between me and Bhindi we would have it sorted in a min.
I would make a NEW FOLDER that always does the trick for me :dizzy:

Bindii
13th September 2006, 06:28 PM
How comes you didnt ask me....................................!! Between me and Bhindi we would have it sorted in a min.
I would make a NEW FOLDER that always does the trick for me :dizzy:

*nods*

Silly men....they really have no idea do they...;)c

wileycoyote69
15th September 2006, 06:19 PM
LOL Baz

have you tried

10 Print "George is a gorilla"
20 CLS
30 Goto 10

I thinnk this might do it.

Lol wow that just took me back to my zx81 with (16k memory expansion!) days...I used to sit for 2 whole days typing a program in to see at the end...a square bumble across the screen :doh:

Stemmy
15th September 2006, 06:43 PM
Yep me to Wiley.

2 days to program hangman and you had to type all the words in.

Inkeys$ 567: cls, goto 25

etc etc

happy days.