It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

JS Chance (?)

JS Chance (?)

Postby inthedogbox on Sun Jun 29, 2008 11:26 am

okay, I've never really done Javascript.
but im trying to find a function for chance, i know there is one, for like random links etc.

what im trying to do...
for advertising space, and also for a banner for internal promotions on my new site.

ill have numerous ad banners.
and every time the page loads, i want a different one to appear (at random)

could someone help me or point me to somewhere that can?
inthedogbox
 
Posts: 18
Joined: Fri Jun 27, 2008 3:02 pm

Postby inthedogbox on Sun Jun 29, 2008 11:34 am

the actual images in the html code would be something like this, if this helps.

Code: Select all
<div class="banner_ad">
      <a href="http://www.website.com" target="_blank"><img src="image1.gif"></a>
      </div>


if you need the whole page code then i can give that, also :)
inthedogbox
 
Posts: 18
Joined: Fri Jun 27, 2008 3:02 pm

Postby inthedogbox on Mon Jun 30, 2008 11:33 am

anyone?
inthedogbox
 
Posts: 18
Joined: Fri Jun 27, 2008 3:02 pm


Who is online

Users browsing this forum: No registered users and 4 guests