Html version
Posted: 15 Mar 2013, 17:37
Is there any info regarding the new html version of imagevue?
It is quite long since it was mentioned.
It is quite long since it was mentioned.
<script type="text/javascript" src="<?php echo htmlspecialchars(IV_PATH); ?>assets/colorbox/jquery.colorbox-min.js"></script>
<link rel="stylesheet" href="<?php echo htmlspecialchars(IV_PATH); ?>assets/colorbox/colorbox.css" type="text/css" media="screen" />
<script type="text/javascript">
// <![CDATA[
(function ($) {
$(document).ready(function () {
$("a[rel='colorbox']").colorbox({
maxWidth: "95%",
maxHeight: "95%",
});
});
})(jQuery);
// ]]>
</script>
Thanks for the info.Nick wrote:If you are saying about using it in HTML view you can replace Colorbox <script> tag in iv-inlcludes/templates/default/layout.html:
and then change callback in index.html.phtmlCode<script type="text/javascript" src="<?php echo htmlspecialchars(IV_PATH); ?>assets/colorbox/jquery.colorbox-min.js"></script> <link rel="stylesheet" href="<?php echo htmlspecialchars(IV_PATH); ?>assets/colorbox/colorbox.css" type="text/css" media="screen" />
Code<script type="text/javascript"> // <![CDATA[ (function ($) { $(document).ready(function () { $("a[rel='colorbox']").colorbox({ maxWidth: "95%", maxHeight: "95%", }); }); })(jQuery); // ]]> </script>
Then could you point out the weakest member of the team, or at least the one with the most undesirable secrets so that we might set to work on them.mjau-mjau wrote:Unfortunately, we cannot offer any public news about new version at this point.
I have put the lightbox folder under assets folder, what should I change in the rel=Nick wrote:I don't think so. There is rel='colorbox' attribute on image links. Just use $(a[rel=colorbox]) in selector for the other lightbox script.
<!--Lightbox JS-->
<script type="text/javascript" src="<?php echo htmlspecialchars(IV_PATH); ?>assets/lightbox/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="<?php echo htmlspecialchars(IV_PATH); ?>assets/lightbox/lightbox.js"></script>
<!--Lightbox CSS-->
<link rel="stylesheet" href="<?php echo htmlspecialchars(IV_PATH); ?>assets/lightbox/css/lightbox.css" />
<script type="text/javascript">
// <![CDATA[
(function ($) {
$(document).ready(function () {
$("a[rel='lightbox']").lightbox({
maxWidth: "95%",
maxHeight: "95%",
});
});
})(jQuery);
// ]]>
</script>
<script type="text/javascript">
$(".fancybox").fancybox({
beforeShow : function() {
this.title = '' + (this.index + 1) + ' / ' + this.group.length;
},
thumbs : {
width: 65,
height: 65
},
title : {
type : 'outside',
},
overlay : {
showEarly : false,
closeClick : false,
css: { 'background': 'rgba(102, 102, 102, 1)' },
}
}
});
</script>
<img src="<?php echo htmlspecialchars($this->folder->thumbnail); ?>
<?php echo (t($this->folder->getTitle())); ?>
<?php echo t($this->folder->description); ?>