jQuery Plugin – Rotating Banner
很多商業網站中都會需要輪播的廣告,來介紹該網站中所販售的所有商品,而這樣的輪播廣告過往都使用Flash來設計,但按照前幾篇文章所提,當然也要繼續「去Flash化」,所以這次馬老師利用到了jQuery來製作了輪播式的廣告橫幅給大家參考,除了我的範例之外,大家也可以到jQuery Rotating Banner的官網逛逛,說不定會有更多的收穫!
程式碼說明:在網頁中套用jpb_slides類別的div就是置入廣告圖檔的div,但要注意廣告圖檔的寬度、高度,本範例之圖檔為w:715px、h:215px,所以要找到CSS檔中的#jqb_object和.jqb_slide修改div寬、高。
<div id="jqb_object"> <div class="jqb_slides"> <div class="jqb_slide" title="NEZ-E460 精彩外型 耀你看見" ><a href="img/b1.jpg"><img src="img/b1.jpg" width="715" height="215" alt="" /></a></div> <div class="jqb_slide" title="SONY 開箱驚喜 加碼抽大獎" ><a href="img/b2.jpg"><img src="img/b2.jpg" width="715" height="215" alt="" /></a></div> <div class="jqb_slide" title="VAIO Z 創新演繹 來自日本" ><a href="img/b3.jpg"><img src="img/b3.jpg" width="715" height="215" alt="" /></a></div> <div class="jqb_slide" title="NWZ-W262 更輕更小 防水無線" ><a href="img/b4.jpg"><img src="img/b4.jpg" width="715" height="215" alt="" /></a></div> <div class="jqb_slide" title="Xperia ray 優雅出眾 絕美設計" ><a href="img/b5.jpg"><img src="img/b5.jpg" width="715" height="215" alt="" /></a></div> <div class="jqb_slide" title="DSC-TX100V 瞬間精彩 片刻生動" ><a href="img/b6.jpg"><img src="img/b6.jpg" width="715" height="215" alt="" /></a></div> </div> <div class="jqb_bar"> <div class="jqb_info"></div> <div id="btn_next" class="jqb_btn jqb_btn_next"></div> <div id="btn_pauseplay" class="jqb_btn jqb_btn_pause"></div> <div id="btn_prev" class="jqb_btn jqb_btn_prev"></div> </div> </div>
CSS中jqb_bar類別是用來控制下方半透明區塊,如果有需要也可以自行更改成所需的大小,大家看完後有任何問題歡迎在此回應,謝謝!
註:本範例所使用的圖片版權屬於Sony公司所有。
mexican rx online: Online Pharmacies in Mexico – mexican pharmaceuticals online
http://canadaph24.pro/# online canadian pharmacy review
best canadian online pharmacy reviews Licensed Canadian Pharmacy rate canadian pharmacies
https://mexicoph24.life/# buying prescription drugs in mexico online
safe canadian pharmacy Prescription Drugs from Canada legitimate canadian online pharmacies
https://mexicoph24.life/# medication from mexico pharmacy
india pharmacy mail order Cheapest online pharmacy online shopping pharmacy india
https://mexicoph24.life/# mexican rx online
http://canadaph24.pro/# canadian pharmacy no scripts
mexican pharmaceuticals online: Online Pharmacies in Mexico – best online pharmacies in mexico
https://mexicoph24.life/# mexico pharmacy
canadian pharmacy oxycodone Licensed Canadian Pharmacy canadian drug
http://mexicoph24.life/# medicine in mexico pharmacies
https://indiaph24.store/# reputable indian pharmacies
http://indiaph24.store/# best india pharmacy
http://canadaph24.pro/# certified canadian international pharmacy
best india pharmacy Cheapest online pharmacy buy prescription drugs from india
mexico pharmacies prescription drugs: Mexican Pharmacy Online – best online pharmacies in mexico
http://indiaph24.store/# online pharmacy india
reputable indian online pharmacy best online pharmacy india buy prescription drugs from india
http://indiaph24.store/# reputable indian online pharmacy
canadian discount pharmacy Prescription Drugs from Canada buy drugs from canada
https://canadaph24.pro/# vipps approved canadian online pharmacy
https://indiaph24.store/# india pharmacy mail order
Simply a smiling visitant here to share the love (:, btw great pattern.
prescription drugs canada buy online Licensed Canadian Pharmacy canadian pharmacy online
buy cheap semaglutide – desmopressin without prescription buy desmopressin sale
http://indiaph24.store/# best india pharmacy
reputable indian pharmacies indian pharmacy fast delivery pharmacy website india
Howdy are using WordPress for your site platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you require any html coding expertise to make your own blog? Any help would be greatly appreciated!