DNforum.com - Domain Sales, Domain Forum, Domain Appraisals
 
Register Now! Welcome to Dnforum.com You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast and simple so please, join our community today! If you have any problems with the registration process or your account login, please contact us.
Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Scripts
Start your Domain Reseller Business Today and Earn Money!
Reply
 
LinkBack Thread Tools Display Modes
Old 09-08-2007, 06:53 PM   #1 (permalink)
Queen of Domainland
 
smashfactory's Avatar
 
Last Online: Yesterday 12:08 PM
iTrader: (46)
Join Date: Feb 2006
Posts: 1,920
DNF$: 350
Location: Maryland
Country:


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!
__________________
SmashFactory.com Domains
smashfactory is offline   Reply With Quote
Old 09-08-2007, 09:11 PM   #2 (permalink)
jdk
 
jdk's Avatar
 
Name: Doug
Last Online: 07-21-2008 08:18 PM
iTrader: (151)
Join Date: Jul 2004
Posts: 6,108
DNF$: 67,751
Location: South Florida
Country:


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 10:07 PM.
jdk is offline   Reply With Quote
Old 09-08-2007, 09:23 PM   #3 (permalink)
Queen of Domainland
 
smashfactory's Avatar
 
Last Online: Yesterday 12:08 PM
iTrader: (46)
Join Date: Feb 2006
Posts: 1,920
DNF$: 350
Location: Maryland
Country:


i must be doing something wrong- i get this showing on the page:

"; $i++; } ?>
__________________
SmashFactory.com Domains
smashfactory is offline   Reply With Quote
Old 09-08-2007, 10:07 PM   #4 (permalink)
jdk
 
jdk's Avatar
 
Name: Doug
Last Online: 07-21-2008 08:18 PM
iTrader: (151)
Join Date: Jul 2004
Posts: 6,108
DNF$: 67,751
Location: South Florida
Country:


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.
jdk is offline   Reply With Quote
Old 09-08-2007, 10:12 PM   #5 (permalink)
Queen of Domainland
 
smashfactory's Avatar
 
Last Online: Yesterday 12:08 PM
iTrader: (46)
Join Date: Feb 2006
Posts: 1,920
DNF$: 350
Location: Maryland
Country:


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
__________________
SmashFactory.com Domains
smashfactory is offline   Reply With Quote
Old 09-08-2007, 10:15 PM   #6 (permalink)
jdk
 
jdk's Avatar
 
Name: Doug
Last Online: 07-21-2008 08:18 PM
iTrader: (151)
Join Date: Jul 2004
Posts: 6,108
DNF$: 67,751
Location: South Florida
Country:


So you figured it out?
jdk is offline   Reply With Quote
Old 09-08-2007, 10:21 PM   #7 (permalink)
Queen of Domainland
 
smashfactory's Avatar
 
Last Online: Yesterday 12:08 PM
iTrader: (46)
Join Date: Feb 2006
Posts: 1,920
DNF$: 350
Location: Maryland
Country:


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
__________________
SmashFactory.com Domains
smashfactory is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 05:10 PM.
Copyright @2001-2008 DNForum.com

Learn Domains
Promote Domains
Research Domains
Buy Domains
Resell Domains
Park Domains
Sell Domains
Build Domains
Host Domains
Trademark Domains
Domain Domains
manage Domains
Appraise Domains