The two solutions in the javascript folder selection box are flawed. But more inclined to the first
Solution 1:
Windows shell is called, but security issues may occur.
* BrowseFolder. js
* This file defines the BrowseFolder () function, which
We should all know the lightbox effects, which are generally used in the display of website photos. Of course, there are more promotional applications, such as facebox, with more beautiful and comprehensive effects. If lightbox is already used on
This article lists 24 suggestions that make your code writing process easier and more efficient. Maybe you are still a beginner in JavaScript and have just finished writing your own HelloWorld. There are a lot of tips that will be very useful for
During online listening to songs a few days ago, I encountered the problem of obtaining the stream play address and LRC File Content Based on the song name. It took me a few hours to sort out the interface for everyone tonight, they are
Added cssstylescript in dynamic creation. compatible with IEfirefox, str indicates the XMLRequest returned through ajax.
/* Dynamically load css style */
Function loadStyle (str)
{
Var regExp_src =/
[^ <>] * /gi;
Var matchArray_src = str. match (
A v3 is generated every day. Fixed a bug where the content width on the left side of firefox was incorrect. Copyright statement: original works can be reproduced. During reprinting, you must mark the original publication, author information, and
This article mainly introduces the parsing, reading, and searching methods of jQueryxml strings, and involves the jQuery Method for parsing, reading, traversing, and querying xml strings, for more information about how to parse, read, and search
The image carousel effect code that is commonly implemented using jquery on the Internet. Demo address: http://img.jb51.net/online/picPlayer/picplay.htm
The Code is as follows:
Pic player
Anyone who wants to learn how to create the jquery plug-in needs to use it. Simplified Plugin:
SimplePlugin.htm:
The Code is as follows:
Simplified plug-in
The specified layer can be moved to any position on the webpage. When the scroll bar is rolled, it remains unchanged at the current position without generating the flashing plug-in code:
/* Floating fixed layer at any position */
/* Do not sword
JavaScript does not prompt to close the current page window, compatible with IEFirefoxChrome (closethecurrentpage%wwithoutconfirmbyjavascript, supportallbrowsers) in IE7/Firefox 3.0/Google Chrome pass the test
CloseDemo.htm
The Code is as follows:
I have been working on ajax for the past two days. I found the ajax cache problem only when I used more. I have requested it many times and got the same result, I often want to do some other things at the same time as the request. I wonder if there
At noon yesterday, a modal window was required for the project. I remembered that the project manager of the previous company had done a very good modal window. So far, I have no idea about the implementation principle, and I have no time to analyze
Add namespaces to your encapsulated javascript library to improve code reusability. After more than 10 js files are introduced to the same web page,
Functions with the same name in each js are prone to conflicts.
For example, the addCssStyle method
Javascript restricts the input and paste of IE and Firefox 2.x, FireFox 3.x, and passes the test
The Code is as follows:
Window ["MzBrowser"] = {};(Function (){If (MzBrowser. platform) return;Var ua = window. navigator. userAgent;MzBrowser.
Analysis of js hexadecimal conversion methods
Character Problems in JS (Conversion Between Binary/decimal/hexadecimal and ASCII code)
Var a = '20140901 ';
Alert (parseInt (a, 2); // convert 111 as a binary value, ignore 60 (not binary ), from
I used this control in the search yesterday, but I don't know why AutoCompleteExtender automatically completed the expansion in IE. The function used with TextBox is similar to entering search words in google, the project in the search target is
The front-end page is refreshed once every five minutes, so there are only five minutes of errors at most. The client uses scripts and the server to keep the request. Each request refresh a time. The server checks the time. If the time exceeds the
Recently, we found a Lightbox made with YUI. It only requires a few settings to display the effect of Window shutdown. First download the JavaScript package:
Http://thecodecentral.com/wp-content/uploads/2007/08/yuilightboxwdep.zip
// Modify the
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