response.write li标签里面怎么添加<% %>变量
response.write "<Li class=""lie"" onMouseOver=""this.className='lie-on'"" onMouseOut=""this.className='lie'""><a href="""&AutoLink&""" >"&rs("AboutName"&Language)&"</a></li> "
上面代码是正常的
div:
<div style="width:150px; margin-right:10px; float:left;"><%call WebMenu()%></div>
怎么加上一这段代码使鼠标点到某个栏目之后,效果变为class="lie-on"
------解决方案--------------------将<%call WebMenu()%>改成<%=call WebMenu()%>
把webmenu改成function
并将
response.write "<Li class=""lie"" onMouseOver=""this.className='lie-on'"" onMouseOut=""this.className='lie'""><a href="""&AutoLink&""" >"&rs("AboutName"&Language)&"</a></li> "
改成
WebMenu="<Li class=""lie"" onMouseOver=""this.className='lie-on'"" onMouseOut=""this.className='lie'""><a href="""&AutoLink&""" >"&rs("AboutName"&Language)&"</a></li> "