jquery Waterfall Stream JS Analysis: First listen to the window event to get the picture loading location, call the picture loading position function, and then the mouse to slide the distance to load the picture1.HTML layout:1 DivID= "Container">2 Divclass= "box">3 Divclass= "Content">4 imgsrc=".. /img/1.jpg "> 5 Div>6 Div>7 Divclass= "box">8 Divcla
The example of this article introduces the key code of waterfall flow layout based on jquery, and share it for everyone's reference, the specific contents are as follows
Effect Chart:
Specific code:
Use the Jquery-1.8.3.min.js,waterfall.js code as follows:
$ (window). Load (function (e) {waterfall ();
var dataint = {' Data ': [{' src ': ' 1.jpg '},{'
A very useful jquery dtree tree diagram plugin tree diagram-dtreeBecause of his good idea of the node setup, the database design of the database is more convenient.Download the Dtree resource Bundle, reference the DTREE.CSS and dtree.js files, and then write the node.:A very useful jquery dtree tree
centered relative to the window$ ("#content"). Width (boxcol*boxwidth). CSS ("margin", "0 auto");//initial array to hold the total height of each column of boxvar arr=[];//Traverse all box to perform box positioning$ (". Box"). each (function (i,a) {//The first line does not need to be positioned, only the initial height valueif (i//second line above needs to be positioned for each box, the positioning rule is the first row of the total height of the smallest box row priority emissionselse{//Fi
This article illustrates the development method of the jquery circular statistical diagram. Share to everyone for your reference. The specific analysis is as follows:
Here we want to introduce a circular chart circliful, it is based on the HTML5 canvas and jquery, no need to use the image easy to implement circular statistics, and there are many property setting
Step by step jQuery flow designer plug-in goflow (with code), jquerygoflow
After the process node can be added, connect to the draw node and the node, as shown below:
It is easy to fold the line of visio.
First, the connection types are divided into Z (line), N (line), And I (Line). Then, when the two nodes are crossed, determine the line to draw based on the location between the two nodes.
1. Node 2 is on
Loads new content dynamically as the drop-down scroll bar or mouse wheel scrolls to the bottom of the page.The background uses JSON to transfer data, and the example program only writes sample arrays. The data is also set to only two attributes, which need to be rewritten according to the actual application. page with UL Li as a container, each Li represents a column The waterfall flow effect of jquery, s
Similar layout, seems to appear at home and abroad on a large and small site, such as Pinterest (looks like the earliest use of this layout of the site), mark, mushroom street, Dot dot net, as well as Taobao the latest online "Wow" and so on. Typically, as the page scroll bar scrolls down, the layout continues to load data blocks and append to the current tail. So, we gave this layout an image of the name-waterfall flow style layout.
Masonry is a ver
I use the jquery library jquery-3.2.1.js can be downloaded on the official website: http://jquery.com/download/"http://www.w3.org/1999/xhtml">"Content-type"Content="text/html; Charset=utf-8"/> "Lunbo"> "List"style="left:-850px"> "images/lunbo3.jpg"alt="3"/> "images/lunbo1.jpg"alt="1"/> "images/lunbo2.jpg"alt="2"/> "images/lunbo3.jpg"alt="3"/> "images/lunbo1.jpg"alt="1"/> "Buttons"> class=" on">"javascript:;
Based on the jQuery imitation Flash horizontal switch focus diagram, jqueryflash
We will share a horizontal switch focus chart based on jQuery-like Flash. Flash can be used to create many beautiful image album applications. Today we will use jQuery to achieve this effect. It is a horizontal focus chart plug-in similar
JQ Carousel Diagramfunctionbanner_show () {varLEFT_BTN = $ ("#banner_tag_left"); Get left click buttonvarRIGHT_BTN = $ ("#banner_tag_right"); Get Right click ButtonvarOwidth = $ ("#banner ul Li"). width (); Get a single picture widthvarOindex = $ ("#banner ul Li"); Get the number of pictures that need to be carouselvarBanner_w = $ ("#banner"). width (); Get Total widthvarindex = 0;//define the number of bits of the current Carousel $ (LEFT_BTN). Bind ("Click",function() {index++; if(Index> (oind
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.