jquery beautification scroll bar plugin jscrollpane application (GO)

Source: Internet
Author: User
Tags repetition

Original address: http://www.jqcool.net/jquery-jscrollpane.html

JScrollPane is a very flexible, cross-browser jQuery that maps the browser's default scrollbar or the scroll bars that appear when an element overflows to an HTML structure, making it easy to use CSS to define scrolling styles. Let's take a look at this powerful and flexible way to use JScrollPane.

Introducing the core file for more convenient use, the MouseWheel library is introduced here

 <!--styles specific to Demo site--><link type= "text/css" href= "Style/demo.css" rel= "stylesheet" media= " All "/><!--styles needed by jscrollpane-include in  your own sites Link type= "text/css" href= "Style/jquery.jscrollpane.css" rel= "stylesheet" media= "All"/><!--the Styles for  the lozenge theme--><link type= "Text/css" href= "Style/jquery.jscrollpane.lozenge.css" rel= " Stylesheet "media=" All "/><!--latest JQuery direct from Google ' 

Building HTML

<div class= "Scroll-pane" ><p>since April 8, no new electronic signals have been detected, which could mean that the batteries that provide power to the black box recorder's location detectors may have been exhausted.   These batteries can only last for about one months, and this period has expired.   When officials are sure they won't hear any more voices, they'll send out a scuba robot. Australian Prime Minister Abbott said 12th that the search for Malaysian Airlines ' MH370 flights could continue for quite some time because the pulse signal from the airliner's "black box" is rapidly weakening. </p>Huilongguan Hospital chief physician Wang Jian introduced, in the past emergencies, the family mainly concentrated in the sad mood, the horse aviation lost in the joint incident, with some information has been confirmed and denied, the family appeared some anxious mood.   In the first three days of the incident, the family in the emotional shock period, accompany and guardian is the psychiatrist do the most things, "We are more to the family to pass a cup of water, send some first aid medicine, and so they accept us a little, we then slowly sit down to talk, to enlighten." Wang said that in order to facilitate the psychological relief of the passengers ' families, Huilongguan Hospital established a psychological outpatient service for the family members of the Malaysian Airlines in March, and opened a green channel for their families. Wang Jian suggested that for the family as soon as possible to enter the emotional recovery period, should not go to see some unfounded information on the Internet, as soon as possible to calm the mood, acceptance of self, and in the presence of psychological problems, take the initiative to contact the Doctor</p> <p>                  All the long-drawn black boxes are dead. At the current level of human technology, the water listener can descend to thousands of meters to try to detect the signal of the flight recorder ultrasonic positioning beacon, but the location beacon in the underwater sound wave range is very limited, about 2000 meters. In addition, small submarines equipped with side-sweep sonar can also be used to explore aircraft debris, but the search process is very slow, about 50 square kilometres per day.   Therefore, even if the search is uninterrupted for 24 hours, it would be impractical to search the entire possible sea area, which would take decades. More importantly, in the two crashes, the black box eventually went out of power.   After that, the search job becomes very difficult. In addition, on the search mission, two accidents were determined by the final search range is very large, Air France AF447 about 17,000 square kilometers, and the plane crashed in the depth of the sea, conditions are very harsh.   Many people think that the investigation team will never find a plane, and the same is true of MH370. There are too few clues to the difference. Air France even looking at the wreckage for 2 years in the ocean eyeing like "finding needles in the haystack." At the moment, it seems that rescuers are most in need of clues to "finding needles". From the case of Air France, AF447 has a lot of clues about the location of the crash, and MH370 has nothing.   AF447 had the location of the last known location from the satellite and finally found the floating wreckage, and even so, it took 2 years for the investigation team to find the black box. Most crucially, the Air France flight has access to information on the critical crash location through the aircraft transponder machine. The system automatically sends out 24 reports within 4 minutes. These clues allow searchers to draw a "search area" on the map.   The system was installed on the Pegasus flight but was artificially closed.   It should be seen that most of the time spent on the search for an Air France airliner was planned, and the Air France investigation group spent 10 weeks searching for it, 8 weeks in a preview of a possible fall zone.   Therefore, determining the search scope is the most important thing, but from the MH370 case, it is very difficult, because there is no clue now.   Compare search and Rescue difficulty Malaysia's larger search-and-rescue area the world's worst Air France AF447 landed at the top of an underwater mountain range, and the climate and airflow were also very complex, but the ocean conditions did not look very harsh, and fortunately it was possible to carry out search activities. The MH370 's crash range is even more complex and may be more demanding than anywhere else on earth. Its "end" waters are located in remote parts of the southern Indian Ocean, one of the world's worst and most isolated areas, and the waves are rife.   The plane is likely to have sunk into the 4500-metre-deep seabed, and the topography of that area has not been fully mapped by ocean scholars. In addition, MH370 's search range is 3 times times the size of the AF447, and even so, the area where the plane is likely to exist.                 Coupled with the bad weather conditions and sea conditions in the suspected area, the waves could not even allow the search team to salvage the wreckage of the aircraft.</p> </div>

Write JS

$ (function() {    $ ('. Scroll-pane '). JScrollPane ();});

Parameter options

$ ('. Scroll-pane ')). JScrollPane (Showarrows-Boolean(default false)//show arrows on both sides of the slider barmaintainposition-Boolean(default true)//keep the original positionSticktobottom-Boolean(default false)//slip to the bottom of theSticktoright-Boolean(default false)//the far right of Lake Avenueautoreinitialise-Boolean(default false)//Auto-load slide bar appearsAutoreinitialisedelay-int(default500)//time delay for automatic loadingVerticaldragminheight-int(default0)//Minimum height for vertical dragVerticaldragmaxheight-int(default99999)//Maximum height of disposal dragHorizontaldragminwidth-int(default0)//Horizontal Drag lengthHorizontaldragmaxwidth-int(default99999)//Maximum length of horizontal dragContentwidth-int(defaultUndefined//inner width of the insideAnimatescroll-Boolean(default false)//scrolling Animationsanimateduration-int(default300)//Animation delayAnimateease-String (default' Linear ')//Animation Trackhijackinternallinks-Boolean(default false)//Intercept Internal linksVerticalgutter-int(default4)//dispose of the length without losingHorizontalgutter-int(default4)//level does not lose lengthMousewheelspeed-int(default10)//Mouse Pain SpeedArrowbuttonspeed-int(default10)//speed of the arrow key buttonArrowrepeatfreq-int(default100)//button Event Repetition frequencyArrowscrollonhover-Boolean(default false)//Take over the action of the mouse over the arrow keysverticalarrowpositions-String [Split|before|after|os] (defaultSplit//position of the button in the vertical directionhorizontalarrowpositions-String [Split|before|after|os] (defaultSplit//position of the button in the horizontal directionenablekeyboardnavigation-Boolean(default true)//whether to accept keyboard operationHidefocus-Boolean(default false)//Hide FocusClickontrack-Boolean(default true)//Click Action on the pathTrackclickspeed-int(default30)//Click Speed on the interactive trackTrackclickrepeatfreq-int(default100)//repetition frequency on a sliding track );

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.