Monday, August 27, 2012

[web-design] Problems with Java

 

I have put together a Java, but it only shows a black box. Can someone please help me with it. Thank You. Here is the code:

<style type="text/css">
#randomQuote { background: #000000 url(); border: #333333 1px solid; width:200px; text-align:left;}
.hide {display:none;}
</style>
<div id="quotebx" align="center">
<div id="randomQuote"></div>

<!--
******************************
Add your random quotes below.

<div id="quote#" class="hide">
QUOTE HERE
</div>
****************************** -->

<div id="quote1" class="hide">
"The havens declare his righteousness,<BR>and all the people see his glory."<BR>Psalms 97:6
</div>

<div id="quote2" class="hide">
"The Lord is nigh unto all them that call upon him,<BR>to all that callhim in truth."<BR>Psalms145:18
</div>

<div id="quote3" class="hide">
"Let us therefore come boldly unto the throne of grace,<BR>that we may obtain mercy,<BR>and find grace to help in time of need."<BR>Hebrews 4:16
</div>

<div id="quote4" class="hide">
"When a man's ways please the Lord,<BR>he maketh even his enemies to be at peace with him.<BR>Proverbs 16:7
</div>

<div id="quote5" class="hide">
"All the ways of a man are clean in his own eyes;<BR>but the Lord weigheth the spirits.<BR>Proverbs 16:2
</div>

<div id="quote6" class="hide">
"I have loved you, saith the Lord." Malachi 1:2
</div>

<script type="text/javascript">
// ********************************
// Don't change anything below this line
// ********************************
var quotes = ($("#quotebx").find("div").length) - 1;
var rnd = "#quote" + Math.floor((Math.random()*(quotes))+1);
$("#randomQuote").html($(rnd).html());
</script>
</div>

__._,_.___
Recent Activity:
---------------------------------------------------------------
web-design@yahoogroups.com is sponsored, owned, and founded by Technogypsie Designs (formerly Wandering Leaf Designs)
~etching your presence on the web  
leafworks@yahoo.com  

To unsubscribe or change your settings:
Please go to http://www.yahoogroups.com
- login, - choose group to modify, - change to unsubscribe,
web only, digest, or single post mode
By email: send a email from your email address receiving this
post to web-design-unsubscribe@yahoogroups.com
.

__,_._,___

0 comments:

Post a Comment