继续公布幻灯代码这个超级好用

继续公布幻灯(LUNBO是敏感关键字)代码这个超级好用

演示见www.aiyawe.com的任何一个页面

 

不说了直接公布代码   JS代码见附件

 

//请把这段代码放到<head></head>之间

<script language="javascript" type="text/javascript" src="{dede:global.cfg_templeturl/}/taoke/images/j.js" ></script>

<script language="javascript" type="text/javascript">

    $(function(){
        $("dl.tbox dt span.label a[_for]").mouseover(function(){
            $(this).parents("span.label").children("a[_for]").removeClass("thisclass").parents("dl.tbox").children("dd").hide();
            $(this).addClass("thisclass").blur();
            $("#"+$(this).attr("_for")).show();
        });
        $("a[_for=uc_member]").mouseover();
    });           
</script>

//下面的代码放到适当的位置,每个dd之间对应的是每个橱窗代码

<!–动态调用淘宝的橱窗推广–>
<div style="border: 0px; width:950;height:auto;margin-left:7px;*margin-left:0 !important;*margin-left:0">
      <dl class="tbox light" style="margin-top:0">
        <dt class='light'>
        >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
         <span class="label">
         <a href="#" _for="uc_digg"  onMouseOut="this.style.backgroundColor='#ffffff'"  onMouseOver="this.style.backgroundColor='#00CCFF'" style="text-decoration:none;font-size:14px;" ><strong>运动</strong></a>  
         <a href="#" _for="uc_comment"  onMouseOut="this.style.backgroundColor='#ffffff'"  onMouseOver="this.style.backgroundColor='#00CCFF'" style="text-decoration:none;font-size:14px;"><strong>女装</strong></a>    
         <a href="#" _for="uc_member"  onMouseOut="this.style.backgroundColor='#ffffff'"  onMouseOver="this.style.backgroundColor='#00CCFF'" style="text-decoration:none;font-size:14px;"><strong>美容</strong></a>  
         <a href="#" _for="food"  onMouseOut="this.style.backgroundColor='#ffffff'"  onMouseOver="this.style.backgroundColor='#00CCFF'" style="text-decoration:none;font-size:14px;"><strong>食品</strong></a>  
         <a href="#" _for="dvdc"  onMouseOut="this.style.backgroundColor='#ffffff'"  onMouseOver="this.style.backgroundColor='#00CCFF'" style="text-decoration:none;font-size:14px;"><strong>数码</strong></a>  
         </span>
        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
       </dt>
         <dd id="loading" style="margin-left:0"> 正在载入,请稍候… </dd>
        <dd id="uc_digg" style="margin-left:0">
       
       
        <script type="text/javascript">alimama_bm_revision = "a690f78525aa9d6a8305cc4a49c480a9087e1e20";alimama_pid = "mm_10480604_0_0";alimama_bm_uid = "";alimama_bm_bid = "723746";alimama_bm_width = 950;alimama_bm_height = 437;alimama_bm_xmlsrc = "http://img.alimama.cn/bm/x/2009-08-24/2009-08-24_a65cae1411e4419bd9586b92f7b6b755_37.xml";alimama_bm_ds = "http://img.alimama.cn/ga/t/2009-08-21/209.xml";alimama_bm_as = "taoke";</script><script type="text/javascript" src="http://bm.alimama.cn/bmv1.js?v=a25a29e8bd84be55fbec128d322c23a516544fad"></script>
        </dd>
        <dd id="uc_comment" style="margin-left:0">
        <script type="text/javascript">alimama_bm_revision = "a690f78525aa9d6a8305cc4a49c480a9087e1e20";alimama_pid = "mm_10480604_0_0";alimama_bm_uid = "";alimama_bm_bid = "817573";alimama_bm_width = 950;alimama_bm_height = 438;alimama_bm_xmlsrc = "http://img.alimama.cn/bm/x/2009-09-02/2009-09-02_6a449851cf1454703a137c9b09b4d08b_23.xml";alimama_bm_ds = "http://img.alimama.cn/ga/t/2009-08-21/201.xml";alimama_bm_as = "taoke";</script><script type="text/javascript" src="http://bm.alimama.cn/bmv1.js?v=a25a29e8bd84be55fbec128d322c23a516544fad"></script>
        </dd>
        <!– /uc_comment –>
        <dd id="uc_member" style="margin-left:0">
        <script type="text/javascript">alimama_bm_revision = "83358f93ab6ef4ffca3305cb8090b5a37288ce52";alimama_pid = "mm_10480604_0_0";alimama_bm_uid = "";alimama_bm_bid = "816369";alimama_bm_width = 950;alimama_bm_height = 388;alimama_bm_xmlsrc = "http://img.alimama.cn/bm/x/2009-09-02/2009-09-02_71ffb893c49dbb954a73df4a5ca49bf7_62.xml";alimama_bm_ds = "http://img.alimama.cn/ga/t/2009-08-19/194.xml";alimama_bm_as = "taoke";</script><script type="text/javascript" src="http://bm.alimama.cn/bmv1.js?v=a25a29e8bd84be55fbec128d322c23a516544fad"></script>
    
        </dd>
        <!– /uc_member –>
       
        <dd id="food" style="margin-left:0">
        <script type="text/javascript">alimama_bm_revision = "83358f93ab6ef4ffca3305cb8090b5a37288ce52";alimama_pid = "mm_10480604_0_0";alimama_bm_uid = "";alimama_bm_bid = "816184";alimama_bm_width = 950;alimama_bm_height = 436;alimama_bm_xmlsrc = "http://img.alimama.cn/bm/x/2009-09-02/2009-09-02_ebcb54f62ed235ab74d591f6e3805b9d_36.xml";alimama_bm_ds = "http://img.alimama.cn/ga/t/2009-08-19/189.xml";alimama_bm_as = "taoke";</script><script type="text/javascript" src="http://bm.alimama.cn/bmv1.js?v=a25a29e8bd84be55fbec128d322c23a516544fad"></script>
        </dd>
        <dd id="dvdc" style="margin-left:0">
        <script type="text/javascript">alimama_bm_revision = "e1ec947cb481e77529b64584b4e5a64804bb1d18";alimama_pid = "mm_10480604_0_0";alimama_bm_uid = "";alimama_bm_bid = "874994";alimama_bm_width = 950;alimama_bm_height = 445;alimama_bm_xmlsrc = "http://img.alimama.cn/bm/x/2009-09-07/2009-09-07_87b3ea1c9226d1f91b7a8b02891d48cc_46.xml";alimama_bm_ds = "http://img.alimama.cn/ga/t/2009-09-02/233.xml";alimama_bm_as = "taoke";</script><script type="text/javascript" src="http://bm.alimama.cn/bmv1.js?v=a25a29e8bd84be55fbec128d322c23a516544fad"></script>
        </dd>
      </dl>
    </div>
 

相关内容推荐

发表评论

电子邮件地址不会被公开。 必填项已用*标注