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

add . inframe class if not topwindow to gallery

parent 77226dc0
......@@ -2028,7 +2028,15 @@ cursor:pointer;
padding-top:10px;
padding-bottom:10px;
}
.in-iframe .logo, .in-iframe #left-sidebar, .in-iframe #footer,.in-iframe #intro,.in-iframe #ts_1,.in-iframe #ts_2, .in-iframe #ts_3,.in-iframe #ts_4, .in-iframe #ts_5,.in-iframe #ts_6, .in-iframe #links, .in-iframe #visit, .in-iframe #staff, .in-iframe #WSRC, .in-iframe #education
,.in-iframe #mapsMono,.in-iframe #tourGoogle
{
display:none!important;}
.in-iframe #gallery{
margin-top:-200px;
}
@media (min-width: 768px) {
.content-wrapper-top {
......@@ -2044,7 +2052,7 @@ cursor:pointer;
};
};
......
......@@ -44,22 +44,6 @@ function proxyPopulateAndOpenModal(event,modal_content_id,$filename, $classifica
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);
}
......@@ -103,7 +87,9 @@ function getOwl(){
};
(function(){
if (window.self != window.top) {
$(document.body).addClass("in-iframe");
}
/* GALLERY JAVASCRIPT LOAD CONTENTS */
jQuery.ajax({
type:"GET",
......
Markdown is supported
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