jquery(".fullslide").slide({ titcell:".hd ul", maincell:".bd ul", effect:"fold", autoplay:true,autopage:true,vis:1, intertime:2500 }); var key = document.getelementbyid("key"); function searchinfo() { var base = $('head').data('base'); if (key.value) { location.href = base + "search.php?key=" + key.value; } else { alert('请输入您要搜索的关键词!'); } } key.addeventlistener('keypress', function(event) { var keycode = event.keycode || event.which; if (keycode == "13") { searchinfo(); } }); function searchlink(el) { var href = $(el).attr("href"); location.href = href ? href : "/search.php?key=" + $(el).html(); } jquery(".cp_m").slide({ maincell: ".cp_c .cp_cm", autoplay: true, delaytime: 200, vis: 3, prevcell: ".cp_lico", nextcell: ".cp_rico", effect: "leftloop" }); jquery(".ys").slide({titcell:".ys_t dl",maincell:".ys_m",effect:"fade",autoplay:false,delaytime:700}); jquery(".honor").slide({maincell:".honor_c ul",autoplay:true,effect:"topmarquee",vis:6,intertime:40,trigger:"click"}); jquery(".jz").slide({ maincell: ".jz_m .jz_qie", autoplay: true, intertime: 2000, vis: 1, prevcell: ".jz_l", nextcell: ".jz_r", effect: "leftloop" }); jquery(".news").slide({maincell:".news_c ul",autoplay:true,effect:"topmarquee",vis:3,intertime:40,trigger:"click"}); if (!(/msie [6|7|8|9]/i.test(navigator.useragent))){ new wow().init(); };