You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
430 B
21 lines
430 B
function $_GET(param) {
|
|
var vars = {};
|
|
window.location.href.replace( location.hash, '' ).replace(
|
|
/[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
|
|
function( m, key, value ) { // callback
|
|
vars[key] = value !== undefined ? value : '';
|
|
}
|
|
);
|
|
|
|
if ( param ) {
|
|
return vars[param] ? vars[param] : null;
|
|
}
|
|
return vars;
|
|
}
|
|
|
|
var get=$_GET();
|
|
|
|
if(get['mode']=="no-res")
|
|
{
|
|
document.getElementById("canvasR").style.display="none";
|
|
} |