Forum Moderators: open
Is it possible to pass a global variable from an intro page?
Currently, I have a flash intro and the option to 'Skip Intro' on the intro page.
I'd also like an option on the intro page to 'Skip intro and turn the music off' on all pages on the site.
That way my dial-up users can enjoy the site without the wait.
The address to the intro page is [shoppesofnightfire.com...]
My current code works fine in IE 6 and my next project is to get it to work in FireFox (input on this would be great too!)
Currently my music code for each page is very simply:
<script language="JavaScript">
var NFsong = "Http://istochathvaults.com/mm5/music/m3u/storefront.m3u" [the *.m3u references an mp3 file and is different on each page of the site]
</script>
And the global footer has the player code:
<script language="javascript">
<!--
document.write("PAUSE <embed src=\""+NFsong+"\" style=\"width:44px;height:26px\" loop=\"true\" > MUSIC");
//-->
</script>
<BR>
Any help on passing a globabl variable from the intro page would be GREATLY appreciated!
Thanks in advance!
Joe
to get the thing to work in Firefox your probably need to specify what the stream-data is. i remember running into this problem myself, but can't find a copy-paste solution at the moment. but if you google for "embed stream data firefox" something usefull should come up i think