![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/05/2008, 02:53
|
![Avatar de sheik](http://static.forosdelweb.com/customavatars/avatar236096_1.gif) | | | Fecha de Ingreso: mayo-2008
Mensajes: 8
Antigüedad: 16 años, 9 meses Puntos: 1 | |
Accesibilidad con javascript Hola, necesito realizar las acciones de ampliación y disminución de texto. Pero NO con los típicos:
function MasTxtO() {
var divID = document.body;
divID.style.fontSize = 1.2 + "em";
}
function MediaO() {
var divID = document.body;
divID.style.fontSize = "x-small";
}
function MenosTxtO() {
var divID = document.body;
divID.style.fontSize = 0.525 + "em";
}
Necesito conseguir hacer lo mismo que ocurre cuando se presiona Ctrl ++ y Ctrl -- ya que en IE crea un mejor efecto que el cambio del tamaño de letra, alguien tiene alguna idea? |