Trying to embed an Apple iPhoto style skimming widget into a jQuery Tools Tab. The skim script is borrowed from here:http://vormplus.info/jquery-skim/
Embedding this widget in a jQuery Tools Tabs pane is no problem as long as it is on the first shown pane. If the widget is on a hidden pane, the skim script is run only on the pane without the widget, i.e. without the images to take widths and heights from, without obviously no result. As soon as as the hidden Tabs pane that does have the widget an images, is activated and shown, nothing happens, because the skim script is not executed again to take heights and widths of the newly rendered images.
Is there a workaround to make this work, e.g. by binding the script not to the loading of the window event, but instead to unhiding a Tabs pane?
$(document).ready(function() {
$(window).bind("load", function() {
$(".skimmed").skim();
});
});
Embedding this widget in a jQuery Tools Tabs pane is no problem as long as it is on the first shown pane. If the widget is on a hidden pane, the skim script is run only on the pane without the widget, i.e. without the images to take widths and heights from, without obviously no result. As soon as as the hidden Tabs pane that does have the widget an images, is activated and shown, nothing happens, because the skim script is not executed again to take heights and widths of the newly rendered images.
Is there a workaround to make this work, e.g. by binding the script not to the loading of the window event, but instead to unhiding a Tabs pane?
