After reading a lot, I think jquery scrollable is excellent.
From: http://paranimage.com/8-kinds-of-transition-effects-javascript/
Eight JavaScript transition effects, CoverFade in and fade out, flip effect, slide, zoom, and fly in/outAnd
A lot of blogs from Stefan tilkov recentlyArticleTalking about the powerful functions of JavaScript, I do not know that it is related to the recent series of JavaScript-based network applications that provide powerful user interfaces. For example,
When a function needs to use a value that remains unchanged during the call process, it is more convenient to use the function object attributes than to define global variables (which will make the namespace more dispersed. For example, suppose we
When determining the function type, we usually use the typeof method. In general, it will get the expected effect. However, we are not familiar with some details. After analyzing these
I don't know why I couldn't debug JavaScript on IE8 of my computer two days ago. I checked the option "Disable script debugging (Internet Explorer)" in the IE option, but it didn't take effect, if it is enabled again, It is selected.
Find a lot of
Every Ajax framework extends JavaScript and provides many common functions, enhancing the development efficiency of JavaScript. Here we will give a brief introduction to some common functions in Dojo. Because many common functions of dojo are used,
Window. onload = Init; function Init () {/*** pay attention to the use of the For Loop and for in loop ** for in loop with arrays or objects, but for nodelist, there is no problem under Firefox, but there will be a problem under ie * at this time we
JS operation FCKeditor
Using JavaScript to retrieve and set the FCKeditor value is also very easy, as shown below:// Obtain the HTML content in the editorFunction geteditorhtmlcontents (editorname ){VaR oeditor = fckeditorapi. getinstance
Usage:Example:/** Positive integer matching expression */VaR pattern =/^ [0-9] * [1-9] [0-9] * $ /;VaR flag = pattern. Test ();If a is a positive integer, the Boolean value of flag is true. If a is not a positive integer, the Boolean value of flag
There is a strange demand in recent work that requires passing parameters between static pages.
I am wondering how to obtain parameters for a pure HTML static page?
Then I suddenly thought of JavaScript to solve all the problems ......
Next,
A piece of code of the sudoku game forgot to use a search algorithm with the depth-first or breadth-first, and used some probability algorithms for improvement. In this case, I was afraid that I would accidentally delete it in a few years, g. JS
13. Observer mode in Javascript design mode ---- observer
Let's sort out the observer model today.Concept
For ease of understanding, let me first give an example in real life: in the happy boys' game, it is actually a manifestation of the observer.
After obtaining a page, webbrowser can execute script functions on the page. For example
Htmlelement. invokemember () method
Or
Htmldocument Doc = webbrowser1.document;
Doc. invokescript (jsfun, new object []... {jsparameter });
But does Java's
Copyright Notice
Respect Original Works. Reprinted, please maintain the integrity of the article, and in the form of a hyperlink to indicate the original author "tingsking18" and the main site address, so that other friends can ask and
Chapter 7 Regular Expressions
7.1 In JavaScript, regular expressions are an improvement and development of Perl.7.2, ^ indicates the start of a string, and $ indicates the end of a string.7.3 ,(? :...) Indicates a non-capturing group ).7.4, (...)
// 8
A js (Part 2) that allows you to draw lines, polygon, circles, fills, and other functions at Will on the page)
Function mkov2d (left, top, width, height){VaR S = This. Stroke;Width + = s-1;Height + = s-1;VaR A = width> 1, B = height> 1,Wod =
When writing JS scripts, the code similar to the following always produces inexplicable problems and cannot be located. Function classname ()
...{
VaR _ HANDLE = NULL;
Function intervalfunction ()
...{
Alert ("Run intervalfunction ()");
Window.
We often need to dynamically add various attributes to the element in Javascript, which can be achieved by using setattribute (), which involves the compatibility of the browser.
Setattribute (string name, string value): adds a new attribute with
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