Hi,
I have a product, with a gallery list view and i want to autorefresh, the preview.
the two scripts from the wiki dont work for me, and the one below neither.
on the other products none of the scripts work.
I use 3 pages on the product, one is a fake preview with the image on the bottle, and one front and one back label.
var refreshURL;
$(document).ready(function(){
if (window.location.href.indexOf("Customization") > 1 ) {
$( document ).ajaxComplete(function() {
refreshURL = $("[nowaitingdiv]").attr("href");
$("#expander_12017").click(function(){
if($(this).html().indexOf('right.PNG') > -1){
if (refreshURL.length > 0)
window.location.href=refreshURL;
}
});
});
}
});
thank you for your help
Tim