PHP循環(huán)語句筆記(foreach,list)
743
2023-12-09
Slides ? 是一個(gè)簡單的,容易定制和風(fēng)格化,的jQuery幻燈片插件。
Slides提供褪色或幻燈片過渡效果,圖像淡入淡出,圖像預(yù)壓,自動(dòng)生成分頁,循環(huán),自動(dòng)播放的自定義等很多選項(xiàng)。
用Slides插件,你可以隨機(jī)播放幻燈片,設(shè)定那一套您想要開始幻燈片。它附帶充分的說明和示例。
廢話不多說了,直接給大家貼代碼了
$(function(){ $("#slides").slidesjs({ play: { active: true, // [boolean] Generate the play and stop buttons. // You cannot use your own buttons. Sorry. effect: "slide", // [string] Can be either "slide" or "fade". interval: , // [number] Time spent on each slide in milliseconds. auto: false, // [boolean] Start playing the slideshow on load. swap: true, // [boolean] show/hide stop and play buttons pauseOnHover: false, // [boolean] pause a playing slideshow on hover restartDelay: // [number] restart delay on inactive slideshow } }); });
前臺(tái):
<!doctype html> <head> <style> /* Prevents slides from flashing */ #slides { display:none; } </style> <script src="http://code.jquery.com/jquery-latest.min.js"></script> <script src="http://www.gimoo.net/t/1904/jquery.slides.min.js"></script> <script> $(function(){ $("#slides").slidesjs({ width: , height: }); }); </script> </head> <body> <div id="slides"> <img src="http://placehold.it/x"> <img src="http://placehold.it/x"> <img src="http://placehold.it/x"> <img src="http://placehold.it/x"> <img src="http://placehold.it/x"> </div> </body>
以上內(nèi)容是關(guān)于jquery.slides.js的全部代碼,希望大家喜歡。
#免責(zé)聲明#
本站[綠夏技術(shù)導(dǎo)航]提供的一切軟件、教程和內(nèi)容信息僅限用于學(xué)習(xí)和研究目的;不得將上述內(nèi)容用于商業(yè)或者非法用途,否則,一切后果請(qǐng)用戶自負(fù)。本站信息來自網(wǎng)絡(luò)收集整理,版權(quán)爭議與本站無關(guān)。您必須在下載后的24個(gè)小時(shí)之內(nèi),從您的電腦或手機(jī)中徹底刪除上述內(nèi)容。如果您喜歡該程序或內(nèi)容,請(qǐng)支持正版,購買注冊(cè),得到更好的正版服務(wù)。我們非常重視版權(quán)問題,如有侵權(quán)請(qǐng)郵件[admin@lxwl520.com]與我們聯(lián)系進(jìn)行刪除處理。敬請(qǐng)諒解!