Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: bgcolor prob


Message #1 by True2ViSioN@a... on Wed, 21 Nov 2001 16:46:57 EST
I think the javascript command you want is:

document.form_name.control_name.style.background-color=#000066;


> 
> --part1_a3.1f372ae0.292d7ad1_boundary
> Content-Type: text/plain; charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
> 
> i like to thank all of you who have helped me :-)
> 
> 
> 
> i am useing this command
> 
>  href="#"
> onClick="strTextPowerText.document.execCommand
('bold','','');strTextPowerText.
> 
> focus();"><B>BOLD</B></a>
> 
> how can i make the background change i have tried all most every way i 
can 
> think of 
> (not the document BG the text BG)
> 
> 
> if you need more of the code and ways i have tried i can send them
> 
> --part1_a3.1f372ae0.292d7ad1_boundary
> Content-Type: text/html; charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
> 
> <HTML><FONT FACE=arial,helvetica><FONT  SIZE=3 FACE="VOY DOT LCD" 
LANG="0"><B>i like to thank all of you who have helped me :-)</FONT><FONT  
COLOR="#000000" SIZE=2 FACE="VOY DOT LCD" LANG="0"></B>
> <BR></FONT><FONT  COLOR="#000000" SIZE=2 FAMILY="SANSSERIF" FACE="Arial" 
LANG="0">
> <BR>
> <BR>
> <BR>i am useing this command
> <BR>
> <BR> href="#"
> <BR>onClick="strTextPowerText.document.execCommand
('bold','','');strTextPowerText.focus
();"&gt;&lt;B&gt;BOLD&lt;/B&gt;&lt;/a&gt;
> <BR>
> <BR>how can i make the background change i have tried all most every way 
i can think of 
> <BR>(not the document BG the text BG)
> <BR>
> <BR>
> <BR>if you need more of the code and ways i have tried i can send 
them</FONT></HTML>
> 
> --part1_a3.1f372ae0.292d7ad1_boundary--

  Return to Index