新站上线,把制作的仿万网导航条给大家分享一下,
导航条可以调用出整站的栏目,对SEO效果非常好,相当与一个网站地图的效果,对于栏目的调用我是采用的sql标签,sql标签可以在下面写给大家
如果可以,希望管理员能加精,
大家可以进入 中国控制在线网看导航条效果
中国控制在线网
www.ce-china.com
图片预览:
附件下载需要大家回复支持下哈,SQL的标签也需要回复可见
http://ce-china.com/UploadFiles/2011-06/admin/2011062616594842674.rar
SQL标签的写法
select ClassID,ID,FolderName,CreateDate,Creater from KS_Class where tj=1 order by WapSpecialTemplateID asc
<DIV id=mainmenu_body>
<!--主导航开始-->
<DIV id=mainmenu_top>
<UL>
<LI><A id=mm1 showM(this,1); OnMouseLeft(); href="/" target=_parent>首页</A> </LI>
<LI><A id=mm2 showM(this,2); OnMouseLeft(); href="#" target=_parent>电子电路</A> </LI>
<LI><A id=mm3 showM(this,3); OnMouseLeft(); href="#" target=_parent>电子技术</A> </LI>
<LI><A id=mm4 showM(this,4); OnMouseLeft(); href="#" target=_parent>嵌入式</A> </LI>
<LI><A id=mm5 showM(this,5); OnMouseLeft(); href="#" target=_parent>控制技术</A> </LI>
<LI><A id=mm6 showM(this,6); OnMouseLeft(); href="#" target=_parent>综合技术</A> </LI>
<LI><A id=mm7 showM(this,7); OnMouseLeft(); href="http://bbs.ce-china.com" target=_parent>工控论坛</A> </LI>
</UL>
</DIV>
<!--子导航导航开始-->
<DIV id=mainmenu_bottom>
<DIV class=mainmenu_rbg>
<UL class=hide id=mb1>
[loop=11]
<LI><A title={$Field(FolderName,Text,0,...,0,)} href="{$Field(ID,GetInfoUrl,100,1)}">{$Field(FolderName,Text,0,...,0,)}</A> </LI>
[/loop]
</UL>
<UL class=hide id=mb2>
[loop=18]
<LI style="DISPLAY: none"><LI><A title={$Field(FolderName,Text,0,...,0,)} href="{$Field(ID,GetInfoUrl,100,1)}">{$Field(FolderName,Text,0,...,0,)}</A> </LI>
[/loop]
</UL>
<UL class=hide id=mb3>
[loop=17]
<LI><A title={$Field(FolderName,Text,0,...,0,)} href="{$Field(ID,GetInfoUrl,100,1)}">{$Field(FolderName,Text,0,...,0,)}</A> </LI>
[/loop]
</UL>
<UL class=hide id=mb4>
[loop=14]
<LI><A title={$Field(FolderName,Text,0,...,0,)} href="{$Field(ID,GetInfoUrl,100,1)}">{$Field(FolderName,Text,0,...,0,)}</A> </LI>
[/loop]
</UL>
<UL class=hide id=mb5>
[loop=17]
<LI><A title={$Field(FolderName,Text,0,...,0,)} href="{$Field(ID,GetInfoUrl,100,1)}">{$Field(FolderName,Text,0,...,0,)}</A> </LI>
[/loop]
</UL>
<UL class=hide id=mb6>
[loop=18]
<LI><A title={$Field(FolderName,Text,0,...,0,)} href="{$Field(ID,GetInfoUrl,100,1)}">{$Field(FolderName,Text,0,...,0,)}</A> </LI>
[/loop]
</UL>
<UL class=hide id=mb7>
[loop=15]
<LI><A title={$Field(FolderName,Text,0,...,0,)} href="{$Field(ID,GetInfoUrl,100,1)}">{$Field(FolderName,Text,0,...,0,)}</A> </LI>
[/loop]
</UL>
<script src="/Images/article/main_nav.js"></script>
</DIV>
</DIV>
</DIV>
因为很多朋友说回复后还是看不到,把帖子设置为不用回复了