Position of the last article in Prototype1.5rc2
Position is an object defined in prototype. It provides methods for operating the location-related DOM. To better understand the Position of elements on the page, refer to this article: Relatively
Note: In JavaScript, The RegExp object in the test method of RegExp object in JavaScript is used for operations related to regular expressions. This object provides a test method to determine whether a string meets a pattern. the return value is
Code for dragging an object
SCRIPT title1 content title2 content [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
If Javascript and vbscript data sharing is flawed, please point out, thank you
1. Common global variables
There are many methods to reference a global variable in browser. You can directly reference this variable or use window. variable is used to
Js tips-use the Escape Character & quot; // blueDestiny, never-online // blueDestiny [at] 126.com
Generally, when we dynamically specify the innerHTML of a iner, we usually do the following:
On the Javascript debugging tool (download) Forum, someone asked about the javascript Debug tool. Here we recommend two javascript debugging tools for you. I will also discuss the debugging methods in the future.
The debugging tool recommended by
How to run the dynamically inserted javascript script code. First, there are many methods to declare. There are both direct and indirect methods, listing only the two modes in general:
Suppose the code we want to load is a. js:
Var foo = function (){
How to load XSL in MozillaGecko with Javascript in Mozilla Develop Center we can see the following article: http://developer.mozilla.org/en/docs/The_XSLT/JavaScript_Interface_in_Gecko:Basic_Example
First, you need to understand how to dynamically
I encountered a problem when I scroll JavaScript from right to left while working a few days ago. I don't want to write Javascript. Please help me with this. Thank you.
Scroll JS Code from right to left:
1. Linear scrolling
Lightbox Effect of sina. You only need to add rel = "lightbox" to the tag. E. g:
Http://image2.sina.com.cn/dy/other/74/U1571P1T74D1184F1625DT20060618123137.jpg rel = lightbox>
I wrote one myself, but it involves two modules (func. js Public Library,
JS control autocomplete0.11 demo and download updated on April 9, January 5 updated on April 9, January 5
Fixed the bug where the focus of the automatically completed text box is missing and the container cannot disappear automatically.
Added the
How to use javascript to determine whether the input date is valid
The Code is as follows:
Function IsValidYear (psYear){Var sYear = new String (psYear );If (psYear = null){Return false;}If (isNaN (psYear) = true){Return false;}If (sYear =
Add to favorites code (compatible with almost all browsers) compatible with IE5 +/Win, Firefox, Netscape 6 +, Opera 7 +, Safari, Konqueror 3, IE5/Mac, and iCab 3.
The Code is as follows:
Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
Thoroughly understand JS seamless rolling code. You have to scroll the code when creating something. It's seamless for a long time, but it still doesn't work.
We are determined to solve this problem. It is not difficult to study the code
How to achieve the progressive expansion of table row clicking! I once saw this effect on a flash RIA site, and the visual effect was really good. Flash developers also probably use this to demonstrate that the dynamic effect of flash applications
InnerHTML is a special case of execution in MozillaFirefox and Opera. This is a problem I saw in the CSDN forum. I usually did not pay attention to it, or I did not use it like this. View code
script var foo = function () {var $ = function ()
The previous chapter of JavaScript advanced programming briefly talks about the use of objects. Now we need to introduce them in detail. Object creation or destruction occurs during JavaScript execution. Understanding the meaning of this paradigm is
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