用asp代码实现,鼠标滑过显示下拉菜单。
发布网友
发布时间:2022-04-29 16:40
我来回答
共2个回答
热心网友
时间:2023-10-20 05:56
<div id="diqu1">
<h1>地区分类</h1>
<%
set rsddq=server.CreateObject("adodb.recordset")
sqlddq="select * from dianjia_d_di order by id asc"
rsddq.open sqlddq,conn,1,1
do while not rsddq.eof
%>
<a href="#" onmouseover="Fsubmenu('<%=rsddq("mc")%>')"><span><%=rsddq("mc")%></span></a>
<%rsddq.movenext
loop
rsddq.close
set rsddq=nothing%>
</div>
<div id="diqu2">
<%%>
</div>
<script language="javascript1.2">
<!--
function Fsubmenu(value){
switch(value){
<%
set rsddz=server.CreateObject("adodb.recordset")
rsddz.open "select * from dianjia_d_di order by id asc",conn,1,1
do while not rsddz.eof
%>
case "<%=rsddz("mc")%>":
diqu2.innerHTML="<%set rsxdq=server.CreateObject("adodb.recordset")
rsxdq.open "select * from dianjia_x_di where dadiid="&rsddz("id")&" order by id asc",conn,1,1
do while not rsxdq.eof%><a href='search.asp?dadi=<%=rsddz("id")%>&xiaodi=<%=rsxdq("id")%>'><%=rsxdq("mc")%></a> | <%rsxdq.movenext
loop
rsxdq.close
set rsxdq=nothing%>";
break;
<%
rsddz.movenext
loop
rsddz.close
set rsddz=nothing
%>
}
}
//-->
</script>
这是我自己做的以个实例,希望对你有帮助
热心网友
时间:2023-10-20 05:57
这个需要用ASP+JS来实现,给个网址你下载看看吧
http://www.keybridge.com.cn/
热心网友
时间:2023-10-20 05:56
<div id="diqu1">
<h1>地区分类</h1>
<%
set rsddq=server.CreateObject("adodb.recordset")
sqlddq="select * from dianjia_d_di order by id asc"
rsddq.open sqlddq,conn,1,1
do while not rsddq.eof
%>
<a href="#" onmouseover="Fsubmenu('<%=rsddq("mc")%>')"><span><%=rsddq("mc")%></span></a>
<%rsddq.movenext
loop
rsddq.close
set rsddq=nothing%>
</div>
<div id="diqu2">
<%%>
</div>
<script language="javascript1.2">
<!--
function Fsubmenu(value){
switch(value){
<%
set rsddz=server.CreateObject("adodb.recordset")
rsddz.open "select * from dianjia_d_di order by id asc",conn,1,1
do while not rsddz.eof
%>
case "<%=rsddz("mc")%>":
diqu2.innerHTML="<%set rsxdq=server.CreateObject("adodb.recordset")
rsxdq.open "select * from dianjia_x_di where dadiid="&rsddz("id")&" order by id asc",conn,1,1
do while not rsxdq.eof%><a href='search.asp?dadi=<%=rsddz("id")%>&xiaodi=<%=rsxdq("id")%>'><%=rsxdq("mc")%></a> | <%rsxdq.movenext
loop
rsxdq.close
set rsxdq=nothing%>";
break;
<%
rsddz.movenext
loop
rsddz.close
set rsddz=nothing
%>
}
}
//-->
</script>
这是我自己做的以个实例,希望对你有帮助
热心网友
时间:2023-10-20 05:56
<div id="diqu1">
<h1>地区分类</h1>
<%
set rsddq=server.CreateObject("adodb.recordset")
sqlddq="select * from dianjia_d_di order by id asc"
rsddq.open sqlddq,conn,1,1
do while not rsddq.eof
%>
<a href="#" onmouseover="Fsubmenu('<%=rsddq("mc")%>')"><span><%=rsddq("mc")%></span></a>
<%rsddq.movenext
loop
rsddq.close
set rsddq=nothing%>
</div>
<div id="diqu2">
<%%>
</div>
<script language="javascript1.2">
<!--
function Fsubmenu(value){
switch(value){
<%
set rsddz=server.CreateObject("adodb.recordset")
rsddz.open "select * from dianjia_d_di order by id asc",conn,1,1
do while not rsddz.eof
%>
case "<%=rsddz("mc")%>":
diqu2.innerHTML="<%set rsxdq=server.CreateObject("adodb.recordset")
rsxdq.open "select * from dianjia_x_di where dadiid="&rsddz("id")&" order by id asc",conn,1,1
do while not rsxdq.eof%><a href='search.asp?dadi=<%=rsddz("id")%>&xiaodi=<%=rsxdq("id")%>'><%=rsxdq("mc")%></a> | <%rsxdq.movenext
loop
rsxdq.close
set rsxdq=nothing%>";
break;
<%
rsddz.movenext
loop
rsddz.close
set rsddz=nothing
%>
}
}
//-->
</script>
这是我自己做的以个实例,希望对你有帮助
热心网友
时间:2023-10-20 05:57
这个需要用ASP+JS来实现,给个网址你下载看看吧
http://www.keybridge.com.cn/
热心网友
时间:2023-10-20 05:56
<div id="diqu1">
<h1>地区分类</h1>
<%
set rsddq=server.CreateObject("adodb.recordset")
sqlddq="select * from dianjia_d_di order by id asc"
rsddq.open sqlddq,conn,1,1
do while not rsddq.eof
%>
<a href="#" onmouseover="Fsubmenu('<%=rsddq("mc")%>')"><span><%=rsddq("mc")%></span></a>
<%rsddq.movenext
loop
rsddq.close
set rsddq=nothing%>
</div>
<div id="diqu2">
<%%>
</div>
<script language="javascript1.2">
<!--
function Fsubmenu(value){
switch(value){
<%
set rsddz=server.CreateObject("adodb.recordset")
rsddz.open "select * from dianjia_d_di order by id asc",conn,1,1
do while not rsddz.eof
%>
case "<%=rsddz("mc")%>":
diqu2.innerHTML="<%set rsxdq=server.CreateObject("adodb.recordset")
rsxdq.open "select * from dianjia_x_di where dadiid="&rsddz("id")&" order by id asc",conn,1,1
do while not rsxdq.eof%><a href='search.asp?dadi=<%=rsddz("id")%>&xiaodi=<%=rsxdq("id")%>'><%=rsxdq("mc")%></a> | <%rsxdq.movenext
loop
rsxdq.close
set rsxdq=nothing%>";
break;
<%
rsddz.movenext
loop
rsddz.close
set rsddz=nothing
%>
}
}
//-->
</script>
这是我自己做的以个实例,希望对你有帮助
热心网友
时间:2023-10-20 05:57
这个需要用ASP+JS来实现,给个网址你下载看看吧
http://www.keybridge.com.cn/
热心网友
时间:2023-10-20 05:57
这个需要用ASP+JS来实现,给个网址你下载看看吧
http://www.keybridge.com.cn/
热心网友
时间:2023-11-11 06:54
<div id="diqu1">
<h1>地区分类</h1>
<%
set rsddq=server.CreateObject("adodb.recordset")
sqlddq="select * from dianjia_d_di order by id asc"
rsddq.open sqlddq,conn,1,1
do while not rsddq.eof
%>
<a href="#" onmouseover="Fsubmenu('<%=rsddq("mc")%>')"><span><%=rsddq("mc")%></span></a>
<%rsddq.movenext
loop
rsddq.close
set rsddq=nothing%>
</div>
<div id="diqu2">
<%%>
</div>
<script language="javascript1.2">
<!--
function Fsubmenu(value){
switch(value){
<%
set rsddz=server.CreateObject("adodb.recordset")
rsddz.open "select * from dianjia_d_di order by id asc",conn,1,1
do while not rsddz.eof
%>
case "<%=rsddz("mc")%>":
diqu2.innerHTML="<%set rsxdq=server.CreateObject("adodb.recordset")
rsxdq.open "select * from dianjia_x_di where dadiid="&rsddz("id")&" order by id asc",conn,1,1
do while not rsxdq.eof%><a href='search.asp?dadi=<%=rsddz("id")%>&xiaodi=<%=rsxdq("id")%>'><%=rsxdq("mc")%></a> | <%rsxdq.movenext
loop
rsxdq.close
set rsxdq=nothing%>";
break;
<%
rsddz.movenext
loop
rsddz.close
set rsddz=nothing
%>
}
}
//-->
</script>
这是我自己做的以个实例,希望对你有帮助
热心网友
时间:2023-11-11 06:54
这个需要用ASP+JS来实现,给个网址你下载看看吧
http://www.keybridge.com.cn/
热心网友
时间:2023-11-11 06:54
<div id="diqu1">
<h1>地区分类</h1>
<%
set rsddq=server.CreateObject("adodb.recordset")
sqlddq="select * from dianjia_d_di order by id asc"
rsddq.open sqlddq,conn,1,1
do while not rsddq.eof
%>
<a href="#" onmouseover="Fsubmenu('<%=rsddq("mc")%>')"><span><%=rsddq("mc")%></span></a>
<%rsddq.movenext
loop
rsddq.close
set rsddq=nothing%>
</div>
<div id="diqu2">
<%%>
</div>
<script language="javascript1.2">
<!--
function Fsubmenu(value){
switch(value){
<%
set rsddz=server.CreateObject("adodb.recordset")
rsddz.open "select * from dianjia_d_di order by id asc",conn,1,1
do while not rsddz.eof
%>
case "<%=rsddz("mc")%>":
diqu2.innerHTML="<%set rsxdq=server.CreateObject("adodb.recordset")
rsxdq.open "select * from dianjia_x_di where dadiid="&rsddz("id")&" order by id asc",conn,1,1
do while not rsxdq.eof%><a href='search.asp?dadi=<%=rsddz("id")%>&xiaodi=<%=rsxdq("id")%>'><%=rsxdq("mc")%></a> | <%rsxdq.movenext
loop
rsxdq.close
set rsxdq=nothing%>";
break;
<%
rsddz.movenext
loop
rsddz.close
set rsddz=nothing
%>
}
}
//-->
</script>
这是我自己做的以个实例,希望对你有帮助
热心网友
时间:2023-11-11 06:54
这个需要用ASP+JS来实现,给个网址你下载看看吧
http://www.keybridge.com.cn/
热心网友
时间:2023-10-20 05:56
<div id="diqu1">
<h1>地区分类</h1>
<%
set rsddq=server.CreateObject("adodb.recordset")
sqlddq="select * from dianjia_d_di order by id asc"
rsddq.open sqlddq,conn,1,1
do while not rsddq.eof
%>
<a href="#" onmouseover="Fsubmenu('<%=rsddq("mc")%>')"><span><%=rsddq("mc")%></span></a>
<%rsddq.movenext
loop
rsddq.close
set rsddq=nothing%>
</div>
<div id="diqu2">
<%%>
</div>
<script language="javascript1.2">
<!--
function Fsubmenu(value){
switch(value){
<%
set rsddz=server.CreateObject("adodb.recordset")
rsddz.open "select * from dianjia_d_di order by id asc",conn,1,1
do while not rsddz.eof
%>
case "<%=rsddz("mc")%>":
diqu2.innerHTML="<%set rsxdq=server.CreateObject("adodb.recordset")
rsxdq.open "select * from dianjia_x_di where dadiid="&rsddz("id")&" order by id asc",conn,1,1
do while not rsxdq.eof%><a href='search.asp?dadi=<%=rsddz("id")%>&xiaodi=<%=rsxdq("id")%>'><%=rsxdq("mc")%></a> | <%rsxdq.movenext
loop
rsxdq.close
set rsxdq=nothing%>";
break;
<%
rsddz.movenext
loop
rsddz.close
set rsddz=nothing
%>
}
}
//-->
</script>
这是我自己做的以个实例,希望对你有帮助
热心网友
时间:2023-10-20 05:57
这个需要用ASP+JS来实现,给个网址你下载看看吧
http://www.keybridge.com.cn/