Thank you for your reply ,I've read the thread you mention but it wasn't my problem>Because I've already used java scripts codes but it doesn't do the actions required.
This is one of the functions I've used, It's for maximizing the font size>
I put this code on an image's action.
var div = document.getElementsByTagName('div');
for(i=0;i<div.length;i++) {
if(div[i].style.fontSize) {
var s =
parseInt(div[i].style.fontSize.replace("px",""));
} else {
var s = 15;
}
if(s!=18){
s += 1;
}
div[i].style.fontSize = s+"px";
}
I couldn't catch where is the error,so I hope you check it with me.
Thank you in advance
Eman ALEC
Thank you for your reply ,I've read the thread you mention but it wasn't my problem>Because I've already used java scripts codes but it doesn't do the actions required.
This is one of the functions I've used, It's for maximizing the font size>
I put this code on an image's action.
var div = document.getElementsByTagName('div');
for(i=0;i<div.length;i++) {
if(div[i].style.fontSize) {
var s =
parseInt(div[i].style.fontSize.replace("px",""));
} else {
var s = 15;
}
if(s!=18){
s += 1;
}
div[i].style.fontSize = s+"px";
}
I couldn't catch where is the error,so I hope you check it with me.
Thank you in advance
Eman ALEC