Joined
·
1 Posts
hello
im trying to code two checkboxes so that when you check bold the text will go bold and if you check italic the text will go italic this is what code i have so far:
function checked()
{
parent.frame( "LowerFrame" ).style.fontStyle= document.generator.italic.value;}
<TD><FONT SIZE='3'>
<input type="checkbox" value="Box 1" name="bold" /> Bold<FONT SIZE='3'><input type="checkbox" value="Box 2" name="italic" /> Italic</TD></FONT>
thanks
im trying to code two checkboxes so that when you check bold the text will go bold and if you check italic the text will go italic this is what code i have so far:
function checked()
{
parent.frame( "LowerFrame" ).style.fontStyle= document.generator.italic.value;}
<TD><FONT SIZE='3'>
<input type="checkbox" value="Box 1" name="bold" /> Bold<FONT SIZE='3'><input type="checkbox" value="Box 2" name="italic" /> Italic</TD></FONT>
thanks