Web pages need to display the latest web site information, such as micro-blog dynamics, ticket information, road monitoring and other projects in the common real-time data scrolling effect, we can use jquery to achieve the front-end information scrolling effect. This article we will combine examples to explain how to use jquery to achieve the scrolling effect of
HTML tags- can achieve a variety of scrolling effects, without JS control. Use the marquee tag not only to move text, but also to move pictures, tables, and so on. Just enter the content you want to scroll inside First, label properties1. Scrolling direction Direction(including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior(scroll: cyclic
Demo downloadBrief introductionToday we often see full-screen websites, especially foreign websites. These sites with a few large pictures or color blocks to do the background, and then add some simple content, appear exceptionally high-end atmosphere of the grade. such as the introduction of the IPhone 5C page (view), the official website of the QQ browser. If you also want your website can design perfect screen, appear more on the grade, you can try Fullpage.js.Fullpage.js is a jQuery-based pl
Fullpage.js is a jQuery-based plugin that makes it easy and easy to make full-screen web sites.Download source codeParametersKey Features
Support Mouse Scrolling
Support for forward and backward and keyboard control
Multiple callback functions
Support phone, tablet touch events
Support CSS3 Animations
Support for Window Scaling
Auto Adjust when window is scaled
You can set scro
jquery Scrolling Effect Plugin waypoints
Waypoints is a jQuery used to capture various scrolling events, such as browsing without paging, or fixing an element to keep scrolling and so on. Supports the mainstream browser version.
Online Demo: http://imakewebthings.github.com/jquery-waypoints/infinite-scroll/
Download Address: http://imakewebthings.github.com/
JavaScript I think we've all seen a variety of scrolling (the most commonly used in the news update above), generally as long as not a picture, are using HTML itself to provide a very good scrolling mark--marquee to complete (with JS can also achieve this effect) Of course it's not that pictures can't do that.
The following are some of the basic parameters of marquee:
The tag syntax is formatted as follows:
Click and scroll, which one is friendlier to the user? This is a problem that designers must consider when designing the page browsing process. Use clicks to give users a bunch of links and take them to a new page; with scrolling, all content is displayed in chunks on a single page.
Many years ago, the simplest answer to the question was to use a click. The usual consideration is that if you make your page too long, the user will just look at the top
For some time, I have been tossing about various problems of Mobile Page Auto-rolling. I did some research. Today I will share a little bit ~
In traditional PCs, the height of sub-containers exceeds the height of the parent container. Generally, overflow: auto can be used to display the overflow content by dragging the scroll bar. in mobile web development, because browser vendors have different systems and versions, some models do not support elastic scroll
First look at the HTML skeleton, as follows:
The structure is simple and clear, nothing to say.
Talk about the implementation principle:
Div Box is the outermost box, give it a specified width, remember to add a Overflow:hidden (beyond the content hidden) style to box, because the scroll must be beyond box.
We through JS control ul tag margin to achieve scrolling. The lateral scrolling is
HTML code
2. CSS Tutorial Codebox{width:150px height:25px;line-height:25px; border: #bbb 1px solid; overflow:hidden;}. box ul{margin:0; padding:0}. box li{height:25px; line-height:25px; font-size:12px; text-align:center; list-style-type:none;}
3, JS codefunction StartMarquee (lh,speed,delay,index) {/*Parameters for function StartMarquee:LH: The distance or height at which text scrolls up at a time;Speed: rolling speed;Delay: The time interval of rolling pause;Index: The encapsulated function c
Today we often see full-screen websites, especially foreign websites. These sites with a few large pictures or color blocks to do the background, and then add some simple content, appear exceptionally high-end atmosphere of the grade. such as the introduction of the IPhone 5C page (view), the official website of the QQ browser. If you also want your website can design perfect screen, appear more on the grade, you can try Fullpage.js.The main functions are:Support Mouse ScrollingSupport for forwa
The automatic scrolling effect of the page, which can be implemented by JavaScript,But there is an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic
Seamless uninterrupted picture vertical scrolling effect:Vertical scrolling Effect Although the use of frequency does not have a high level of scrolling, but there are a lot of use, such as the vertical scrolling link effect, the following examples of how to implement this effect, the code example is as follows:The abo
Enable Automatic Page scrolling
Automatic Page scrolling is divided into rolling subtitles on the page and automatic scrolling of the entire page. The scrolling subtitles on the page can be used to publish information such as "announcement version" or "Latest News" on the webpage, the automatic
Page Auto-scrolling effect, can be implemented by JavaScript, but today inadvertently found an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic
Scrolling subtitles are commonly known as the Happy Lights, the Web page has a scrolling subtitles is still very bright eye. The first time to create their own scrolling subtitles when the excitement overwhelmed. Do you want to also learn how to make a scrolling caption? blue1000.com teaches you to use Dreamweaver soft
Page Auto-scrolling effect, can be implemented by JavaScript, but today inadvertently found an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic
Page Auto-scrolling effect, can be implemented by JavaScript, but today inadvertently found an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic
also has many drawbacks. We cannot use the usual videoview in the list. Videoview extension Surfaceview and Surfaceview do not have a UI synchronization buffer. All this will lead us to the situation where the video is being played and trying when you roll it up to catch the list. The sync cache exists in Textureview but no videoview is based on Textureview on Android SDK version 15. So we need to expand Textureview and work with Android MediaPlayer view. In addition, almost all methods, from (
Page Auto-scrolling effect, can be implemented by JavaScript, but today inadvertently found an HTML tag-Use marquee tags not only to move text, but also to move pictures, tables, and so on.Syntax:Important attributes:1. Scrolling direction direction (including 4 values: Up, down, left, and right)Syntax: 2. Scrolling mode behavior (scroll: cyclic
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.