Home >Web Front-end >JS Tutorial >jQuery focus map horizontal scrolling implementation method
This time I will bring you the implementation method of horizontal scrolling of jQuery focus map. What are the precautions for horizontal scrolling of jQuery focus map. The following is a practical case, let's take a look.
jQuery focus map is a full-screen focus map code that scrolls left and right, has left and right buttons, has thumbnails, and supports automatic carousel.
Operation rendering:
Tips: If the browser cannot run normally, you can try switching the browsing mode.
The jQuery full-screen focus image left and right scrolling special effects code shared with you is as follows
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>住趣家居网满屏jQuery焦点图</title> <link href="css/home.css" rel="stylesheet" /> <script src="js/jquery.js" type="text/javascript"></script> <script src="js/home.js" type="text/javascript"></script> </head> <body> <p class="zq_homeView" id="jobs_home_homeView"> <p class="zq_pictureBox" node-type="pictureBox"> <p class="zq_pictures" node-type="pictures"> <a node-type="picItem" href="http://www.jb51.net/jiaoben/" target="_blank"><img alt="厨房收纳整理工具" src="images/5.jpg" /></a> <a node-type="picItem" href="http://www.jb51.net/jiaoben/" target="_blank"><img alt="百搭落地灯" src="images/1.jpg" /></a> <a node-type="picItem" href="http://www.jb51.net/jiaoben/" target="_blank"><img alt="百搭落地灯" src="images/2.jpg" /></a> <a node-type="picItem" href="http://www.jb51.net/jiaoben/" target="_blank"><img alt="清新格子床品" src="images/3.jpg" /></a> <a node-type="picItem" href="http://www.jb51.net/jiaoben/" target="_blank"><img alt="特色墙纸壁纸" src="images/4.jpg" /></a> <a node-type="picItem" href="http://www.jb51.net/jiaoben/" target="_blank"><img alt="开放式简约现代一居室装修" src="images/5.jpg" /></a> <a node-type="picItem" href="http://www.jb51.net/jiaoben/" target="_blank"><img alt="厨房收纳整理工具" src="images/1.jpg" /></a> </p> <p class='zq_mask zq_maskLeft' node-type="maskLeft"></p> <p class='zq_mask zq_maskRight' node-type="maskRight"></p> </p> <p class="zq_imgBox"> <p class="zq_imgs clearfix"> <a node-type="smallPic" target="_blank" data-index="1" href="http://www.jb51.net/jiaoben/" class="currentImg"><img alt="百搭落地灯" src="images/1.jpg" /></a> <a node-type="smallPic" target="_blank" data-index="2" href="http://www.jb51.net/jiaoben/"><img alt="清新格子床品" src="images/2.jpg" /></a> <a node-type="smallPic" target="_blank" data-index="3" href="http://www.jb51.net/jiaoben/"><img alt="特色墙纸壁纸" src="images/3.jpg" /></a> <a node-type="smallPic" target="_blank" data-index="4" href="http://www.jb51.net/jiaoben/"><img alt="开放式简约现代一居室装修" src="images/4.jpg" /></a> <a node-type="smallPic" target="_blank" data-index="5" href="http://www.jb51.net/jiaoben/"><img alt="厨房收纳整理工具" src="images/5.jpg" /></a> </p> <p class="zq_slides"> <a href="javascript:;" class="zq_slideLeft" action-type="prev"><em> </em></a> <a href="javascript:;" class="zq_slideRight" action-type="next"><em> </em></a> </p> </p> </p> <p style="text-align:center;clear:both"> </p> </body> </html>
I believe you have mastered the method after reading the case in this article. For more exciting content, please pay attention to other related articles on the PHP Chinese website!
Recommended reading:
jQuery to create a responsive image carousel effect
jquery steps to implement a table with checkboxes Detailed explanation
jQuery implements a collection of special effects for text buttons in forms
The above is the detailed content of jQuery focus map horizontal scrolling implementation method. For more information, please follow other related articles on the PHP Chinese website!