You can store state in session  (server side) or in cookies (browser -
client side)
And on each loading page you can check state status before continue

2010/4/21 david c <[email protected]>

> I have a scriptaculous fold effect above the header that enables me to
> hide the flash movie once it has played. The problem is that once you
> navigate to a different part of the site (klick on an About link for
> example) the page reloads and the script resets so the movie is no
> longer hidden. What I would like is for the movie to stay hidden or
> shown, whatever the user chooses, no matter where on the page you
> are.
>
> This is the code (I just copy/pasted it from the demos) and it works
> just great:
>
> <div id="fold" <?php wp_swfobject_echo("http:/imagesx/logo303.swf",
> "900px", "300px"); ?></div>
> <ul>
>  <li><a href="#" onclick="Effect.Fold('fold'); return false;">Hide</
> a></li>
>  <li><a href="#" onclick="$('fold').show(); return false;">Show</a></
> li>
> </ul>
>
> I am not a programmer, I'm a designer who wants to expand my
> knowledge, but I have only the very basic understanding about
> javascript, php and so on ... VERY basic. I hope someone could help me
> out - I get the feeling that this is a more advanced group, but I
> searched the net over and over and found no solution. Anyway - thank
> you in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<prototype-scriptaculous%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>


-- 
Best Regards,
Vladimir Tkach

+972-54-7574166
[email protected]

http://teamco-anthill.blogspot.com/

http://www.google.com/search?q=teamco-anthill&pov=113485037116411478549&usg=__MJmWqpqtgaTxQA8ZMBvE3etiB1Q=

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to