fonts - Make text larger than is already - javascript -
sorry if simple, can't right. problem have makes text smaller point. mean if there aleady large text, make text small again. need make text larger before. styles elements containing text set through css, editing style property wouldn't work.
thanks in advance! - tanner
if text element have id can done easily. example:
<p id="hey">this fabulous text change.</p> <a onmouseover=document.getelementbyid('hey').style.fontsize='10'> make tiny!</a> <a onmouseover=document.getelementbyid('hey').style.fontsize='24'> make huge!!!</a>
actually document.getelementbyid('yourid').style.fontsize=yourvalue
general code. use want increase text size again direct writing code or calling function.
Comments
Post a Comment