-
I thought I would share this one with you guys, I don't know if anyone needed it or not.
<script language="JavaScript">
<!-- Random Flash Player
/* Let's make the Array of movies and the height and width. This is the only block
you'll need to modify! Insert the path to the movies (you can add or remove movies
as you wish!) and enter their height and width (in pixels)
That's all! You're ready to roll! */
var movies = new Array("movie1.swf","movie2.swf","movie3.swf","movi e4.swf","movie5.swf")
var s_width = new Array("120","120","120","120","120")
var s_height = new Array("20","20","20","20","20")
// Nothing needs to be edited here! Change at your own risk... :-)
len = movies.length;
today=new Date();
today=today.getTime()/10;
temp_number=today%len;
rnd = Math.round(temp_number);
// Output into the source:
document.writeln('<EMBED src="'+ movies[rnd] +'" quality=high WIDTH="'+ s_width[rnd] +'" HEIGHT="'+ s_height[rnd] +'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
document.writeln('</EMBED>');
// End of Script -->
</script>
-
That's a nice concept... I might use that idea of yours. But instead it's a PHP script... yeah... ::thinks aimlessly::
ICCold
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|