Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help w/ a background change script

 
kim gick
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
change it to
o n c l i c k ="document.body.style.background='blue'"
without the spaces
 
kim gick
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ...
heres what i came up w/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic