Signin  Pricing  Examples  Support

Libraries > sp_change.js

sp_change.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE http://www.antaresdigicame.org/sp_change.js

Function Explorer



Libraries on www.antaresdigicame.org






Explore More


caption.js

core.js

mootools-core.js

mootools-more.js

sp_change.js
				
´╗┐function changeViewMode( mode, path, day ){
path = path || '/';
day = day || 1;
var exp = new Date();
exp.setTime( exp.getTime() + 1000*60*60*24*day );
document.cookie = "viewmode=" +mode+ "; path=" +path+ "; expires=" + exp.toGMTString();
}


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z