Das sind die 22 Kandidatinnen

/* DEBUG console.log("p offset:" + $('#wrapper0dmVf').parent().parent(".inlineDiashow").prev().prev().offset().top ); console.log("p height:" + $("#wrapper0dmVf").parent().parent(".inlineDiashow").prev().prev().height() );
console.log("aID offseet:" + $("#articlefeatID").offset().top ); console.log("aID height:" + $("#articlefeatID").height() );
console.log("p offset + height:" + parseInt($('#wrapper0dmVf').parent().parent(".inlineDiashow").prev().prev().offset().top + $("#wrapper0dmVf").parent().parent(".inlineDiashow").prev().prev().height()) ); console.log("aID offset + height:" + parseInt($("#articlefeatID").offset().top + $("#articlefeatID").height()) );
$('#wrapper0dmVf').parent().parent(".inlineDiashow").prev().prev().css("border","1px solid red"); */
/* if ( ( parseInt($('#wrapper0dmVf').parent().parent(".inlineDiashow").prev().prev().offset().top + $("#wrapper0dmVf").parent().parent(".inlineDiashow").prev().prev().height()) ) < ( parseInt($("#articlefeatID").offset().top + $("#articlefeatID").height()) ) ) { $('#wrapper0dmVf').width("400px"); //console.log("Resizing inlineDiashow"); } */ $(function() { $('#wrapper0dmVf').jScrollPane({showArrows: true}); }); $('#packagedia0dmVf').css('width', $('#packagedia0dmVf li').length * $('#packagedia0dmVf li').outerWidth());