molgyk
Results 1 - 1 of 1
bymolgyk, July 2, 2009
Excellent plugin!
I like them as lightweight as possible and with the right parameters! SmoothGallery turned out to be my choice among many other slideshow plugins.
Tiny bug that should probably corrected:
When logged in through a publisher account (maybe editor as well?), Joomla! uses the domready event that usually triggers the gallery construction. This interferes with the construction and results to a simple list of images without any formatting.
A possible solution (works for me) is to change line 42 in /plugins/content/smoothgallery/smoothgallery.class.php:
$script .= ' }' . "\n" . ' window.onDomReady(startGallery);' . "\n" . '' . "\n";
to:
$script .= ' }' . "\n" . ' window.AddEvent(\'domready\', startGallery());' . "\n" . '' . "\n";
I don't know too much about javascript but this seems to be a more correct way to implement it as it will register the function even if other functions are registered for the domready event.
I like them as lightweight as possible and with the right parameters! SmoothGallery turned out to be my choice among many other slideshow plugins.
Tiny bug that should probably corrected:
When logged in through a publisher account (maybe editor as well?), Joomla! uses the domready event that usually triggers the gallery construction. This interferes with the construction and results to a simple list of images without any formatting.
A possible solution (works for me) is to change line 42 in /plugins/content/smoothgallery/smoothgallery.class.php:
$script .= ' }' . "\n" . ' window.onDomReady(startGallery);' . "\n" . '' . "\n";
to:
$script .= ' }' . "\n" . ' window.AddEvent(\'domready\', startGallery());' . "\n" . '' . "\n";
I don't know too much about javascript but this seems to be a more correct way to implement it as it will register the function even if other functions are registered for the domready event.
