Fix for IE
Support for using 'esc' to hide detailView
This commit is contained in:
parent
41a9863e16
commit
a2cfa32c48
@ -92,8 +92,8 @@ background: transparent url('pear_logo_sml.png') no-repeat center left;
|
|||||||
position: relative;
|
position: relative;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
height: 17px;
|
height: 17px;
|
||||||
padding: 0px 0px 0px 30px;
|
padding: 0px 0px 0px 25px;
|
||||||
width: 131px;
|
width: 136px;
|
||||||
float: right;
|
float: right;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -430,6 +430,9 @@ document = null;
|
|||||||
swatchImg(currentImg - 1);
|
swatchImg(currentImg - 1);
|
||||||
// if($('imageflow')) handle(1);
|
// if($('imageflow')) handle(1);
|
||||||
break;
|
break;
|
||||||
|
case 27: /* Esc-key */
|
||||||
|
hideDetailView();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -449,7 +452,7 @@ function bodyLoad(vm, bgcolor) {
|
|||||||
}
|
}
|
||||||
/* end parse hash */
|
/* end parse hash */
|
||||||
|
|
||||||
if (navigator.appName === "Microsoft Internet Explorer") {
|
if (navigator.appVersion.search(/MSIE [0-7]/i) !== -1) {
|
||||||
$('.track').each(function (s) {$(this).css('top', '-16px'); }); //Fix for IE's poor page rendering.
|
$('.track').each(function (s) {$(this).css('top', '-16px'); }); //Fix for IE's poor page rendering.
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -47,10 +47,9 @@
|
|||||||
<? endif ?>
|
<? endif ?>
|
||||||
|
|
||||||
<?= $theme->script("json2-min.js") ?>
|
<?= $theme->script("json2-min.js") ?>
|
||||||
<?= $theme->script("jquery.js") ?>
|
<?= $theme->script("jquery-1.6.2.min.js") ?>
|
||||||
<?= $theme->script("jquery.form.js") ?>
|
<?= $theme->script("jquery.form.js") ?>
|
||||||
<?= $theme->script("jquery-ui.js") ?>
|
<?= $theme->script("jquery-ui-1.8.16.custom.min.js") ?>
|
||||||
<?= $theme->script("jquery-ui-1.7.3.custom.min.js") ?>
|
|
||||||
<?= $theme->script("gallery.common.js") ?>
|
<?= $theme->script("gallery.common.js") ?>
|
||||||
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
|
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
Reference in New Issue
Block a user