File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes help w/ a background change script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "help w/ a background change script" Watch "help w/ a background change script" New topic
Author

help w/ a background change script

kim gick
Greenhorn

Joined: Feb 21, 2002
Posts: 16
need a little assistance with this script which takes a screen and puts radio dials with colors and asks the user to select a screen color ... this is what i have so far:

thanks for your help!!
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

(this relates to your other question about posting code...
The UBB software has some 'code parsing stuff' to test the safety of the code posted. Sometimes posted code can interfere with the HTML on the page or some of the Javascript, so UBB tries to detect and disallow it.
The easiest way to fix the problem you are having is to replace all < symbols with &lt;
DOM)
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"Running_on_Wheel",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
Thanks.
Dave
kim gick
Greenhorn

Joined: Feb 21, 2002
Posts: 16
im closer with this ... i just cant pass the info from the radio buttons back to the function ...


anysuggestions?
tia
?? ive seem to lost some rubles ... ??
[ February 21, 2002: Message edited by: kim gick ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
change it to
o n c l i c k ="document.body.style.background='blue'"
without the spaces
kim gick
Greenhorn

Joined: Feb 21, 2002
Posts: 16
thanks ...
heres what i came up w/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help w/ a background change script