Tuesday, August 28, 2012

Re: [web-design] Problems with Java

 

This is a mish-mash of Javascript, CSS, html and JScript, but definitely not Java. You have no JScript declarations, so...black box.

Two solutions:

http://www.suboski.net/dev/a_Features/a_content_by_date/index2.htm

http://www.suboski.net/brett/Brett_fun.htm

Either of these is easily modifiable to what you want, but will take a bit of work.

Best,

Bill

--- On Tue, 8/28/12, odds10to1 <odds10to1@yahoo.com> wrote:

From: odds10to1 <odds10to1@yahoo.com>
Subject: [web-design] Problems with Java
To: web-design@yahoogroups.com
Date: Tuesday, August 28, 2012, 2:35 AM

 

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>

[Non-text portions of this message have been removed]

__._,_.___
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
.

__,_._,___

1 comments:

UB Webs said...

This post is useful and great. I think this is best blog.thanks
hire developers

Post a Comment