basic-quotes

<?xml version="1.0" encoding="UTF-8"?>
<Module><ModulePrefs
    title="Basic Quotes"
    description="A basic random quote generator google gadget in the Google Sites Madison style. This means bg is #fffdf8, font Georga in #e55600"
    thumbnail="http://notmuchhere.com/img.png"
    author="Allen Gattis"
    author_email="allen@gmail.com" 
    height="60"
    width="400" />
<Content type="html">
<![CDATA[
<script type="text/javascript"> 
    function getQuote() { 
        var Quotation=new Array() 
        Quotation[0] = "Time is of the essence! Comb your hair.";
        Quotation[1] = "Sanity is a golden apple with no shoelaces.";
        Quotation[2] = "Repent! The end is coming, $9.95 at Amazon.";
        Quotation[3] = "Honesty blurts where deception sneezes.";
        Quotation[4] = "Pastry satisfies where art is unavailable.";
        Quotation[5] = "Delete not, lest you, too, be deleted.";
        Quotation[6] = "O! Youth! What a pain in the backside.";
        Quotation[7] = "Wishes are like goldfish with propellors.";
        Quotation[8] = "Love the river's \"beauty\", but live on a hill.";
        Quotation[9] = "Invention is the mother of too many useless toys.";

        var Q = Quotation.length;
        var QuoteNum = Math.round(Math.random()*(Q-1)) 
        return Quotation[QuoteNum];
    }
</script>


<table width="100%" height="100%" bgcolor="#fffdf8">
<tr><td>
    <font size="3" face="Georgia" color="#e55600"> 

    <p align="center">
    <i><script type="text/javascript"> document.write(getQuote());</script></i>
    </p>

    <p align="right"> 
    - Anonymous
    </p>

</td></tr>
</table>

]]></Content>
</Module>
Comments