Commit 2b5569d6 authored by IngridHaas's avatar IngridHaas
Browse files

try to make it possible to hide everything except gallery when embedded

parent 09451f9f
...@@ -43,6 +43,27 @@ function proxyPopulateAndOpenModal(event,modal_content_id,$filename, $classifica ...@@ -43,6 +43,27 @@ function proxyPopulateAndOpenModal(event,modal_content_id,$filename, $classifica
var win = window.open($filename, '_blank'); var win = window.open($filename, '_blank');
win.focus(); win.focus();
}; };
//
var css = function( callback) {
var head = document.getElementsByTagName('head')[0];
var cssnode = document.createElement('link');
cssnode.type = 'text/css';
cssnode.rel = 'stylesheet';
cssnode.href = "assets/css/embedded_styles.css";
cssnode.onreadystatechange = callback;
cssnode.onload = callback;
head.appendChild(cssnode);
}
//
function getOwl(){ function getOwl(){
//create or recicle owl //create or recicle owl
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
google: {families:['Asap']}, google: {families:['Asap']},
custom: { custom: {
families: ['ViperISRIC','open_sanssemibold','open_sansbold','open_sansitalic','open_sanslight','open_sansregular' ], families: ['ViperISRIC','open_sanssemibold','open_sansbold','open_sansitalic','open_sanslight','open_sansregular' ],
urls: ['/assets/css/fonts/stylesheet.css'] urls: ['/assets/css/fonts/styles.css']
} }
}; };
...@@ -80,7 +80,8 @@ ...@@ -80,7 +80,8 @@
<link href="assets/css/lightbox/lightbox.css" rel="stylesheet" /> <link href="assets/css/lightbox/lightbox.css" rel="stylesheet" />
<!-- styles for this template --> <!-- styles for this template -->
<link href="assets/css/styles.css" rel="stylesheet" />
<link href="assets/css/styles.css" rel="stylesheet" />
<!-- place your extra custom styles in this file --> <!-- place your extra custom styles in this file -->
<link href="assets/css/custom.css" rel="stylesheet" /> <link href="assets/css/custom.css" rel="stylesheet" />
<!-- CSS for the google tour --> <!-- CSS for the google tour -->
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment