mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
30 lines
855 B
HTML
30 lines
855 B
HTML
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>mozilla.org: Bug 46368</TITLE>
|
||
|
<STYLE>#myWord { color: blue; }</STYLE>
|
||
|
</HEAD>
|
||
|
<BODY onLoad="doClick()">
|
||
|
<TABLE border="1" width="100%" bgcolor="Aqua">
|
||
|
<TR>
|
||
|
<TD width=300><FONT id="myWord">Mozilla</FONT> code available under a
|
||
|
dual MPL/GPL license. See the for more info.<BR>
|
||
|
</TD>
|
||
|
<TD> foo bar foo bar foo bar foo bar foo bar </td>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<SCRIPT language="JavaScript1.2">
|
||
|
|
||
|
function doClick() {
|
||
|
var myFont=document.getElementById("myWord");
|
||
|
var myText=document.getElementById("txtFontSize");
|
||
|
myFont.size=myText.value;
|
||
|
}
|
||
|
|
||
|
</SCRIPT><BR>
|
||
|
<INPUT onClick="javascript:document.location.reload()" type="submit" name="btnReload" value="Reload">
|
||
|
<INPUT onClick="javascript:doClick()" type="submit" name="btnChange" value="Change Font">
|
||
|
<INPUT name="txtFontSize" id="txtFontSize" value="6">
|
||
|
</BODY>
|
||
|
</HTML>
|