Reprint to Http://blog.sina.com.cn/s/blog_4de61e0d0102wfy8.html
The reason is that this web page reference (Google services, understand) of the jquery file cannot be loaded, causing the method to fail.
Download the scheme file in studiostyl.es, click the download button does not respond, view the source of the Web page, found that the Download button response function is downloadexisting (n), after some positioning, found the function of the definition of the location in the beginning of the source of the script file introduced, as shown below.
function downloadexisting (n) {
var t=$ ("#downloadVersion"). Val (), I;
Switch (t) {
Case "10.0": t=null;
Case "14.0":
Case "8.0":
Case "9.0":
Case "WebMatrix": break;
Default:t=null
}
I= "/settings/downloadscheme/" +n;
t!=null&& (i+= "? version=" +t);
Document.location=i
}
From the definition of the function can know is to position the page content to the specified location, the address of the specified location as follows, the command input into the browser address bar, enter, pop-up File Download dialog box, it is so simple, ah haha.
Https://studiostyl.es/settings/downloadScheme/6?version=null
The number in the address corresponds to the schemes file id,6 is selenitic, 61 is Son-of-obsidian, 35 is humane studio, etc., can be viewed through the Web page source code. The parameter version is VS, and the default is vs2010-vs2013, which is null.
Questions about the Studiostyl.es website scheme file cannot be downloaded