Parallax scrolling has been widely used in Webpage Design. This technology allows the original plane web page to produce a dynamic three-dimensional effect. The image slider effect shared below is a rare example of combining parallax scrolling. I have shared this with you in previous articles. I would like to recommend it here. Pretty girl is very eye-catching :)Online Demo of source code downloadLink: http://www.cnblogs.com/lhb25/p/parallax-scrolling
important and most commonly used option settings.
Parameters
Describe
Default value
Mode
Set sliding mode, ' horizontal ': horizontal, ' vertical ': vertical, ' fade ': Fade in
Horizontal
Speed
Content switching speed, digital, MS
500
Startslide
Initial slide position, number
0
Randomstart
Random Initial slide position
True
Infiniteloop
Loop slide, if set to
Script> varrangelist=Document.queryselectorall ('[type= "range"]'); for(varI=0; Irangelist.length; I++){ //get the value I traversed in the current period and assign a value to range varRange=Rangelist[i]; Range.onchange=function(){ //range.onchange= event triggered when the value of input has changed //The onchange () event is typically used in user forms, such as events that are triggered when the contents of a text box change, or events that are triggered when the
HTML5 input has an increase of type=range. This provides a great convenience for dragging sliders. Here are his attributes:"en">"UTF-8"> class="Main"> class="value">class="Range"> "Range"max="Ten"min="0"Id="Range"step="0.1"Value="0"> HTML5 Drag the Slider
Implementation results:Implementation principle:
Technology stack:
Javascript+jquery+html+css
Implementation steps:
0. Get element
1. The mouse is placed on the carousel chart, showing the control buttons on both sides, and hiding after moving away
2. Control button binding events for both sides (call the same method with only one argument, true for positive rotation, false for reverse rotation)
Implementation code: "Front end"
Recently do the project, encountered a two-way slider, their realization a bit, casually write ideas, easy to develop later, to avoid duplication of code, paste on the line later. Encapsulated, the code is as follows:
#import
The source files are as follows:
#import "HLDoubleSlideView.h" #import "Uiview+add.h" @interface Hldoubleslideview ()
Use the following:
Hldoubleslideview *doubleslideview = [[Hldoubleslideview all
Switch between full-screen effects based on HTML5 SVG slider and html5svg full-screen Effects
The full-screen slider switching special effect based on HTML5 SVG is a full-screen animation switching special effect code based on jQuery + HTML5. As follows:
Download Online Preview source code
Implementation code.
Html code:
Via: http://www.w2bc.com/article/61953
Today we are going to introduce a special jquery image slider plug-in, which is not only available on PC browsers, but also more suitable for use on mobile Web pages. This jquery plugin not only can define the direction of the picture switch, but also can instantly toggle the animation mode of the picture switch, can have panning, flipping, rotating and slide mode, the animation effect is very good.Online preview Source DownloadCode to implement: h
A jQuery image slider plug-in for mobile phones.
Today, we will introduce a special jQuery image slider plug-in, which can be used not only on PC browsers, but also on webpages on mobile phones. This jQuery plug-in not only defines the direction of image switching, but also allows you to instantly switch the Animation Mode of image switching, including translation, flip, rotation, and slide mode. The animat
This article describes how to zoom in and out images by using a canvas Based on the slider, which has good reference value, next, let's take a look at the small Editor. This article mainly introduces the canvas Implementation of the Image Based on the slider zoom in and out effect examples, with good reference value. Let's take a look at it with the small Editor below.
:
Figure (3) enlarged
The Code is as
This article mainly introduces jQuery's implementation of mobile slider dragging and selection of numbers, jQuery's implementation of mobile slider dragging effect, interested friends can refer to this article to share with you a beautiful and practical effect based on jquery ui. You can drag and drop the sliding effect to select numbers for your reference, the details are as follows:
Run:
Implementation
CJuiSlider displays a slide that can be used to scale an image or use it as another function. it encapsulates the JUIslider plug-in. CJuiSlider displays a slide that can be used to scale an image or use it as another function. it encapsulates the JUI slider plug-in.
In this example, CJuiSlider is used to scale an image:
widget('zii.widgets.jui.CJuiSlider', array( 'value'=>50, 'options'=>array( 'min'=>1, '
This article mainly introduces jQuery's implementation of mobile slider dragging and selection of numbers, jQuery's implementation of mobile slider dragging effect, interested friends can refer to this article to share with you a beautiful and practical effect based on jquery ui. you can drag and drop the sliding effect to select numbers for your reference, the details are as follows:
Run:
Implementation
This is a CheckBox. Using the Style of WPF, you can change a normal CheckBox to this form. However, there are also drawbacks: it can only be a two-state CheckBox. If there is a third State, the style of the third State needs to be added
Vertical slider Effect of CheckBox
The Code is as follows:
Copy code
Instance 2 slider-based CheckBox
The Code is as follows:
C
Vertical slider effect of a checkbox
The code is as follows
Copy Code
Instance 2 slider Way checkbox
The code is as follows
Copy Code
Call
The code is as follows
Copy Code
In Flex, we can use the downarrowskin, uparrowskin, trackskin, and thumbskin methods to set the scroll bar style ..However, due to the design relationship ..The thumbskin of the scroll bar is often set to a "point" or a "Block "..This block is fixed in size. Unlike the built-in flex scroll bar, it will change with the height of the rolling area ..If thumbskin is directly set, the slider will be dropped and deformed ~ Very ugly ..At this time, we can u
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.