The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript CSS tricks sidebar randomization

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #30757
    Attila Hajzer

    did chris use PHP, Javascript or jQuery to randomize the affiliates ?

    like i know the’r going to need their own div of some sort weather its one Class and margin padding, or if individual divs then nth child maybe, but to randomize on refresh, how did he do that! and to make a check so their not duplicated?

    this is the site im working on :

    ps im just starting out with javascript and PHP


    Chris is actually using “BuySellAds” as a service.

    But this can also be done using some simple JavaScript or PHP. If you search Google for “random include php” you’ll find lots of PHP examples.

    Chris Coyier

    I have a whole article on this:

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.