Hello,
I'm building a webshop with virtuemart 2 and downloaded the product images slideshow from linelab (http://www.linelab.org/download)
This wel replace the default_images.php
Now they use for default pikachoose, but the popup has no use as its the same size as the product details page.
Example (click on the image): http://dive2adventure.nl/webstore/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1&virtuemart_category_id=1
Does anyone know what i have to change to keep the pikachoose on the product page and then for the popup i want to use slimbox2
i added the source files as attachment
[attachment cleanup by admin]
I did some digging and i believe i have to change somthing is this line of code
changing the size of "x" and "y" doesn't work
----------------------------------------------------------------------
Code:
function show_gallery(anchor) {
anchor.removeProperty('href');
SqueezeBox.open($('images'), {
handler: 'gallery',
size: {x: 700, y: 700 },
url:'',
onClose:function() {
var gallery=document.id('images');
document.id('images_gallery').grab(gallery);
document.id('pika_anchor').addEvent('click',function() {
show_gallery(this);
});
},
onOpen:function() {
document.id('pika_anchor').removeEvents('click');
}
});
}
jQuery(document).ready(function (){
var a = function(self){
document.id('pika_anchor').addEvent('click',function() {
show_gallery(this);
});
};
jQuery("#pikame").PikaChoose({buildFinished:a});
});