Working now
in script.js changed line 16 (de-minified):
Code: |
g.each(function () {
var a = $(this);
a.data('height', a.outerHeight(true)/(3))
});
|
As for multiple columns I achieved this by changing default.php template line 23:
Code: |
<?php
foreach ($data as $dataItem):
if ($cols<3){
echo '<li class="aripag-item">' . $dataItem . '</li>';
$cols++;
}
else {
echo '<li class="aripag-item">' . $dataItem . '</li>';
$cols=0;
}
endforeach;
?>
|
Also added float: left; in style.css:
Code: |
.aripag-holder li.aripag-item {
float: left;
width: 280px;
list-style:none;
margin:10px 10px 0;
padding:10px;
overflow:hidden;
}
|
I hope that helps someone, maybe the author could include the above functionality in a more elegant and customisable way