Scripting question

Results 1 to 2 of 2

Thread: Scripting question

  1. #1
    Join Date
    Dec 1969

    Default Scripting question

    I have a script:<BR>&#060;script language="JavaScript"&#062;<BR>&#060;!--<BR>/* <BR>This code sets the font size for Xterm users to 3 <BR>*/<BR> function xtermFont(){<BR> var xFont=&#039;&#060;font size=3&#062;&#039;<BR> var pcFont=""<BR> var isWindows = navigator.appVersion.indexOf("Win")&#062;0<BR> if(isWindows == false){<BR> document.write(xFont)<BR> }else{<BR> document.write(pcFont)<BR> }<BR> }<BR>//--&#062;<BR>&#060;/script&#062;<BR><BR>And then another script with same principle to add font closing tag.<BR><BR>**********Question*********<BR><BR>How cab I write a script that sees it as an xterm and instead of having to write this function and the closing tag function everywhere, simply increase the font +1 in the CSS? This would be great !<BR><BR>Thanks!

  2. #2
    Join Date
    Dec 1969

    Default Cookies.

    Use cookies. I recommend "Merit Selection Chocolate Chip Cookies."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts