»
AnglaisFrançaisVietnamien

Imprimer - Random Quote Genertor v2 - JavaScriptBank.com

Version complète: jsB@nk » Texte » Animation » Random Quote Genertor v2
URL: https://www.javascriptbank.com/random-quote-genertor-v2.html

Random Quote Genertor v2 © JavaScriptBank.comUn autre script pour afficher Random Quotes sur votre site à chaque fois qu'il est chargé.

Version complète: jsB@nk » Texte » Animation » Random Quote Genertor v2
URL: https://www.javascriptbank.com/random-quote-genertor-v2.html



CSS
<STYLE>#quote {FONT-SIZE: 25px; COLOR: #ff0000; TEXT-ALIGN: center}</STYLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<SCRIPT language=JavaScript type=text/javascript>/*Title: Random Quote Genertor Version 2Created by: Daniel Standley Email is standleydj@gmail.comWebsite is standleydj.awardspace.com*/// The quotes that appear on the page.quotes = new Array("The earth does not belong to us we belong to the earth","Never get so busy making a living that you for forget to make a life","I have no special talents I am only passionately curious - Albert Einstein","He who ceases to seek knowledge is as good as dead")//Alter nothing below the script wont work if you do.qte = quotes.lengthfunction chooseQuote(){randomNum = Math.floor((Math.random() * qte))document.getElementById('quote').innerHTML = quotes[randomNum]}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<body onload=chooseQuote()><DIV id=quote></DIV></body><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->