
January 15th, 2013, 07:57 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
Time spent in forums: 14 m 11 sec
Reputation Power: 0
|
|
Onload random div content?
Hello.
I was hoping someone could help me with a little system that makes sure the following happens (I haven't done anything in Javascript yet, but desperately need this content ASAP, I'm on a dead-line):
Every time a visitor loads a page, say, the homepage, I need for it to play either:
<embed src="../flash/banner1.swf"></embed>
or
<embed src="../flash/banner2.swf"></embed>.
... in the same div, for example, to make it easier.
This must be random. How can I possibly achieve this?
Thanks in advance!
|