Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How can a user dynamically change font style and color by checking a radio button


Message #1 by "Harjit Singh Grewal" <hsgrewal@g...> on Sat, 25 Nov 2000 09:12:20 +0530
This is a multi-part message in MIME format.

------=_NextPart_000_033E_01C05869.1B2CB8E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi,

program the onChange of the radio button. and change the style sheet of 
that part of text

jigs
  ----- Original Message -----
  From: Harjit Singh Grewal
  To: javascript
  Sent: Sunday, November 26, 2000 3:31 AM
  Subject: [javascript] How can a user dynamically change font style and 
color by checking a radio button


  This is a multi-part message in MIME format.

  ------=3D_NextPart_000_000D_01C056BF.D0BD8F00
  Content-Type: text/plain;
  charset=3D"Windows-1252"
  Content-Transfer-Encoding: quoted-printable

    I'm trying to make a page where a user selects a font style and 
colour =3D
  of the text  and as soon as he changes the color or style the text on 
=3D
  that page enetered by him in the textarea changes accordingly.=3D20
    If you can solve my problem it will be really nice of you. Thanx in 
=3D
  advance.
    Harjit

  ------=3D_NextPart_000_000D_01C056BF.D0BD8F00
  Content-Type: text/html;
  charset=3D"Windows-1252"
  Content-Transfer-Encoding: quoted-printable

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  <HTML><HEAD>
  <META content=3D3D"text/html; charset=3D3Dwindows-1252" =3D
  http-equiv=3D3DContent-Type>
  <META content=3D3D"MSHTML 5.00.2314.1000" name=3D3DGENERATOR>
  <STYLE></STYLE>
  </HEAD>
  <BODY bgColor=3D3D#ffffff><FONT face=3D3DArial size=3D3D2>
  <BLOCKQUOTE=3D20
  style=3D3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; 
MARGIN-RIGHT: =3D
  0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
    <DIV><FONT face=3D3DArial size=3D3D2>I'm trying to make a page where 
a =3D
  user selects a=3D20
    font style and colour of the text  and as soon as he changes 
the =3D
  color or=3D20
    style the text on that page enetered by him in the textarea 
changes=3D20
    accordingly. </FONT></DIV>
    <DIV><FONT face=3D3DArial size=3D3D2>If you can solve my problem it 
will =3D
  be really=3D20
    nice of you. Thanx in advance.</FONT></DIV>
    <DIV><FONT face=3D3DArial=3D20
  size=3D3D2>Harjit</FONT></DIV></BLOCKQUOTE></FONT>
  --- <BR>
  NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS?  Is FREE okay?<BR>
  Visit EarthWeb for the latest in IT Management, Software Development, 
<BR>
  Web Development, Networking & Communications, and Hardware & 
Systems.  <BR>
  Click on http://www.earthweb.com for FREE articles, tutorials,<BR>
  and discussions from the experts.<BR>
  ---<BR>
newsgroup@h...<BR>
$subst('Email.Unsub')<BR>

  </BODY></HTML>

  ------=3D_NextPart_000_000D_01C056BF.D0BD8F00--






  Return to Index