Words do not say more, attached to the example code, for your reference only
Disable dropdown box
The Drop-down box disables
$ ("select"). each (function () {
$ ("#" + this.id). attr ("Disabled", true);
Enable Drop-down Box
The
Words do not say more, attached to the example code, for your reference only
Disable text boxes
The text box disables
$ ("input[type= ' text ')"). each (function () {
$ ("#" + this.id). attr ("Disabled", true);
Enable text boxes
The
Copy Code code as follows:
{$ Phpcms[sitename]}
Shared by Email
Shared by IM
Posted to Blog/website href= Span>
JS Code
Copy Code code as follows:
CSS code, the two CSS
Effect chart
netizen Love sing hung People's list with love singing software record upload song to the Netizen to sing!
The most songs each week to the top of the list of people, take love to sing Bag! 01mp3 format--True ...
&L t;head> My navigation menu _ Cloud Habitat //filter:shadow (color= #aaaaaa, direction=135) var itemsnum=0;
var displayflags = ' block '; Function menu (menuid,menuwidth,menuheight,menutop,menuleft,itembranchnum,parentmenuid)
compatible ie6,ie7 menu highlighting cloud-dwelling community cloud-Habitat Community Cloud Habitat Cloud Habitat Cloud Habitat Community Community
[Ctrl + A All SELECT Note: If the need to introduce external JS need
Add the following code between and
----------------------------------
----------------------------------
Replace the following code label
----------------------------------
----------------------------------
Insert the following code between
Online collection of integrated, it is plagiarism, IE6 used, the others did not try.
share 2007 Year 06 Thursday, 14th 4 Month Vacation personnel list released please submit the April traffic fuel invoice as soon as
Now the Drop-down menu is more and better compatibility, do not use the best JS, but if you can use the least code to achieve the effect, is also a good first, the use of JS, but very short, also very clear
under the Hanging menu
comparable to Flash JS navigation menu ; TD bgcolor= #666699 > b &
Lt;/body>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
Web Page mimic desktop Right-click menu Right-click mouse to see-_-!
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
The special effects need to use the relevant pictures, such as the effect of leather clothing, please download the relevant pictures to local use.
Tencent QQ Web page online customer service, hidden in the web side of the looming effect
Encountered a number of JS grammar problems, do not understand thoroughly, bad repair basic skills!
Anonymous functions an anonymous function
No name is called "anonymous function", like this
function (x,y) {return x+y}
No name, of course, can
Position is an object defined in prototype that provides a location-related method for manipulating the DOM and a good understanding of where elements are located on the page, which can be referenced in this article: relatively absolute
The
This section provides a number of features related to form operations, including the following sections, which can be invoked directly through the $ (element). Method () When the element is returned through the $ methods:
Form object: Provides some
The following is an introduction to the extended portion of the prototype string object:
This section mainly adds several useful methods to the string object:
strip ():Remove white space on either side of the string, such as "JJ". Strip ()
Before writing this guide, introduce what prototype is mainly about, and if you are more concerned about the application of ajax/javascipt, you should have heard of this JavaScript framework long ago. Prototype is a basic JavaScript application
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