Reverted back to the previous fancybox initialization method, added thin_border class for the new document widget, fixed a small typo
This commit is contained in:
@@ -102,6 +102,10 @@
|
|||||||
-webkit-box-shadow: -1px -1px 2px #004977;
|
-webkit-box-shadow: -1px -1px 2px #004977;
|
||||||
box-shadow: -1px -1px 2px #004977;
|
box-shadow: -1px -1px 2px #004977;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.thin_border {
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
{% block stylesheets %}{% endblock %}
|
{% block stylesheets %}{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -126,34 +130,24 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
jQuery("a.fancybox").live('click', function(){
|
$("a.fancybox").fancybox({
|
||||||
jQuery.fancybox({
|
'titleShow' : false,
|
||||||
'href' : $(this).attr('href'),
|
'transitionIn' : 'elastic',
|
||||||
'titleShow' : false,
|
'transitionOut' : 'elastic',
|
||||||
'transitionIn' : 'elastic',
|
'easingIn' : 'easeOutBack',
|
||||||
'transitionOut' : 'elastic',
|
'easingOut' : 'easeInBack',
|
||||||
'easingIn' : 'easeOutBack',
|
'type' : 'image',
|
||||||
'easingOut' : 'easeInBack',
|
'autoScale' : true
|
||||||
'type' : 'image',
|
|
||||||
'autoScale' : true
|
|
||||||
|
|
||||||
});
|
|
||||||
return false;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
jQuery("a.fancybox-noscaling").live('click', function(){
|
$("a.fancybox-noscaling").fancybox({
|
||||||
jQuery.fancybox({
|
'titleShow' : false,
|
||||||
'href' : $(this).attr('href'),
|
'transitionIn' : 'elastic',
|
||||||
'titleShow' : false,
|
'transitionOut' : 'elastic',
|
||||||
'transitionIn' : 'elastic',
|
'easingIn' : 'easeOutBack',
|
||||||
'transitionOut' : 'elastic',
|
'easingOut' : 'easeInBack',
|
||||||
'easingIn' : 'easeOutBack',
|
'type' : 'image',
|
||||||
'easingOut' : 'easeInBack',
|
'autoScale' : false
|
||||||
'type' : 'image',
|
|
||||||
'autoScale' : false
|
|
||||||
|
|
||||||
});
|
|
||||||
return false;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$("a.fancybox-iframe").fancybox({
|
$("a.fancybox-iframe").fancybox({
|
||||||
@@ -178,7 +172,7 @@
|
|||||||
$('img.lazy-load').jail({
|
$('img.lazy-load').jail({
|
||||||
event: 'load',
|
event: 'load',
|
||||||
timeout: 10,
|
timeout: 10,
|
||||||
placeholder: '{{ STATIC_URL }}/images/ajax-loader.gif'
|
placeholder: '{{ STATIC_URL }}images/ajax-loader.gif'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user