Results 1 to 5 of 5

Thread: Searching for a script.. (Random displayed links)

Hybrid View

  1. #1

    Searching for a script.. (Random displayed links)

    I'm searching for a scripts, who randomly displays websites, on OTHER websites...
    So I add all the sites through my site 'A', and can delete them from there too, and when added the code on site 'B,C,D' etc.. they will randomly display...

    I saw something like this many times before.. but never found one to 'offline'..

    Can someone help?

    |Nico Lawsons

  2. Nic's page isn't responding at the moment, so I'll just post my hacked up version of his code here.

    <script language="Javascript" type="text/javascript">
    // original content taken from Nic's JavaScript Page with permission
    // lack of these three lines will result in copyright infringment
    // made by: Nic's JavaScript Page -
    var currentdate = 0;
    var core = 0;
    function initArray() {
    this.length = initArray.arguments.length;
      for (var i = 0; i < this.length; i++) {
      this[i] = initArray.arguments[i];
    link = new initArray(
    "<a href=\"\">What is GSM Security?</a>",
    "<a href=\"\">What is SAN (Storage Area Network) Security?</a>",
    "<a href=\"\">What is storage management?</a>",
    "<a href=\"\">Are you starting a small business?</a>",
    "<a href=\"\">Are you worried about the future of America?</a>",
    "<a href=\"\">Would you like a good quote to brighten your day?</a>",
    "<a href=\"\">What are the pros and cons of nuclear power?</a>"
    var currentdate = new Date();
    var core = currentdate.getSeconds() % link.length;
    var ranlink  = link[core];
    document.write('' +ranlink+ '');
    Not the very important lack of a comma on the last item in the list.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. #3
    Looks good, but how can I change the links on ALL sites, by changing them on ONE site?
    I mean, I want if I change them on site 'A', they are automaticly changed on site 'B,C' etc.. too...

    |Nico Lawsons

  4. #4
    Just upload it to one site, and use that link for all sites. So once you overwrite the file on the main site, they all change.

    like use for all sites

  5. #5
    Quote Originally Posted by 5starpix View Post
    Just upload it to one site, and use that link for all sites. So once you overwrite the file on the main site, they all change.

    like use for all sites
    Cool, thanks a lot

    |Nico Lawsons

Similar Threads

  1. Searching Amazon bot?
    By Sami4u in forum Monetizing
    Replies: 9
    Last Post: 27 October, 2010, 15:41 PM
  2. Replies: 5
    Last Post: 2 July, 2010, 08:14 AM
  3. What affiliate script links are they using?
    By thesyndicate in forum Web Design
    Replies: 4
    Last Post: 3 May, 2010, 00:09 AM
  4. Link not displayed in posts..
    By sandeepdude in forum Announcements and Suggestions
    Replies: 4
    Last Post: 24 September, 2009, 10:36 AM
  5. Searching for links in google
    By GameOver in forum Promoting
    Replies: 3
    Last Post: 16 May, 2009, 13:43 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts