Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 7 of 7
  1. #1
    Queen of Domainland
    smashfactory's Avatar
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    1,927
    DNF$
    584
    Bank
    0
    Total DNF$
    584
    Donate  

    need a java script

    can someone point me in the right direction cuz i have used this before-

    i want like 5-10 names to show up in one are like


    bobs site
    marys site
    janes site
    joes site

    etc...


    and each one of those titles is hyperlinked to the site, AND, this is a random group that changes with page reload- so on a reload it would then say:



    steves site
    mikes site
    ricks site
    rays site

    i found codes that do bits of each but i had this before i just cant remember where, it was javascript code snippit- i was able to just place it right in the body- help!
    The Bids For Kids Charity Domain Auction is happening right now! Only until Oct. 3rd:
    Go to http://www.bidjit.com

  2. #2
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  
    Here is a PHP code. I haven't tested it as I wrore it using my pda as I am making the post right now. I will try and test it later if it doesn't work properly.

    PHP Code:
    <?php

    $site
    [1]="<a href='http://www.bobssite1.com'>Bobs1 Site</a>";
    $site[2]="<a href='http://www.bobssite2.com'>Bobs2 Site</a>";
    $site[3]="<a href='http://www.bobssite3.com'>Bobs3 Site</a>";
    $site[4]="<a href='http://www.bobssite4.com'>Bobs4 Site</a>";
    $site[5]="<a href='http://www.bobssite5.com'>Bobs5 Site</a>";
    $site[6]="<a href='http://www.bobssite6.com'>Bobs6 Site</a>";
    $site[7]="<a href='http://www.bobssite7.com'>Bobs7 Site</a>";
    $site[8]="<a href='http://www.bobssite8.com'>Bobs8 Site</a>";
    $site[9]="<a href='http://www.bobssite9.com'>Bobs9 Site</a>";

    $i=0;
    while(
    $i<4){

    $whatsite=rand(19);

    echo 
    $site[$whatsite]."<br>";
    $i++;
    }


    ?>
    Last edited by jdk; 09-08-2007 at 09:07 PM.

  3. #3
    Queen of Domainland
    smashfactory's Avatar
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    1,927
    DNF$
    584
    Bank
    0
    Total DNF$
    584
    Donate  
    i must be doing something wrong- i get this showing on the page:

    "; $i++; } ?>
    The Bids For Kids Charity Domain Auction is happening right now! Only until Oct. 3rd:
    Go to http://www.bidjit.com

  4. #4
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  
    You need to name your file: file.php

    That is just one quick way I created in under 5 mins. Of course this will not take into count duplicate URL's it will display at one time and so on.

  5. #5
    Queen of Domainland
    smashfactory's Avatar
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    1,927
    DNF$
    584
    Bank
    0
    Total DNF$
    584
    Donate  
    i appreciate this jdk- i am not familiar with php- i have just plopped a javascript right in my html- i never had to name a file before for php so i am cluless as to what you mean- i dont want you to waste your time with me
    The Bids For Kids Charity Domain Auction is happening right now! Only until Oct. 3rd:
    Go to http://www.bidjit.com

  6. #6
    DNF Addict
    jdk's Avatar
    Join Date
    Jul 2004
    Location
    Florida
    Posts
    7,082
    Country

    United States
    DNF$
    1,163
    Bank
    0
    Total DNF$
    1,163
    Donate  
    So you figured it out?

  7. #7
    Queen of Domainland
    smashfactory's Avatar
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    1,927
    DNF$
    584
    Bank
    0
    Total DNF$
    584
    Donate  
    not in the slightest!


    i just dont know php from mars, and didnt want you to waste your time on it- i know there was a little javascript that did this cuz i used it- but php is foreign to me
    The Bids For Kids Charity Domain Auction is happening right now! Only until Oct. 3rd:
    Go to http://www.bidjit.com

Similar Threads

  1. 6 great script with huge database for each script limitted copy only
    By edpudol in forum Advertising and Related Offers
    Replies: 1
    Last Post: 09-02-2007, 06:02 AM
  2. Thousands of scripts, software, programs, templates, flash and more only $10.00!!
    By DomainNameShark in forum Advertising and Related Offers
    Replies: 0
    Last Post: 08-13-2007, 05:27 PM
  3. 114 PHP / CGI / MySQL Website Scripts DNF$500 only
    By petrosc in forum DNF$ Sales/Domain Auctions
    Replies: 59
    Last Post: 04-20-2007, 10:55 AM
  4. 100+ Script with full Resale rights. F$75
    By hangmann in forum DNF$ Sales/Domain Auctions
    Replies: 67
    Last Post: 03-21-2007, 02:02 PM
  5. 114 PHP / CGI / MySQL Website Scripts for F$
    By petrosc in forum DNF$ Sales/Domain Auctions
    Replies: 74
    Last Post: 07-23-2006, 08:21 AM

Bookmarks

Posting Permissions

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

Domain name forum recommended by Domaining.com