日期:2014-05-20  浏览次数:20407 次

大家来看一下
http://forum.sports.sina.com.cn/?30:571这是新浪的一个具有带后台管理的左侧弹出导航条,但小弟不知他是用什么技术实现的呢,只知他用了框架,但我用下面的代码做不出哪个可以点一下就弹入弹出的效果来哦,哪位高手知的可以将原代码发给我一下呢,我万分感谢呀


<!DOCTYPE   html   PUBLIC   "-//W3C//DTD   XHTML   1.0   Frameset//EN "   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd ">
<html   xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 "   />
<meta   name= "keywords "   content= "关键词一,关键词二, "   />
<meta   name= "description "   content= "此页面的说明 "   />
<title> 新浪论坛_全球最大中文社区_新浪网 </title>
<script   language= "javascript "   src= "http://image2.sina.com.cn/book/forum/tmpl/js/base.js "> </script>
<script   language= "javascript ">
function   go(u){
try{
$( "mainFrame ").src   =   u;
}
catch(E){
window.open(u,   ' ',   ' ');
}
}
function   opener_reload(){
try{
opener.location.reload();
}
catch(E){}
}
function   closenav(){
$( "topage ").cols   =   ($( "topage ").cols   ==   "0,* ")   ?   $( "topage ").cols   =   "162,* "   :   $( "topage ").cols   =   "0,* ";
}

</script>
</head>
<frameset   rows= "* "   cols= "162,* "   id= "topage "   framespacing= "0 "   frameborder= "no "   border= "0 ">
    <frame   src= "nav.html "   name= "nav "   id= "nav "   noresize= "noresize "   scrolling= "yes "   />
    <frame   src= "about:blank "   name= "mainFrame "   scrolling= "yes "   id= "mainFrame "   />

</frameset>
<noframes> <body>
抱歉,您的浏览器不支持框架页
</body>
</noframes> </html>


------解决方案--------------------
no