[applet] - [parameter] - [examples] - [generate code]

"); previewWindow.document.writeln(fm.code.value); previewWindow.document.writeln("
"); previewWindow.document.close(); previewWindow.focus(); } } function linkcheck(fm){ if( fm.link[0].checked == true){ fm.id_key.disabled=false; fm.maintext.disabled=false; fm.mainlink.disabled=false; } else{ fm.id_key.disabled=true; fm.maintext.disabled=true; fm.mainlink.disabled=true; } } function gcode(fm){ var pos,old,count,i; if(fm.width.value==''){fm.width.focus(); alert('Width is missing');return false;;} if(fm.height.value==''){fm.height.focus(); alert('Height is missing');return false;} if(isNaN(fm.width.value)){fm.width.focus(); alert('Width has to be a number');return false;;} if(isNaN(fm.height.value)){fm.height.focus(); alert('Height has to be a number');return false;} if(isNaN(fm.delay.value)){fm.delay.focus(); alert('Delay has to be number');return;} str= '' if(fm.target.value=='other'){if(fm.target_other.value!='')str=str+'\n';} else if(fm.target.value!='_blank')str=str+'\n'; if(fm.delay.value!="150")str=str+'\n'; if(isNaN(fm.maxlines.value)){fm.maxlines.focus(); alert('Maxlines has to be a number');return false;;} if(parseInt(fm.maxlines.value)<=0){fm.maxlines.focus(); alert('Maxlines has to be greater then 0');return false;;} if(fm.textcolor.value.length!=6){fm.textcolor.focus(); alert('Invalid Color Format. Should have 6 digits. Please use values [0-9,A-F]'); return false;} if(fm.font.value!='TimesRoman')str=str+'\n'; if(fm.fontsize.value!='11')str=str+'\n'; if(fm.textcolor.value!='C0E0FF')str=str+'\n'; if(fm.align.value!='center')str=str+'\n'; str=str+'\n'; max= parseInt(fm.maxlines.value); for(i=1;i<=max;i++){ dc=eval("fm.line"+i); if(dc.value!=""){ str=str+'\n'; dc=eval("fm.color"+i); if(dc.value!=''){ if(dc.value.length!=6){dc.focus(); alert('Invalid Color Format. Should have 6 digits. Please use values [0-9,A-F]'); return false;} str=str+'\n'; } } else {dc.focus(); alert('Line'+i+' of '+max+' is empty.'); return false;} } if(fm.maintext.disabled==false){ if(fm.maintext.value!=''&&fm.mainlink.value==''){fm.mainlink.focus(); alert('Main Link is missing');return false;} else if(fm.mainlink.value!=''&&fm.maintext.value==''){fm.maintext.focus(); alert('Main Text is missing');return false;} else if(fm.mainlink.value!=''&&fm.maintext.value!='') str = str+ '\n'+ '\n'; if(fm.id_key.value!='')str=str+'\n'; } fm.code.value=str+'\n'; return true; } //-->
 Note:
This section requires JavaScript so if you have if off, this feature will not function.

 Required Parameters:
Width Height
 Optional Parameters:
Target if other target:
 Text Parameters:
Font Fontsize
Text Color Align
Maxlines Delay
#LineColor
1
2
3
4
5
6
7
8
9
10

 Full Version Parameters:   On  Off
ID_Key
Main Text
Main Link
 

CopyRight © 1999-2002 IonChron, Inc.     Privacy Policy

Hosted by www.Geocities.ws

1