Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    4
    Member #
    3659
    i was told I needed to use javascript for this, so thats why I posted it here. if I need a different type of scripting, please tell me and i will post in the appropriate forum.

    anyways...

    I want to script it so that a different ad loads each time the page loads.

    for example:
    I want it so there is a 20% chance that ad1 will load on the page when it is opened.
    I want it so there is another 20% chance that ad2 will load on the page instead.
    I want it so there is a 20% chance that ad3 will load on the page instead of the previous two, and so on and so forth.

    so how can I script this?

    thanks in advance

  2.  

  3. #2
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    You would probably be better off doing this in PHP, if your host supports it of course.
    JR

  4. #3
    Junior Member
    Join Date
    Oct 2003
    Posts
    4
    Member #
    3659
    im pretty sure my server supports it, thanks. i will repost in the php forum.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:11 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com