Firefox cannot obtain cssRules. the solution is too BT. it always adds boring security permission settings. in the past few days, the Qzone FF compatibility was discovered. after domain is set, CSS rules of styleSheets cannot be obtained in FF.
Make the background so dim (a method to adjust the background color of the page when a prompt is displayed). some people asked about this effect in the forum a few days ago. I am free to study it today. I made the original mark, because I did not
Javascript event description onblur :( used in form elements, executed when the element loses focus)
Onchange :( used in form elements, when something changes, it is executed)
Onclick: (execute when you click an element)
Ondblclick: (double-click
Many friends asked me about the code of the scroll navigation bar on the top of the Blog in various ways. In fact, there is nothing special, but since there is a need, I will sort out this part of the code for your reference.
The code is as
Prototype1.4 has seen a series of similar functions before:
Function $ (s) {return document. getElementById (s );}
I think it is very simple and practical. it was originally in the prototype library.
Now that you have a Chinese manual, it seems
This article mainly introduces jquery's vertical navigation menu with the shrinking function. click to expand and collapse the navigation menu, if you are interested, you can refer to this article to introduce how a common navigation menu is
Code that can only be accessed by clicking an advertisement
SCRIPT click here after all ads [Ctrl + A Select All Note: If you need to introduce external Js, you need to refresh it to execute]
IP Address Input box
if (event. keyCode = 13) event. keyCode = 9; script var IPlikeInputStr = []; for (var I = 0; I "+ (I = 3? "": "."); Document. write ("" + IPlikeInputStr. join ("") + ""); script [Ctrl + A Select All Note: If you need to
This article describes how to jump to a page through a prompt box in JavaScript. For more information, see the following code:
DocumentScript window. onload = function () {// Set var btn = document when the page is loaded. getElementsByTagName ("
Make the ad code no longer affect the loading speed of your web page. when you make some alliance advertisements, the overall page display speed will also slow due to the slow loading of alliance advertisements, if the following code is added, this
How to use javascript to drag Javascript is characterized by dom processing and webpage effects. In most cases, we only use the simplest functions of this language, such as creating image Carousel/webpage tabs, this article will show you how to drag
This article mainly introduces Backbone. in the js framework, the simple View is used to write study notes. Backbone is a highly popular JavaScript MVC framework. if you need it, you can refer to the traditional method of using jQuery to operate the
You can query MSDN by controlling the detailed parameters of the wmplayer player on the webpage.
Http://msdn.microsoft.com/library/default.asp? Url =/library/en-us/wmplay/matrix SDK/settingsobject. asp
Beautiful imitation flash menu, from Blue Classic
Script/*Http://lexrus.blueidea.com
This is the function that binds the event action to the menu.*/Function attachXMenu (objid ){Var tds = objid. getElementsByTagName ('TD ');For (var I = 0; I
Special characters, regular symbols, and code comparison table
Special characters, regular symbols, and code comparison table
Special characters, regular symbols, and code comparison table Webdings Wingdings Wingdings 2 Wingdings 3
The compatibility between IE and Firefox in Javascript is compiled below to replace Internet Explorer with IE and replace Mozzila Firefox with MF
1. document. form. item problems(1) existing problems:Many statements such as document. formName. item
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