Jquery.jflow得到当前图片路径
jflow是jquery的一个款图片浏览的插件.很小,但很强大,
但是好像用这个的人不多.所以网上的资料很少.下面我就jflow得到当前图片路径提供一个方法
function getcurrentPath(){var currentPath='';var selectIndex=0;var select=$(".jFlowSelected").text(); $(".jFlowControl").each(function (i){if($(this).text()==select){selectIndex=i;} });var selector="#slides span img";currentPath=$(selector).get(selectIndex).src;// alert(currentPath); return currentPath;}?