Discover scroll up down jquery example, include the articles, news, trends, analysis and practical advice about scroll up down jquery example on alibabacloud.com
I believe that we sometimes show some real-time data display and the amount of data is very large, because it is not possible to see the most effective data on the same page, so we need to put the scroll bar to the bottom, so that we see the most needed data and information; Here's an obvious example, take the ping for Windows, When we are long ping, this time the data will be more and more, and still accum
scrolling defaults to true
HScrollBar False hide scroll bars in horizontal direction
VScrollBar false Hide scroll bars on vertical
Fadescrollbar false Specifies that scroll bars
are hidden when there is no fade effect Hidescrollbar Hide scroll bars By default when no user interaction is true
bounce Enable or disab
Lazyload picture delay loading allows the picture to load when the Drop-down scroll bar, a very good user experience, both reduce the load time of the page, but also reduce the pressure on the server.
How to use:
Using the jquery plugin, plugin name: jquery.lazyload (7kb size), Compressed (3kb size).
1. Direct import of jquery Plug-ins
2. Add the following
As you can see in many personal blogs, Baidu ads now have this effect, but Baidu ads only apply to your own ads, if I want to scroll the left side of a website article with the screen, I need to use js or jquery to implement it. The following two examples are organized for everyone to learn.
Function Description
First, I think this function should not appear in IE6, because IE6 does not support native posit
The default scroll bar style, the compatibility of each version is not very good, recommend a jquery plugin Nanoscroller, you can customize the style of the scroll bar.Application:1. Introducing Style Nanoscroller.csslink rel= "stylesheet" href="Nanoscroller.css"> Customize the style of the scroll bar in the pageT
This article describes jqueryiScroll in detail. how to Use the js mobile scroll bar plug-in and iScroll. js usage considerations, interested friends can refer to what is the most common plug-in daily work, jQurey? Lazyload? But these are all on the PC, but the most common plug-ins on the mobile end are iScroll. What exactly is iScroll and how should it be used? IScroll is a powerful plug-in, and I just want to understand it. here we will briefly intro
Share a page parallax scroll switch jquery. localscroll plug-in, jqueryscroll
Today, we will share with you a jquery. localscroll plug-in for page parallax scrolling. Scroll the mouse animation bar to see the switch Effect on the next page. This plug-in is applicable to browsers such as IE8, 360, FireFox, Chrome, Safar
jquery calculates the length and position of the scroll bar, as follows:
Javascript
Copy Code code as follows:
Scrolling area Content div:Html
Copy Code code as follows:
Total operating income: 1.166 billion yuan (year-on-year growth-1.75%)
Earnings per share: 0.04 RMB
NET assets Yield: 1.58%
Gross Profit margin: 12.22% (growth 39.89%)
Total assets: 3.046 billion yuan (up -7.1
({auto:3000,//delay Time (ms)speed:800,//Single Scroll Duration (ms)Verticalfalse,//whether to scroll up (default to left)Scroll:1//number of elements per scroll},o);varrunning =false, Sizecss = o.vertical? "Height": "width", ulsize = 0;varScrolltimer, Scrolllen, ItemSize, animcss, I;vardiv = $ ( This), UL = Div.find
First consider the outer setting of a container div,id set to #container, so that his height is the height of the browser window, and then the #footer Div is set to the #container of the child Div, and use the absolute positioning of the way, so that he fixed to the bottom of the #container, To achieve the desired div fixed at the bottom of the page effect.
Example 1
Based on jquery
The code i
When I was writing a program yesterday, I used the gridpanel of Jquery and Extjs and found that the scroll bar of the gridpanel was rolled in anyway .. Later, the dynamic data was changed to static data, and the problem was finally solved. But the specific reason is not clear yet. Write out the solution... SyntaxHighlighter. all ();
When I was writing a program yesterday, I used the gridpanel of
Use jQuery to intermittently scroll up a single line of textEffect Web site: http://keleyi.com/keleyi/phtml/textscroll.htm
This effect enhanced version: http://keleyi.com/a/bjac/532bedbffca1affa.htm mainly increased the cursor hover Effect
The source code is as follows:
Jquery special effects single-line text scroll
Jquery scrollUp scroll to the top
Preface: When a page is scrolled to a very low place, if there is a shortcut button to make it scroll to the top of the page, it is naturally required by the user, andJquery scrollUpThis plug-in meets our needs. However, it is obviously ineffective to read articles such as jQuery rolli
When a website displays too much information, there are three solutions. 1. display the information by page. 2. The whole page is displayed, but the page is too long, affecting the browsing experience. 3. Use the scroll bar. The default scroll bar style is too simple and the user experience is unfriendly. So we need to beautify the scroll bar.
The simplest way t
Many methods are found, some cannot be implemented (the width of the scrolled content is unknown, but this method must be known), and others are not fully compatible with these browsers (Ie6,firefox,chrome). Finally, you decide to use jquery's slider control.
1. Download Jquery-1.3.2.min.js,jquery-ui-1.7.1.custom.min.js
2. Html
Copy Code code as follows:
Scrolling content
3. css
This article mainly describes the jquery to determine the scroll bar reached the bottom and reach the top of the method, the need for friends can refer to the following copy code code:$ (document). Height ()//To get the entire page$ (window). Height ()//is the level of the portion of the page that is currently visible to the browser. This size changes when you zoom the browser window size, not the same as d
Click the left and right buttons to scroll the jquery image horizontally. The image is rolled completely and automatically returned to the first page, as shown in the following figure: [html] lt ;! DOCTYPEhtml gt; lt; htmllange quot; en quot; gt; lt; head gt; lt; title gt; click the left and right buttons to scroll horizontally lt;/title gt; lt
Click
Need to use JS to get the scroll bar distance from the top of the window and JS get The size of the browser visualization windowI.related methods of jquery acquisitionBut I'm using the jquery method when there's an incompatibility on the IE6.Second, the use of JS to obtain the relevant methodsGo back to the top of the page $ ("#goTotop"). Click (function () {
JS and jquery get page size, scroll bar position, element position
Copy Code code as follows:
//Page position and window size
function GetPageSize () {var scrw, SCRH;if (window.innerheight window.scrollmaxy){//MozillaSCRW = window.innerwidth + Window.scrollmaxx;SCRH = Window.innerheight + window.scrollmaxy;}else if (Document.body.scrollHeight > Document.body.offsetHeight){//all but IE MacS
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.