Я сталкиваюсь с ошибкой JavaScript при использовании jquery.simplemodal
в Internet Explorer 8;отлично работает на Chrome, Firefox, Safari.
ошибка 'sdwrap' является нулевым или нет объекта в строке 475.
любая идеяо том, как заставить его работать в Internet Explorer 8?
Соответствующий код.В голове:
<script src="ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"; type="text/javascript"></script>
<script src="/system/js/jquery.ui.core.js" type="text/javascript"></script>
<script src="/system/js/jquery.ui.widget.js" type="text/javascript"></script>
<script src="{url:/system/js/jquery.ui.mouse.js}" type="text/javascript"></script>
<script src="/system/js/jquery.ui.sortable.js" type="text/javascript"></script>
<script src="/system/js/jquery.simplemodal-1.4.1.js" type="text/javascript"></script>
и для модального окна:
$("#detail-pane").animate( { height: gPaneHeight + 'px' }, 500,
function() {
$.modal( "<div id='warning-box' class='warning-box'></div>",
{ closeHTML:"",
containerCss:{ backgroundColor:"#b8b9b9",
height:gPaneHeight,
padding:0,
width:993 },
position: [ 108, ($(window).width() / 2) - (993 / 2) ],
overlayClose:true,
onClose:function(dialog) { closePane(); },
onShow: function(dialog) { // filling in box content
}
});
}
);
заранее спасибо, lionel