Foros del Web » Programando para Internet » Javascript »

problema con javascript

Estas en el tema de problema con javascript en el foro de Javascript en Foros del Web. function clipLayer(name, clipleft, cliptop, clipright, clipbottom) { var layer = getLayer(name); if (layer != null) { if (isNav4) { layer.clip.left = clipleft; layer.clip.top = cliptop; ...
  #1 (permalink)  
Antiguo 06/12/2011, 11:03
 
Fecha de Ingreso: diciembre-2011
Mensajes: 1
Antigüedad: 12 años, 5 meses
Puntos: 0
problema con javascript

function clipLayer(name, clipleft, cliptop, clipright, clipbottom) {
var layer = getLayer(name);
if (layer != null) {
if (isNav4) {
layer.clip.left = clipleft;
layer.clip.top = cliptop;
layer.clip.right = clipright;
layer.clip.bottom = clipbottom;
} else if (isIE && is5up) {
layer.clip = 'rect(' + cliptop + ' ' + clipright + ' ' + clipbottom + ' ' + clipleft +')';
} else if(isIE && is8up){
layer.clip = 'rect(' + cliptop + ', ' + clipright + ', ' + clipbottom + ', ' + clipleft +')';
}else {
layer.height = clipbottom - cliptop;
layer.width = clipright - clipleft;
layer.top = (cliptop+vspc) + "px";
layer.left = (clipleft+hspc) + "px";
}
}
}

// me dice en el sitio web que la la "vspc" no esta definida
//

Etiquetas: Ninguno
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:33.