Hi, how can I resize text on my web page. From smaller
fonts to larger. For example, on web page I click several
times on picture or butten or... and my text several times
go larger, when I click on other picture it goes smaller.
I have donn it with picture, but in this version I onley
change the width and heigt parametars. Sorry for bad
English. THANKS
<script language="JavaS cript">
function zoom(i) {
if (i==1)
{
if (document.pictu re1.width<700)
{
document.slika1 .width=document .picture1.width *1.30
document.slika1 .height=documen t.picture1.heig ht*1.30
}
}
else
{
if (document.pictu re1.height>100)
{
document.slika1 .width=document .picture1.width *0.70
document.slika1 .height=documen t.picture1.heig ht*0.70
}
}
if (i==3)
{
document.pictur e1.width=350
document.pictur e1.height=254
}
}
</script>
fonts to larger. For example, on web page I click several
times on picture or butten or... and my text several times
go larger, when I click on other picture it goes smaller.
I have donn it with picture, but in this version I onley
change the width and heigt parametars. Sorry for bad
English. THANKS
<script language="JavaS cript">
function zoom(i) {
if (i==1)
{
if (document.pictu re1.width<700)
{
document.slika1 .width=document .picture1.width *1.30
document.slika1 .height=documen t.picture1.heig ht*1.30
}
}
else
{
if (document.pictu re1.height>100)
{
document.slika1 .width=document .picture1.width *0.70
document.slika1 .height=documen t.picture1.heig ht*0.70
}
}
if (i==3)
{
document.pictur e1.width=350
document.pictur e1.height=254
}
}
</script>
Comment