jquery Dashboard Indicator Animation plugin 6 instrument styles

Source: Internet
Author: User

Tudou Sync update : http://www.tudou.com/plcover/VHNh6ZopQ4E/ 
use HTML to create a Mac OS App video tutorial. QQ Group: (1) app practice 434558944 (2) App learning communication 452180823 Baidu Network Disk synchronization:/HTTP pan.baidu.com/s/1jg1q58m sharing [Chinese documentary] Internet era Http://pan.baidu.com/s/1qWkJfcS

 

Today we're going to share a cool set of jquery plugins that enable 6 different styles of cool dashboard indicator animations. The background of the dashboard is a picture that dynamically generates some attribute tags, such as the scale and pointers of the dashboard, through jquery. The effect is very good.

Online Demo Source Download

HTML code:

<SpanId="Airspeed" ></Span><span id= "attitude" ></< Span class= "title" >span><span id=  "altimeter" ></span><< Span class= "title" >span id= "Turn_coordinator" > </span><span id=< Span class= "value" > "heading" ></span><span id= "variometer" ></SPAN>              

JavaScript code:

Dynamic examplesvar attitude = $.flightindicator (' #attitude ',' Attitude ', {roll:pitch:-,Size:Showbox:true});var heading = $.flightindicator (' #heading ',' Heading ', {heading:Showbox:true});var variometer = $.flightindicator (' #variometer ',' Variometer ', {vario:-5, Showbox:true});var airspeed = $.flightindicator (' #airspeed ',' Airspeed ', {showbox:False});var altimeter = $.flightindicator (' #altimeter ',' Altimeter ');var turn_coordinator = $.flightindicator (' #turn_coordinator ',' Turn_coordinator ', {turn:0});Update at 20Hzvar increment =0;setinterval (function () { Airspeed UpdateAirspeed.setairspeed (80+80*math.sin (increment/10)); Attitude updateAttitude.setroll (30*math.sin (increment/10));Attitude.setpitch (50*math.sin (increment/20));  //altimeter update Altimeter.setaltitude (10*increment);  Altimeter.setpressure (1000+3*math.sin (increment /50));  increment++;  //TC update Turn_coordinator.setturn (30*math.sin (Increment/10));  //Heading update heading.setheading (increment); Span class= "indent" > //Vario update Variometer.setvario ( 2*math.sin (Increment/10);}, 50);     

 

jquery Dashboard Indicator Animation plugin 6 instrument styles

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.