Javascript compatibility with IE and Firefox highlights _ javascript skills

Javascript IE and Firefox compatibility highlights 1. document. form. item (1) existing problems: Many statements such as document. formName. item ("itemName") exist in the existing code and cannot be run in MF. (2) solution: Use document. formName.

Javascript MessageBox_javascript skills

In the MessageBox of Js, someone on the Forum imitated alert and wrote I wanted to imitate the MessageBox in winapi But unfortunately, js does not support blocking mode. The returned value can only be asynchronous. Support for FF ie opera DOCTYPE

Good news title Color Effect _ javascript skills

Good news title Color Effect The Code is as follows: ScriptFunction getcolor (img_val, input_val ){Var arr = showModalDialog ("selcolor.html ","","DialogWidth: 18.5em; dialogHeight: 17.5em; status: 0; help: 0 ");If (arr! = Null ){Document.

An interesting section of textarea _ form Effects

An interesting section about textarea script Return to previous page or head to Hardwaregeeks.com. [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Several Methods for calling styles using scripts _ javascript skills

Words such as classname and csstext were frequently used before using scripts to call styles, but they do not know how to use them. I recently started to build my website and gained a lot. I would like to share with others who do not understand it.

Regular Expressions and editplus [original] _ javascript skills frequently used for network-based content Replication

Sometimes when we copy content on a webpage, there are always numbers starting with the following: 1. Replace the beginning number in the article The Code is as follows: 1 script23 var tt =/* define tt here */;45 var errCount = 0 // global

Hard drive browsing program, saved as webpage format, you can use _ javascript skills

Hard Disk browsing program. You can use the hard disk browsing program after saving the program as a webpage. Save it as a webpage and place it on a random disk instead of a desktop. The Code is as follows:

JS obtains the IUSR _ machine name and IWAM _ machine name and account password _ hacker nature

JS obtains the password of IUSR _ machine name and IWAM _ machine name. Occasionally, I want to know the password of IUSR and IWAM accounts, but I often forget adsutil. I checked the usage of vbs today and found that the code is actually very simple:

Magic Variable _ JavaScript techniques that drive you crazy in javascript

The magic variable that drives you crazy in JavaScript exists in this variable tt, which satisfies the following code. After the code is executed, errCount = 0 and the asserted function has no alert information The Code is as follows: The Code is

Notes about jQuery _ jquery

When jQuery was used to pay attention to jQuery, it was initially thought that the extension of the dom object was obtained using $ ("# someid, $ ("# someid "). value, $ ("# someid "). text and so on. Unfortunately, the value cannot be obtained. It

Drag Layer Effect, compatible with IE and FF!

Drag Layer Effect, compatible with IE and FF! The Code is as follows: DoDi Chat v1.0 Beta body { text-align:left; margin:0; font:normal 12px Verdana, Arial; background:#FFEEFF } form {

Implementing full-screen ad code in IE is incredibly overbearing. _ ad code

The full-screen advertisement code is implemented in IE, and the overhead is incomparable. ALT + TAB cannot be switched out. Living ..... Script var w1 = window. createPopup () document. write (" ") w1.document.body.oncontextmenu=w1.doc ument.

Js verification form Summary

This article describes the detailed summary of the js verification form, which has some reference value and needs, you can refer to the good JS verification ~~~~~~~~~~~~~~~~~~~~~~~~~ Purpose: Verify the IP address format. Input: strIP: IP

Text with mouse rotation _ mouse Effect

Text that follows the mouse Rotation if (document. all) {yourLogo = ""; logoFont = ""; logoColor = "000000"; yourLogo = yourLogo. split (''); L = yourLogo. length; TrigSplit = 360/L; Sz = new Array () logoWidth = 100; logoHeight =-30; ypos = 0;

Disable refresh and roll back JS _ typical special effects

Do not refresh. JS for rollback

Detect screen resolutions _ typical effects

Detect screen resolution script [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Recommendation: Cool right-click menu _ typical special effects

Recommendation: Cool right-click menu The Code is as follows: 之间输入下面的代码++++++++++++++++++++++++++++++++ --> Right-click to see! Onmousedown = "down = true; pleft = event. clientX-parseInt (plane. style. left );Ptop = event. clientY-parseInt

Double-click the scrolling screen-common recommend_typical Special Effects

Double-click scrolling screen-common recommendations The Code is as follows:

Keyboard Control event application tutorial _ basic knowledge

Getting keyboard control events is one of the most interactive methods. First, you need to know how to initialize the event. The basic statement is as follows: Document. onkeydown = keyDown When the browser reads this statement, the KeyDown ()

Bcastr2.0 common image browser _ javascript skills

Bcastr2.0 universal image browser bcastr2.0 is a universal image browser that can be used in various news systems or blog systems. Main functions: 1. You can read the playback list of xml settings. 2. You can directly write the image address to the

Total Pages: 5378 1 .... 3236 3237 3238 3239 3240 .... 5378 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.