使用coda-slider并更改css文件中的面板大小导致JQuery。我这样做来调整尾部滑块到大小窗口。 这在Firefox中运行正常,但会导致Chrome和Safari崩溃。 任何人都知道我该如何解决这个问题?CSS的JQuery属性更改不会在Chrome中工作
这是函数
function resizeCentro() {
var alt = (document.height * 0.95) + "px";
var larg = (document.width * 0.77) + "px";
$(".coda-slider").css('width', larg);
$(".coda-slider").css('height', alt);
$(".panel-wrapper").css('width', larg);
$(".panel-wrapper").css('height', alt);
document.getElementById("ifInicio").width = document.width * 0.95;
document.getElementById("ifInicio").height = document.height * 0.95;
document.getElementById("ifInicio").src = "inicio.html";
}
的页面可以http://www.segundafeirafilmes.com.be/prov/INDEX.html
jQuery在哪里?如果您使用该库,请使用它。 – Blender 2011-05-02 23:07:09
该链接重定向到包含大量弹出窗口的根目录,并且通常看起来像是要避免的东西。 – 2011-05-02 23:10:52
我认为它可能会停放。 – Blender 2011-05-02 23:12:24