我的这段CSS代码在IE6里没反应,但是在IE7、IE8、谷歌 火狐里都好使,请高手给我看看,急!!!
<%@ page language="C#" masterpagefile="~/oldhouse/MasterPage.master" autoeventwireup="true" inherits="oldhouse_Default, App_Web_8lfpk9cl" title="无标题页" %><%@ OutputCache CacheProfile="myCache" VaryByParam="none" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--[if !IE]>网页头部<![endif]-->
<link href="../CSS/oldhouse/default.css" rel="stylesheet" type="text/css" />
<!--[if !IE]>搜索层滑动门<![endif]-->
<script src="../JS/index.tab/jquery-1.2.3.pack.js" type="text/javascript"></script>
<script src="../JS/index.tab/ui.tabs.pack.js" type="text/javascript"></script>
<link href="../CSS/index.tab/ui.tabs.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
$('#container-4 > ul').tabs({ fx: { opacity: 'toggle' } });
$('#container-5 > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
$('#container-11 > ul').tabs({ event: 'mouseover' });
});
</script>
<!--[if !IE]>搜索用到的JS代码<![endif]-->
<script src="../JS/EnCode.js" type="text/javascript"></script>
<script src="../JS/public.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
//“我要买房”
function woyaomaifang()
{
var urlstr="chushou.aspx?a=1";
var flag=0;
//来源
var laiyuan=document.getElementById("maifang_laiyuan_Select");
if(laiyuan.value.trim()!="0")
{
urlstr+="&usertype="+GetEnCode(laiyuan.value.trim());
flag=1;
}
//城区
var chengqu=document.getElementById("maifang_chengqu_Select");
if(chengqu.value.trim()!="0")
{
urlstr+="&areaID="+GetEnCode(chengqu.value.trim());
flag=1;
}
//售价
var shoujia=document.getElementById("maifang_shoujia_Select");
if(shoujia.value.trim()!="0")
{
urlstr+="&priceID="+GetEnCode(shoujia.value.trim());
flag=1;
}
//户型
var huxing=document.getElementById("maifang_huxing_Select");
if(huxing.value.trim()!="0")
{
urlstr+="&huxingID="+GetEnCode(huxing.value.trim());
flag=1;
}
//类型
var leixing=document.getElementById("maifang_leixing_Select");
if(leixing.value.trim()!="0")
{
urlstr+="&typeID="+GetEnCode(leixing.value.trim());
flag=1;
}
//关键字
var kwd=document.getElementById("maifang_kwd_Text");
if(kwd.value.trim().length!=0)
{
urlstr+="&kwd="+GetEnCode(kwd.value.trim());
flag=1;
}
//打开urlstr
if(flag==1)
{
window.open(urlstr);
}
else
{
alert("您没有添加任何搜索条件。");
}
}
//“我要租房”
function woyaozufang()
{
var urlstr="chuzu.aspx?a=1";
var flag=0;
//来源
var laiyuan=document.getElementById("zufang_laiyuan_Select");
if(laiyuan.value.trim()!="0")
{
urlstr+="&usertype="+GetEnCode(laiyuan.value.trim());
flag=1;
}
//城区
var chengqu=document.getElementById("zufang_chengqu_Select");
if(chengqu.value.trim()!="0")
{
urlstr+="&areaID="+GetEnCode(chengqu.value.trim());
flag=1;
}
//月租
var minprice=document.getElementById("zufang_minprice_Text");
if(minprice.value.trim().length!=0)
{
if(minprice.value.trim()==parseInt(minprice.value.trim()).toString())
{
urlstr+="&minprice="+GetEnCode(minprice.value.trim());
flag=1;
}
else
{
alert("月租必须为整数形式。");
return false;
}
}
var maxprice=document.getElementById("zufang_maxprice_Text");
if(maxprice.value.trim().length!=0)
{
if(maxprice.value.trim()==parseInt(maxprice.value.trim()).toString())
{
urlstr+="&maxprice="+GetEnCode(maxprice.value.trim());
flag=1;
}
else
{
alert("月租必须为整数形式。");
return false;
}
}
//户型
var huxing=document.getElementById("zufang_huxing_Select");
if(huxing.value.trim()!="0")
{
urlstr+="&huxingID="+GetEnCode(huxing.value.trim());
flag=1;
}
//类型
var leixing=document.getElementById("zufang_type_Select");
if(leixing.value.trim()!="0")
{
urlstr+="&typeID="+GetEnCode(leixing.value.trim());
flag=1;
}
//关键字
var kwd=document.getElementById("zufang_kwd_Text");
if(kwd.value.trim().length!=0)
{
urlstr+="&kwd="+GetEnCode(kwd.value.trim());
flag=1;
}
//打开urlstr
if(flag==1)
{
window.open(urlstr);
}
else
{
alert("您没有选择任何搜索条件。");
}
}
//房产评估
function fangchanpinggu()
{
var urlstr="assess.aspx?a=1";
var flag=0;
//关键字
var kwd=document.getElementById("pinggu_kwd_Text");
if(kwd.value.trim().length!=0)
{
urlstr+="&kwd="+GetEnCode(kwd.value.trim());
flag=1;
}
if(flag==1)
{
window.open(urlstr);
}
else
{
alert("您没有选择任何搜索条件。");
}
}
//律师在线
function lvshizaixian()
{
var urlstr="lawyer.aspx?a=1";
var flag=0;
var kwd=document.getElementById("lvshi_Text");
if(kwd.value.trim().length!=0)
{
urlstr+="&kwd="+GetEnCode(kwd.value.trim());
flag=1;
}
if(flag==1)
{
window.open(urlstr);
}
else
{
alert("您没有选择任何搜索条件。");
}
}
</script>
<!--[if !IE]>目录层用到的JS代码<![endif]-->
<script type="text/javascript" language="javascript">
function OpenWindow(para,value)
{
window.open("chushou.aspx?"+para+"="+GetEnCode(value));
}
</script>
<!--[if !IE]>滚动新闻图片需要的样式<![endif]-->
<style type="text/css">
body{ color:#333;}
#picBox{width:270px; height:235px; margin:0px; overflow:hidden; position:relative;}
#picBox ul#show_pic{ margin:0; padding:0; list-style:none; height:210px; width:3050px; position:absolute;}
#picBox ul#show_pic li{ float:left; margin:0; padding:0; height:210px;}
#picBox ul#show_pic li img{ display:block;}
#icon_num{ position:absolute; bottom:30px; right:10px;}
#icon_num li{ float:left; background:url(http://pc.qq.com/pc/images/flashbutton.gif) no-repeat -15px 0;width:15px; height:15px; list-style:none; color:#39F; text-align:center; cursor:pointer; padding:0; margin:0;margin-right:5px;}
#icon_num li:hover,#icon_num li.active{ background:url(http://pc.qq.com/pc/images/flashbutton.gif) no-repeat 0 0; color:#fff;}
#picBox_top{width:270px; height:210px; margin:50px auto; position:relative; overflow:hidden;}
#picBox_top ul#show_pic_top{ margin:0; padding:0; list-style:none; height:210px; width:290px; position:absolute;}
#picBox_top ul#show_pic_top li{ float:left; margin:0; padding:0; height:205px;}
#picBox_top ul#show_pic_top li img{ display:block;}
#icon_num_top{ position:absolute; bottom:0px; right:10px;}
#icon_num_top li{ float:left; background:url(http://pc.qq.com/pc/images/flashbutton.gif) no-repeat -15px 0;width:15px; height:15px; list-style:none; color:#39F; text-align:center; cursor:pointer; padding:0; margin:0;margin-right:5px;}
#icon_num_top li:hover,#icon_num_top li.active{ background:url(http://pc.qq.com/pc/images/flashbutton.gif) no-repeat 0 0; color:#fff;}
</style><!--[if !IE]>滚动新闻图片需要的样式结束<![endif]-->
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
--------------------编程问答-------------------- <!--[if !IE]>*********************************搜索层*********************************<![endif]-->
<div class="default_search_div">
<div id="container-5" style="width:950px;">
<ul class="li">
<li><a href="#woyaomaifang"><span>我要买房</span></a></li>
<li><a href="#woyaozufang"><span>我要租房</span></a></li>
<li><a href="#fangchanpinggu"><span>房产评估</span></a></li>
<li><a href="#lvshizaixian"><span>律师在线</span></a></li>
</ul>
<!--[if !IE]>我要买房<![endif]-->
<div id="woyaomaifang" class="item_div">
来源:
<select id="maifang_laiyuan_Select">
<option value="0">所有</option>
<option value="1">个人</option>
<option value="2">中介公司</option>
<option value="3">经纪人</option>
</select>
城区:
<asp:Repeater ID="maifang_chengqu_Repeater" runat="server"
DataSourceID="maifang_chengqu_SqlDataSource">
<HeaderTemplate>
<select id="maifang_chengqu_Select">
<option value="0">所有</option>
</HeaderTemplate>
<FooterTemplate>
</select>
</FooterTemplate>
<ItemTemplate>
<option value='<%#Eval("OHA_ID") %>'><%#Eval("OHA_title") %></option>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="maifang_chengqu_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_area]"></asp:SqlDataSource>
售价:
<asp:Repeater ID="maifang_shoujia_Repeater" runat="server"
DataSourceID="maifang_shoujia_SqlDataSource">
<HeaderTemplate>
<select id="maifang_shoujia_Select">
<option value="0">所有</option>
</HeaderTemplate>
<FooterTemplate>
</select>
</FooterTemplate>
<ItemTemplate>
<option value='<%#Eval("OHP_ID") %>'><%#Eval("OHP_min") %>-<%#Eval("OHP_max") %>万元</option>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="maifang_shoujia_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_price]"></asp:SqlDataSource>
户型:
<asp:Repeater ID="maifang_huxing_Repeater" runat="server"
DataSourceID="maifang_huxing_SqlDataSource">
<HeaderTemplate>
<select id="maifang_huxing_Select">
<option value="0">所有</option>
</HeaderTemplate>
<FooterTemplate>
</select>
</FooterTemplate>
<ItemTemplate>
<option value='<%#Eval("OHH_ID") %>'><%#Eval("OHH_title") %></option>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="maifang_huxing_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_huxing]"></asp:SqlDataSource>
类型:
<asp:Repeater ID="maifang_leixing_Repeater" runat="server"
DataSourceID="maifang_type_SqlDataSource">
<HeaderTemplate>
<select id="maifang_leixing_Select">
<option value="0">所有</option>
</HeaderTemplate>
<FooterTemplate>
</select>
</FooterTemplate>
<ItemTemplate>
<option value='<%#Eval("OHT_ID") %>'><%#Eval("OHT_title") %></option>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="maifang_type_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_type]"></asp:SqlDataSource>
关键字:
<input id="maifang_kwd_Text" type="text" class="textbox" style="width:100px;" onkeypress="return search_KeyPress('maifang_Button')"/>
<input id="maifang_Button" type="button" value="搜索" class="button" onclick="return woyaomaifang()"/>
</div>
<!--[if !IE]>我要租房<![endif]-->
<div id="woyaozufang" class="item_div">
来源:
<select id="zufang_laiyuan_Select">
<option value="0">所有</option>
<option value="1">个人</option>
<option value="2">中介公司</option>
<option value="3">经纪人</option>
</select>
城区:
<asp:Repeater ID="zufang_chengqu_Repeater" runat="server"
DataSourceID="zufang_chengqu_SqlDataSource">
<HeaderTemplate>
<select id="zufang_chengqu_Select">
<option value="0">所有</option>
</HeaderTemplate>
<FooterTemplate>
</select>
</FooterTemplate>
<ItemTemplate>
<option value='<%#Eval("OHA_ID") %>'><%#Eval("OHA_title") %></option>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="zufang_chengqu_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_area]"></asp:SqlDataSource>
月租:
<input id="zufang_minprice_Text" type="text" class="textbox" style="width:50px;"/>
-
<input id="zufang_maxprice_Text" type="text" class="textbox" style="width:50px;"/>元
户型:
<asp:Repeater ID="zufang_huxing_Repeater" runat="server"
DataSourceID="zufang_huxing_SqlDataSource">
<HeaderTemplate>
<select id="zufang_huxing_Select">
<option value="0">所有</option>
</HeaderTemplate>
<FooterTemplate>
</select>
</FooterTemplate>
<ItemTemplate>
<option value='<%#Eval("OHH_ID") %>'><%#Eval("OHH_title") %></option>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="zufang_huxing_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_huxing]"></asp:SqlDataSource>
类型:
<asp:Repeater ID="zufang_type_Repeater" runat="server"
DataSourceID="zufang_type_SqlDataSource">
<HeaderTemplate>
<select id="zufang_type_Select">
<option value="0">所有</option>
</HeaderTemplate>
<FooterTemplate>
</select>
</FooterTemplate>
<ItemTemplate>
<option value='<%#Eval("OHT_ID") %>'><%#Eval("OHT_title") %></option>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="zufang_type_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_type]"></asp:SqlDataSource>
关键字:
<input id="zufang_kwd_Text" type="text" class="textbox" style="width:100px;" onkeypress="return search_KeyPress('zufang_Button')"/>
<input id="zufang_Button" type="button" value="搜索" class="button" onclick="return woyaozufang()"/>
</div>
<!--[if !IE]>房产评估<![endif]-->
<div id="fangchanpinggu" class="item_div">
关键字:
<input id="pinggu_kwd_Text" type="text" class="textbox" style="width:300px;" onkeypress="return search_KeyPress('pinggu_Button')"/>
<input id="pinggu_Button" type="button" value="搜索" class="button" onclick="return fangchanpinggu()"/>
</div>
<!--[if !IE]>律师在线<![endif]-->
<div id="lvshizaixian" class="item_div">
关键字:
<input id="lvshi_Text" type="text" class="textbox" style="width:300px;" onkeypress="return search_KeyPress('lvshi_Button')"/>
<input id="lvshi_Button" type="button" value="搜索" class="button" onclick="return lvshizaixian()"/>
</div>
</div>
</div><!--[if !IE]>搜索层结束<![endif]-->
--------------------编程问答-------------------- <!--[if !IE]>*******************************目录层************************************<![endif]-->
<div class="default_catagery_div">
<label>区域:</label>
<asp:Repeater ID="catagery_area_Repeater" runat="server" DataSourceID="catagery_area_SqlDataSource">
<ItemTemplate>
<a href="#" onclick="OpenWindow('areaID','<%#Eval("OHA_ID") %>')"><%#Eval("OHA_title") %></a>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="catagery_area_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_area]"></asp:SqlDataSource>
<br />
<label>售价:</label>
<asp:Repeater ID="catagery_price_Repeater" runat="server" DataSourceID="catagery_price_SqlDataSource">
<ItemTemplate>
<a href="#" onclick="OpenWindow('priceID','<%#Eval("OHP_ID") %>')"><%#Eval("OHP_min") %>-<%#Eval("OHP_max") %>万元</a>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="catagery_price_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_price]"></asp:SqlDataSource>
<br />
<label>面积:</label>
<asp:Repeater ID="catagery_livingarea_Repeater" runat="server" DataSourceID="catagery_livingarea_SqlDataSource">
<ItemTemplate>
<a href="#" onclick="OpenWindow('livingareaID','<%#Eval("OHLA_ID") %>')"><%#Eval("OHLA_min") %>-<%#Eval("OHLA_max") %>㎡</a>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="catagery_livingarea_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_livingarea]"></asp:SqlDataSource>
<br />
<label>类型:</label>
<asp:Repeater ID="catagery_type_Repeater" runat="server" DataSourceID="catagery_type_SqlDataSource">
<ItemTemplate>
<a href="#" onclick="OpenWindow('typeID','<%#Eval("OHT_ID") %>')"><%#Eval("OHT_title") %></a>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="catagery_type_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [oldhouse_type]"></asp:SqlDataSource>
</div><!--[if !IE]>目录层结束<![endif]-->
<!--[if !IE]>***************************************网页主体1*************************************<![endif]-->
<div class="default_body1_div">
<!--[if !IE]>左边层<![endif]-->
<div class="left_div">
<!--[if !IE]>新闻层<![endif]-->
<div class="news_div">
<!--[if !IE]>标题<![endif]-->
<div class="title_div"></div>
<!--[if !IE]>内容<![endif]-->
<div class="content_div">
<!--[if !IE]>左边层<![endif]-->
<div class="left_div">
<!--[if !IE]>滚动图片层<![endif]-->
<div style="width:270px; float:left">
<div id="picBox">
<ul id="show_pic" style="left:0;">
<asp:Repeater ID="news_photos_Repeater" runat="server"
DataSourceID="news_photos_SqlDataSource">
<ItemTemplate>
<li>
<a href='../news/detail.aspx?ID=<%#Eval("ND_ID") %>' target="_blank">
<img src='<%#Eval("ND_photo","../PHOTO/news/{0}") %>' alt='<%#Eval("ND_title") %>' title='<%#Eval("ND_title") %>' width="270" height="210"/>
</a>
<font style="display:block; width:266px; padding:2px; float:left; background-color:#ff6600; color:#ffffff; text-align:center; white-space:nowrap; overflow:hidden;">
<%#Eval("ND_title") %>
</font>
</li>
</ItemTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="news_photos_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT top 5 [ND_ID], [ND_title], [ND_photo] FROM [news_detail] WHERE ([ND_photo] is not null and [ND_hide] = 0 and [ND_catageryID]=37) ORDER BY [ND_time] DESC">
</asp:SqlDataSource>
</ul>
<ul id="icon_num">
<li class="active">1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>
</div>
<script type="text/javascript">
/**
*glide.layerGlide((oEventCont,oSlider,sSingleSize,sec,fSpeed,point);
*@param auto type:bolean 是否自动滑动 当值是true的时候 为自动滑动
*@param oEventCont type:object 包含事件点击对象的容器
*@param oSlider type:object 滑动对象
*@param sSingleSize type:number 滑动对象里单个元素的尺寸(width或者height) 尺寸是有point 决定
*@param second type:number 自动滑动的延迟时间 单位/秒
*@param fSpeed type:float 速率 取值在0.05--1之间 当取值是1时 没有滑动效果
*@param point type:string left or top
*/
var glide =new function(){
function $id(id){return document.getElementById(id);};
this.layerGlide=function(auto,oEventCont,oSlider,sSingleSize,second,fSpeed,point){
var oSubLi = $id(oEventCont).getElementsByTagName('li');
var interval,timeout,oslideRange;
var time=1;
var speed = fSpeed
var sum = oSubLi.length;
var a=0;
var delay=second * 1000;
var setValLeft=function(s){
return function(){
oslideRange = Math.abs(parseInt($id(oSlider).style[point]));
$id(oSlider).style[point] =-Math.floor(oslideRange+(parseInt(s*sSingleSize) - oslideRange)*speed) +'px';
if(oslideRange==[(sSingleSize * s)]){
clearInterval(interval);
a=s;
}
}
}; --------------------编程问答-------------------- var setValRight=function(s){
return function(){
oslideRange = Math.abs(parseInt($id(oSlider).style[point]));
$id(oSlider).style[point] =-Math.ceil(oslideRange+(parseInt(s*sSingleSize) - oslideRange)*speed) +'px';
if(oslideRange==[(sSingleSize * s)]){
clearInterval(interval);
a=s;
}
}
}
function autoGlide(){
for(var c=0;c<sum;c++){oSubLi[c].className='';};
clearTimeout(interval);
if(a==(parseInt(sum)-1)){
for(var c=0;c<sum;c++){oSubLi[c].className='';};
a=0;
oSubLi[a].className="active";
interval = setInterval(setValLeft(a),time);
timeout = setTimeout(autoGlide,delay);
}else{
a++;
oSubLi[a].className="active";
interval = setInterval(setValRight(a),time);
timeout = setTimeout(autoGlide,delay);
}
}
if(auto){timeout = setTimeout(autoGlide,delay);};
for(var i=0;i<sum;i++){
oSubLi[i].onmouseover = (function(i){
return function(){
for(var c=0;c<sum;c++){oSubLi[c].className='';};
clearTimeout(timeout);
clearInterval(interval);
oSubLi[i].className="active";
if(Math.abs(parseInt($id(oSlider).style[point]))>[(sSingleSize * i)]){
interval = setInterval(setValLeft(i),time);
this.onmouseout=function(){if(auto){timeout = setTimeout(autoGlide,delay);};};
}else if(Math.abs(parseInt($id(oSlider).style[point]))<[(sSingleSize * i)]){
interval = setInterval(setValRight(i),time);
this.onmouseout=function(){if(auto){timeout = setTimeout(autoGlide,delay);};};
}
}
})(i)
}
}
}
glide.layerGlide(true,'icon_num','show_pic',270,2,0.1,'left');
</script>
</div><!--[if !IE]>滚动图片结束<![endif]-->
<!--[if !IE]>新闻列表<![endif]-->
<div style="width:270px; float:left; text-align:left; line-height:13px; margin-top:5px;">
<asp:Repeater ID="news_list_Repeater" runat="server" DataSourceID="news_list_SqlDataSource">
<ItemTemplate>
·<a href='../news/detail.aspx?ID=<%#Eval("ND_ID") %>' target="_blank"><%#StrFormat(Eval("ND_title").ToString(),17,Convert.ToBoolean(Eval("ND_isred")))%></a>
</ItemTemplate>
<SeparatorTemplate>
<hr style="BORDER-BOTTOM-STYLE: dotted; BORDER-LEFT-STYLE: dotted; BORDER-RIGHT-STYLE: dotted; BORDER-TOP-STYLE: dotted" color=#cccccc size=1>
</SeparatorTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="news_list_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT top 7 [ND_ID], [ND_title], [ND_isred] FROM [news_detail] WHERE ([ND_hide] = 0 and [ND_catageryID]=37) ORDER BY [ND_time] DESC">
</asp:SqlDataSource>
<hr style="BORDER-BOTTOM-STYLE: dotted; BORDER-LEFT-STYLE: dotted; BORDER-RIGHT-STYLE: dotted; BORDER-TOP-STYLE: dotted" color=#cccccc size=1/>
<a href='../news/catagery.aspx?ID=37' target="_blank" style="display:block; width:100px; text-align:right; float:right;">更多>> </a>
</div><!--[if !IE]>新闻列表结束<![endif]-->
</div>
<!--[if !IE]>右边层<![endif]-->
<div class="right_div">
<!--[if !IE]>滑动门显示各类信息<![endif]-->
<div id="container-11" style="width:390px;">
<ul class="li">
<li><a href="#shiwanhuoji"><span style="font-weight:normal;">十万火急</span></a></li>
<li><a href="#remenfangyuan"><span style="font-weight:normal;">热门房源</span></a></li>
<li><a href="#tongjuyizhan"><span style="font-weight:normal;">同居E站</span></a></li>
<li><a href="#zuixinfangyuan"><span style="font-weight:normal;">最新房源</span></a></li>
</ul>
<!--[if !IE]>十万火急<![endif]-->
<div id="shiwanhuoji" style="text-align:left;">
<b>买房</b>
<asp:Repeater ID="shiwanhuoji_maifang_Repeater" runat="server" DataSourceID="shiwanhuoji_maifang_SqlDataSource">
<ItemTemplate>
<a href='chushou_detail.aspx?ID=<%#Eval("OHCSI_ID") %>' target="_blank">
[<%#Eval("OHA_title").ToString().Trim() %>] <%#StrCut(Eval("OHCSI_name").ToString(),25) %>
</a>
</ItemTemplate>
<SeparatorTemplate>
<br />
</SeparatorTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="shiwanhuoji_maifang_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="select top 8 [OHA_title],[OHCSI_ID],[OHCSI_name] from [View_oldhouse_chushou_area_urgent_info] where [OHCSI_hide]=0 and [OHU_type]='chushou'order by [OHCSI_time] desc">
</asp:SqlDataSource>
<b>租房</b>
<asp:Repeater ID="shiwanhuoji_zufang_Repeater" runat="server" DataSourceID="shiwanhuoji_zufang_SqlDataSource">
<ItemTemplate>
<a href='chuzu_detail.aspx?ID=<%#Eval("OHCZI_ID") %>' target="_blank">
[<%#Eval("OHA_title").ToString().Trim()%>] <%#StrCut(Eval("OHCZI_name").ToString(),25) %>
</a>
</ItemTemplate>
<SeparatorTemplate>
<br />
</SeparatorTemplate>
</asp:Repeater>
<asp:SqlDataSource ID="shiwanhuoji_zufang_SqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="select top 8 [OHA_title],[OHCZI_ID],[OHCZI_name] from [View_oldhouse_chuzu_area_urgent_info] where [OHCZI_hide]=0 and [OHU_type]='chuzu' order by [OHCZI_time] desc">
</asp:SqlDataSource>
</div> --------------------编程问答-------------------- 两个字:好长 --------------------编程问答-------------------- 这么多,具体是什么效果呢!
如果实在不行的话,ie6不支持就不支持吧!让客户升级浏览器!
很多网站都开始不支持ie6了!
毕竟要更新换代的,这阵要是用ie4,还都用不了了呢! --------------------编程问答-------------------- 加上
--------------------编程问答-------------------- 兄弟,发的时候用“插入源代码”功能吧。。。
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
够长的,把我鼠标滚轮都拉坏了 --------------------编程问答-------------------- 还有好多呢 不知道那位大哥能帮忙啊 --------------------编程问答--------------------
找不到啊
--------------------编程问答--------------------
IE 死掉了 而且占用服务器CPU 25% --------------------编程问答--------------------
检查兼容性啊! --------------------编程问答--------------------
那里检查呢 --------------------编程问答-------------------- 代码,截出一段一段的测试啊 --------------------编程问答-------------------- css 样式里不能有中文。
补充:.NET技术 , ASP.NET