* fix the bug of footer fixed on IE6.
This commit is contained in:
@@ -31,12 +31,12 @@ function selectProduct(productID)
|
||||
location.href=link;
|
||||
}
|
||||
</script>
|
||||
<div class="yui-d0 yui-t3">
|
||||
<div class="yui-d0 yui-t3">
|
||||
<div class="yui-b">
|
||||
<table class='table-1'>
|
||||
<caption>
|
||||
<?php echo $lang->bug->selectProduct;?>
|
||||
<?php echo html::select('productID', $products, $productID, 'onchange="selectProduct(this.value);" style="width:200px"');?>
|
||||
<?php echo html::select('productID', $products, $productID, 'onchange="selectProduct(this.value);"');?>
|
||||
</caption>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
var params = <?php echo json_encode($fieldParams);?>;
|
||||
var groupItems = <?php echo $config->search->groupItems;?>;
|
||||
|
||||
var bodyWidth = $('body').css('width');
|
||||
var bodyHeight = $('body').outerHeight();
|
||||
|
||||
/* 根据字段的参数,重新设置它对应的操作符和值。*/
|
||||
function setField(fieldName, fieldNO)
|
||||
{
|
||||
@@ -40,7 +37,6 @@ function setField(fieldName, fieldNO)
|
||||
/* 显示更多的搜索选项。*/
|
||||
function showmore()
|
||||
{
|
||||
setCSS();
|
||||
for(i = 1; i <= groupItems * 2; i ++)
|
||||
{
|
||||
if(i != 1 && i != groupItems + 1 )
|
||||
@@ -59,7 +55,6 @@ function showmore()
|
||||
/* 显示简洁的搜索选项。*/
|
||||
function showlite()
|
||||
{
|
||||
setCSS();
|
||||
for(i = 1; i <= groupItems * 2; i ++)
|
||||
{
|
||||
if(i != 1 && i != groupItems + 1)
|
||||
@@ -74,17 +69,6 @@ function showlite()
|
||||
$('#searchgroup2').addClass('hidden');
|
||||
$('#searchType').val('lite');
|
||||
}
|
||||
|
||||
/* 设置css,修正ie6下面的bug。*/
|
||||
function setCSS()
|
||||
{
|
||||
if($.browser.msie && Math.floor(parseInt($.browser.version)) == 6)
|
||||
{
|
||||
$('body').css('width', bodyWidth)
|
||||
$('body').css('height', bodyHeight)
|
||||
$('body').css('overflow-y', 'scroll')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class='hidden'>
|
||||
|
||||
@@ -102,7 +102,7 @@ tr, th, td {padding:3px}
|
||||
|
||||
/*-----------------------SPECIAL PART SETTING--------------------*/
|
||||
#navbar {font-weight:bold; font-size:108%; margin:5px 10px 0px 10px; padding:0;}
|
||||
#navbar ul {margin:0; padding:0; width:100%; line-height: 2; border:none}
|
||||
#navbar ul {margin:0; padding:0; line-height: 2; border:none}
|
||||
#navbar li {margin:0; padding:0; float:left; text-align:center; list-style-type:none}
|
||||
|
||||
#mainmenu ul {background-color:#D6E7FF; height:28px} /* <20><><EFBFBD><EFBFBD><EFBFBD>趨<EFBFBD>߶ȣ<DFB6><C8A3><EFBFBD>֧<EFBFBD><D6A7>opera<72><61>*/
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
html{overflow:hidden;}
|
||||
body{height:100%;width:100%; overflow-y:scroll;overflow-x:hidden}
|
||||
body{height:100%; overflow:auto}
|
||||
div#footer{position:absolute;}
|
||||
|
||||
Reference in New Issue
Block a user