Photoswipe rollback, rimossa chiamata a font mancante su mobile
Signed-off-by: Riccardo Di Dato <r.didato@asdynamics.it>
This commit is contained in:
@@ -391,6 +391,22 @@ GUIHandler::generateHtmlHeaders(array("additionalMetadata"=>$additionalHeaders,"
|
||||
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function loadImage(pos){
|
||||
|
||||
var pswpElement = document.querySelectorAll('.pswp')[0];
|
||||
|
||||
//build items array
|
||||
pos = parseInt(pos);
|
||||
|
||||
//define options (if needed)
|
||||
var options = {
|
||||
index: pos // start at slide
|
||||
};
|
||||
|
||||
//Initializes and opens PhotoSwipe
|
||||
var gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options);
|
||||
gallery.init();
|
||||
}
|
||||
$(document).ready(function(event){
|
||||
// $("video").on('loadstart',function (event){
|
||||
// var wid = $(this).innerWidth();
|
||||
|
||||
@@ -97,19 +97,3 @@ function printNews(newsId){
|
||||
openPagePost("printPage.php",[{name:'id',value:newsId}],true);
|
||||
}
|
||||
|
||||
function loadImage(pos){
|
||||
|
||||
var pswpElement = document.querySelectorAll('.pswp')[0];
|
||||
|
||||
//build items array
|
||||
pos = parseInt(pos);
|
||||
|
||||
//define options (if needed)
|
||||
var options = {
|
||||
index: pos // start at slide
|
||||
};
|
||||
|
||||
//Initializes and opens PhotoSwipe
|
||||
var gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options);
|
||||
gallery.init();
|
||||
}
|
||||
|
||||
@@ -328,6 +328,22 @@ GUIHandlerMobile::generateHtmlHeaders(array("additionalMetadata"=>$additionalHea
|
||||
|
||||
<!-- </div> -->
|
||||
<script type="text/javascript">
|
||||
function loadImage(pos){
|
||||
|
||||
var pswpElement = document.querySelectorAll('.pswp')[0];
|
||||
|
||||
//build items array
|
||||
pos = parseInt(pos);
|
||||
|
||||
//define options (if needed)
|
||||
var options = {
|
||||
index: pos // start at slide
|
||||
};
|
||||
|
||||
//Initializes and opens PhotoSwipe
|
||||
var gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options);
|
||||
gallery.init();
|
||||
}
|
||||
$(document).ready(function(event){
|
||||
|
||||
$("#submit").click(function (){
|
||||
|
||||
@@ -96,20 +96,3 @@ function openMenuWithRegistrationPage(){
|
||||
openRegistration();
|
||||
$(".loginContainer").trigger("open");
|
||||
}
|
||||
|
||||
function loadImage(pos){
|
||||
|
||||
var pswpElement = document.querySelectorAll('.pswp')[0];
|
||||
|
||||
//build items array
|
||||
pos = parseInt(pos);
|
||||
|
||||
//define options (if needed)
|
||||
var options = {
|
||||
index: pos // start at slide
|
||||
};
|
||||
|
||||
//Initializes and opens PhotoSwipe
|
||||
var gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options);
|
||||
gallery.init();
|
||||
}
|
||||
@@ -1,10 +1,4 @@
|
||||
@CHARSET "UTF-8";
|
||||
@font-face {
|
||||
font-family: 'Bebas Neue';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: local('Bebas Neue'), url('BebasNeue.woff') format('woff');
|
||||
}
|
||||
|
||||
a{text-decoration:none;}
|
||||
body{font-family:lato, arial;}
|
||||
|
||||
Reference in New Issue
Block a user