java script

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
teamsuk
-


Joined: 14 Feb 2004
Posts: 3

PostPosted: Mon Feb 16, 2004 10:04 pm    Post subject: java script Reply with quote

does anyone now where i can download a javascript so that when people visit a page swf file on it when they refresh it it chages to anoter swf file

if that makes sence anwser






please dont tell me to google ok i will go go gah gah no seriously dont
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Tue Feb 17, 2004 3:36 am    Post subject: Reply with quote

You can try scripts such as "random image displayer" on javascriptkit.com or javascript.internet.com, and then replace where the images should be with SWFs. It may work; I've never tried it.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Feb 17, 2004 5:21 am    Post subject: Reply with quote

You can also try searching for the random link script at
http://javascriptkit.com and replace those links with swf
flash files and every time the page loads , a new flash
file will also load up , use frames if you want it to be on
the same page each time the page loads 8)

Edit: Here is a small demo that I created that
loads a new web page each time you enter.

Random Website: http://random.offspringvideos.com
Back to top View user's profile Send private message Visit poster's website
eznetlinks
-


Joined: 27 Sep 2003
Posts: 144

PostPosted: Tue Feb 17, 2004 4:30 pm    Post subject: Reply with quote

This script will choose a flash file at random

<SCRIPT LANGUAGE="JavaScript">
banners = new Array()
banners[0]="yourbanner1.swf"
banners[1]="yourbanner2.swf"
var Number = Math.round(1 * Math.random());
var Theswf = banners[Number]
document.write("<embed src=" +Theswf+ " height=60 width=468 quality=high loop=true menu=true play=true scale=exactfit&lt;/EMBED>")
</SCRIPT>

Good Luck
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group