In order to see boxes with pictures, wookmark needs to run.
After...
var handler = $('.box');
handler.wookmark(options);
...the boxes overlap because images have their height not set.
If i measure the height with javascript and set the , then executing wookmark again fixes the problem.
PROBLEM:
handler.wookmark(options); seems to run async, so sometimes the javascript runs, when boxes with images are not visible yet and measures a height of 0 and sets it on the tag.
This can be hacked around by using setTimeout(...)and waiting a bit for wookmark to finish before measuring the height.
Can wookmark PLEASE support a callback to tell when its done finishing whatever its doing, so that i can do whatever i need to do? That would be awesome.
In order to see boxes with pictures, wookmark needs to run. After...
...the boxes overlap because images have their height not set. If i measure the height with javascript and set the
, then executing wookmark again fixes the problem.
PROBLEM: tag.
handler.wookmark(options);
seems to run async, so sometimes the javascript runs, when boxes with images are not visible yet and measures a height of 0 and sets it on theThis can be hacked around by using
setTimeout(...)
and waiting a bit for wookmark to finish before measuring the height.Can wookmark PLEASE support a callback to tell when its done finishing whatever its doing, so that i can do whatever i need to do? That would be awesome.