FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Random Quotes Services for anyone - 1 Frih$ for 170+ quotes

 


Summer
To see an example , please click here .
To get yours , please click here .

You can get access to 170+ quotes with our Random Quotes Service . (I will try my best to increase them from time to time)

What ?
It will display different random quotes every time the page is loaded . It can be used as a block for portal and anything .

Where ?
Anywhere as long as you used the codes in your file .

Who ?
Anyone can use it .

When ?
It works at anytime except server down .

Why ?
To share the good things .

How ?
Get the codes from here .
The codes are very lite , and easy to modify .

I share this service for 1 Frih$ , of course if you wanna donate more I won't decline . Very Happy
Also , post some quotes here for me to add to the quotes' database . Thanks . Smile


Last edited by Summer on Wed Nov 30, 2005 4:51 pm; edited 3 times in total
bogger
you have to charge something here, or else you're in the wrong board,

and you can quote me on that Wink
Summer
Okay , I charged 1 frih$ . It does not matter if you dun wanna pay me , coz if you are using it , i won't know it too .

But please make sure you keep the copyright intact ! That's the only thing I want .
manumiglani
hello friends i am listing a javascript that can be used for random quotes(10).

This code should be placed between the <body> and </body> tags.


<script type="text/javascript">
<!--
function get_random(maxNum)
{
var ranNum= Math.floor(Math.random()*(maxNum-1));
ranNum+=1;
return ranNum;
}

function getaQuote()
{
var maxQuotes=10;
var whichQuote=get_random(maxQuotes);
whichQuote--;

var quote=new Array(maxQuotes)
quote[0]="Quote #1";
quote[1]="Quote #2";
quote[2]="Quote #3";
quote[3]="Quote #4";
quote[4]="Quote #5";
quote[5]="Quote #6";
quote[6]="Quote #7";
quote[7]="Quote #8";
quote[8]="Quote #9";
quote[9]="Quote #10";

document.write(quote[whichQuote]);
}

getaQuote();
//-->
</script>


How to install


1)Paste the BODY Section code from above between the <body> and </body> tags on your page, exactly where you want the quote to appear.


2)Change the text in red below to the quotes you want to use.

var quote=new Array(maxQuotes)
quote[0]="Quote #1";
quote[1]="Quote #2";
quote[2]="Quote #3";
quote[3]="Quote #4";
quote[4]="Quote #5";
quote[5]="Quote #6";
quote[6]="Quote #7";
quote[7]="Quote #8";
quote[8]="Quote #9";
quote[9]="Quote #10";


Thats it everytime page is reloaded a random quote out of 10 will be showed.
mattd8752
Yes, but he actually has 170 quotes already there...
Summer
Yeah and I used a 5-line code and forcing it to read a 170+ lines text file .
manumiglani
yes he got already 170 quotes but with this script ucan use the quotes you want .... i do not mean that the free 170 quotes is bad infact its a really cool service

i respect that gentleman





Manu Miglani
Summer
Thanks and I don't think you think my service is bad . Smile

Cheers .
Reply to topic    Frihost Forum Index -> Miscellaneous -> Marketplace

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.