gramps/src/data/Web_styleswitcher.js
Kees Bakker 40f8d655f5 Adding new javascript files to be used by NarrativeWeb and WebCal
* src/data/Web_styleswitcher*.js
	* src/data/Makefile.am


svn: r10867
2008-07-16 07:32:46 +00:00

4 lines
271 B
JavaScript

var StyleFile = "narrative" + document.cookie.charAt(6) + ".css";
document.writeln('<link href="' + StyleFile + '" rel="stylesheet" type="text/css" media="screen" />');
document.writeln('<style type="text/css">!-- narrative' + document.cookie.charAt(6) + '--></style>');