Step by step jQuery flow designer plug-in goflow (with code), jquerygoflow
The UI interface of the designer is ready. How can I display the attributes of the node next? It is inconvenient to use a pop-up window. The propertygrid of easyui is displayed on the rightmost side and easyui is introduced, this makes the plug-in more complex. Finally, you decide to write the plug-in by yourself.
1. The implementati
Dynamically loads new content immediately when the Drop-down scroll bar or mouse wheel scrolls to the bottom of the page.
The background uses JSON to transfer the data, and only the sample array is written in the sample program. The data is only set to two attributes, which need to be overwritten according to the actual application.
The page uses the UL Li as the container, each LI represents a column
JS Code
* @ Version Date: Version Date: April 11, 2012 @ Copyright: 1024 I
1.jQuery implementation of the Right tab focus picture Carousel Animation
jquery implementation of the Right tab focus Picture Carousel Animation special Effects source code, is a fresh and lovely focus chart carousel, support automatic Carousel and manual Click, is a good focus diagram switch code.
Online Demo
SOURCE download
2.
Objectiveproject needs to get a waterfall flow of the page, with the waterfall this plugin, the feeling is still possible, the project will not have their own hands to write. I have nothing to do recently, just write one myself. The general idea is clear, still very good realization ...
native JavaScript version
jquery version
General idea 1. Let the first row float first2. Calculat
', function () {cleartimeout (WATERFALL._SCROLLTIMER3); waterfall._sCrolltimer3=settimeout (onresize,300);
});
}
}); function Creatcolumn () {///Create Column waterfall.column_num=calculatecolumns ()///columns//Loops Create column Var html= '; for (Var i=0;i
The above is a small set to introduce the Php+jquery and Ajax to achieve the pull out of the waterfall flow effect "without plug-ins" related to t
masonry. Of course, some people do not need to imagesloaded, they use window.load, but such words will wait a long time, if the speed is slow, the picture loaded half a day without loading, waterfall flow will never come out. So, I use this when I use the code:$ (' #container '). imagesloaded (function () {New Masonry (document.getElementById (' container '), {itemselector: '. Item '} );});This usage is very strange, the official said you can use the
See a carousel diagram of the idea, just want to do their own hands-on, in general, with jquery to achieve a much simplerIf you have questions about the methods used in your code, you can refer to my jquery learning path (continuous update), which is explained, or if you study jquery as much as I do soon, then you ca
The example of this article describes the method of jquery implementing the floating dotted box. Share to everyone for your reference. The specific analysis is as follows:
Baidu Ueditor on the home page to see a flow of dotted box effect, so you try to use jquery also write a, the effect is as follows:
Css:
. dashed-box{width:500px;height:100px;overflow
This example describes the jquery focus diagram instance code. Share to everyone for your reference. Specifically as follows:
For many of the friends of the station, the focus map is not unfamiliar, the general Enterprise station, portal station will use the focus map. We usually write HTML code, a lot of people in order to save time and effort, for the focus of the map are on the Internet to download some
Waterfall flow is something we often see, has been refreshed has been, in fact, it is very simple to achieve. The specific code is as follows1.CSS Code2.HTML codeDivclass= "Container"> Divclass= "box"> Divclass= "Pic">imgsrc= "Images/1.jpg"alt="" />Div> Div> Divclass= "box"> Divclass= "Pic">imgsrc= "Images/2.jpg"alt="" />Div> Div> Divclass= "box"> Divcl
jquery code to achieve simple random picture waterfall flow effect
Waterfall Flow layout is really popular recently, a lot of people like me want to know how to do it, through the Internet search a large number of references combined with the experiment of N edge today I finally wrote out, here to share with you, there is a need for small partners under the refe
Width is a certain height variable waterfall flow Layout can also be said to be seamless jigsaw puzzle when the browser scrolls to the bottom automatically load pictures loaded image address with JSON in Img.js, there is also loading animation is usedCSS3Produced in the FF and other support CSS3 can show you if you want to fully support the browser can be used in GIF animation code with a detailed explanation there is not much to say? 1. [Code] Pre-lo
arrays vararr = []; $(". Box"). Slice (start, end). each (function() {Arr.push ($ ( This). Outerheight ()); }) //cycle, change the position of the shortest picture every time$ (". Box"). each (function(n) {//get the shortest picture and where it appears, starting with 0 varMinhei = Math.min.apply (NULL, arr); varPosit =$.inarray (Minhei, arr); //The left margin of the image that will appear is the position *box length varwidth = posit *box; //if it's the pict
var index=0;
function Loadpic (index) {
var $html =$ ('
However, from the user experience point of view, it is unfriendly to wait for a picture to load and then proceed to the next load. The data provider should be able to direct the image height to the server and return it to the JSON data. Speed is very slow time, to wait for a long time, and then suddenly the pictures are out, do not feel very strange? In particular, third-party interfaces. It's a big problem if
and the last floating layer of the top value to determine the execution of the scrolling event $ (window). Scroll (function () {if(checkscroll) { for(varI=1;i8; i++){ varobox=$ (""). AddClass ("Box"). AppendTo ($ ("#main")); varopic=$ (""). AddClass ("pic"). AppendTo ($ (obox)); $(""). attr ('src','images/'+ i +". jpg"). AppendTo ($ (OPIC)); } waterfall (); }}) function Checkscroll () {varlasttop=$ ("#main >div"). Last (). Offset (). Top+=math.floor ($ ("#main >
0 15px #666;position:Absolute;text-align:Center; }. Item>img{Height:Auto;width:280px;Display:Block;margin:10px; }Jquery:$(function(){ //use an array to hold the file name of the picture varPicturesources = [ "31bbb105bf1ce318ffd72de5fd601614edda4cd61d278-ijoirf_fw658.jpg", "57a70575f8a78ffe9d65297e0f75be89a61f14fa3988b2-lgcvah_fw658.jpg", "6182b15541cb11f6de40ccd9be7239861ba946de26304
Analysis: waterfall flow, 2 kinds of practices(1) absolute Positioning scheme: Each cell is set to absolute positioning, through the calculation, set top separately, left can be achieved(2) floating scheme: make n Column layout (floating), then the picture data, sequentially inserted, such as n is 3 columns, the first picture is inserted into the first column, the second picture is inserted into the second column, the third picture is inserted into th
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.