this module is not remember the last slide correctly
i checked the cookie which set and tried to correct its value but still ignore the cookie
i see it depends on wrong computations how to fix it
note (i added
function hook_init() {
$c=$_COOKIE['id'];
$_COOKIE['gallery_slideshow-block']=end(str_split($c));
drupal_add_js('
jQuery(document).ready(function($){
$("#' . $c . '").siblings().removeClass("active");
$("#' . $c . '").addClass("activeme");
alert("'.$c.'+'.$_COOKIE['gallery_slideshow-block'].'");
$(".views-content-field-image").click(function(){
var id=$(this).parent().parent().attr("id");
document.cookie="id="+id+"; expires=Thu, 2 Aug 2013 20:47:11 UTC; path=/";
location.reload(true)
})
})
', 'inline');
to refresh on click an remember last slide viewed with defined cookie
so why it doesn't read the cookie every time it loads the to find correct one
please help thanks in advance