var currentpos,timer; function initialize() { timer=setInterval ("scrollwindow ()",30); } function sc() { clearInterval(timer); } function scrollwindow() { currentpos=document.body.scrollTop; window.scroll(0,++currentpos); if (currentpos !=document.body.scrollTop) sc(); } document.onmousedown=sc document.ondblclick=initialize
Close
PHONE
CONSULTING
0663-8825783
 
HOMEABOUT USNEWSPRODUCTMESSAGECONTACT US
$(function() { var sWidth = $("#focus").width(); //獲取焦點圖的寬度(顯示面積) var len = $("#focus ul li").length; //獲取焦點圖個數 var index = 0; var picTimer; //以下代碼添加數字按鈕和按鈕后的半透明條,還有上一頁、下一頁兩個按鈕 var btn = "
"; for(var i=0; i < len; i++) { btn += ""; } btn += "
"; $("#focus").append(btn); $("#focus .btnBg").css("opacity",0.5); //為小按鈕添加鼠標滑入事件,以顯示相應的內容 $("#focus .btn span").css("opacity",0.4).mouseenter(function() { index = $("#focus .btn span").index(this); showPics(index); }).eq(0).trigger("mouseenter"); //上一頁、下一頁按鈕透明度處理 $("#focus .preNext").css("opacity",0.2).hover(function() { $(this).stop(true,false).animate({"opacity":"0.5"},300); },function() { $(this).stop(true,false).animate({"opacity":"0.2"},300); }); //上一頁按鈕 $("#focus .pre").click(function() { index -= 1; if(index == -1) {index = len - 1;} showPics(index); }); //下一頁按鈕 $("#focus .next").click(function() { index += 1; if(index == len) {index = 0;} showPics(index); }); //本例為左右滾動,即所有li元素都是在同一排向左浮動,所以這里需要計算出外圍ul元素的寬度 $("#focus ul").css("width",sWidth * (len)); //鼠標滑上焦點圖時停止自動播放,滑出時開始自動播放 $("#focus").hover(function() { clearInterval(picTimer); },function() { picTimer = setInterval(function() { showPics(index); index++; if(index == len) {index = 0;} },4000); //此4000代表自動播放的間隔,單位:毫秒 }).trigger("mouseleave"); //顯示圖片函數,根據接收的index值顯示相應的內容 function showPics(index) { //普通切換 var nowLeft = -index*sWidth; //根據index值計算ul元素的left值 $("#focus ul").stop(true,false).animate({"left":nowLeft},300); //通過animate()調整ul元素滾動到計算出的position //$("#focus .btn span").removeClass("on").eq(index).addClass("on"); //為當前的按鈕切換到選中的效果 $("#focus .btn span").stop(true,false).animate({"opacity":"0.4"},300).eq(index).stop(true,false).animate({"opacity":"1"},300); //為當前的按鈕切換到選中的效果 } });
 
Company
TestTestTestTestTest
 
Company Profile

Guangdong health of Hardware Products Co., Ltd. in Guangdong Province, the famous hometown of hardware - Jieyang City, is Chinese Furniture Hardware industry quality brand " carat KeLa" producers. Specializes in keyboard slides, TV rail , drawer rails, mirrors rail , hinge rails, shoe bracket, advanced aluminum telescopic ( sliding ) pants rack , telescopic racks, towel racks trousers , tie belt clip , rod and other hardware furniture accesso...

 
Industry
TestTestTestTestTestTest
Products
var speed=10 marquePic2.innerHTML=marquePic1.innerHTML function Marquee(){ if(demo.scrollLeft>=marquePic1.scrollWidth){ demo.scrollLeft=0 }else{ demo.scrollLeft++ }} var MyMar=setInterval(Marquee,speed) demo.onmouseover=function() {clearInterval(MyMar)} demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
Friend Link

Guangzhou Jiasheng International Hardware | redapple | Quanyou | Meaton

...
快乐扑克多少期一天 欢乐生肖投注 11选5稳赚技巧任8神号 北京pk赛车三码计划群 彩票中的双面盘啥意思 360足球直播 时时彩平台哪个好 9线777水果机连线app 捕鱼达人2破解版1.7 抢庄斗牛牛 pt平台娱乐 赛车北京pk10网址 老时时彩官网app下载 龙虎和时时彩押注口诀 玩庄闲和不倒翁投注法 澳门赌法种类和玩法