DESA CILEMBU

Font dapat berganti otomatis

 pasang dihtml/javascript

 <script>     function go1(){     if (document.selecter2.select2.options     [document.selecter2.select2.selectedIndex].value != "none") {     document.getElementById('main').style.fontSize     =document.selecter2.select2.options     [document.selecter2.select2.selectedIndex].value     }     }       function go2(){     if (document.selecter2.select3.options     [document.selecter2.select3.selectedIndex].value != "none") {     document.getElementById('main').style.fontFamily     =document.selecter2.select3.options     [document.selecter2.select3.selectedIndex].value     }     }     </script><br />     <form id="forma" name="selecter2" method="POST"><br /> <br />     <select onchange="go2()" style="font-family:verdana;font-size:8pt" name="select3" size="1"><br />     <option value="Times New Roman" />Times New Roman<br />     <option value="Arial" />Arial<br />     <option selected value="Book Antiqua" />Book Antiqua<br />     <option value="Bookman Old Style" />Bookman Old Style<br />     <option value="Century Gothic" />Century Gothic<br />     <option value="Comic Sans Ms" />Comic Sans Ms<br />     <option value="Tahoma" />Tahoma<br /> <br /> <br />     <option selected value="Trebuchet Ms"//>Trebuchet Ms<br />     <option value="Verdana" />Verdana<br />     </select><br />     <select onchange="go1()" style="font-family:verdana;font-size:8pt" name="select2" size="1"><br />     <option value="8px" />8<br />     <option value="9px" />9<br />     <option value="10px" />10<br />     <option value="11px" />11<br />     <option selected value="12px" />12<br />     <option value="14px" />14<br />     <option value="16px" />16<br />     <option value="18px" />18<br />     </select></form>

Selesai..Selamat mencoba!?

Demo:


Enter your email address to get update from DESA CILEMBU.
Print PDF
Next
« Prev Post
Previous
Next Post »

Copyright © 2008 - DESA CILEMBU | Privacy Policy | Disclaimer | About | Created by Kompi ajaib - Powered by Blogger