What values are allowed in the admin "Resize Transition" field, other than FALSE?
Are there different options for the animation effect when the box opens?
What values are allowed in the admin "Resize Transition" field, other than FALSE?
Are there different options for the animation effect when the box opens?
Monsunemoon is hitting the nail right on the head - the correct renaming is important. The file includes/classes/zen_lightbox/slimbox.php specifically calls for these java script files:
This works a treat on both my local and live installs in the 3 major browsers of their individual latest versions.Code:echo '<script type="text/javascript" src="' . $template->get_template_dir('.js', DIR_WS_TEMPLATE, $current_page_base, 'jscript') . '/'; if (ZEN_LIGHTBOX_TRANSITION_EFFECT != 'false') { echo 'zen_lightbox_mootools_custom'; } else { echo 'zen_lightbox_mootools_default'; } echo '.js"></script>';![]()
Mootools is where the effects are coming from... If you followed my 'English' and upgraded to the full mootools, then Fx.Transition is available to you... If you stuck with the old custom version of mootools that came with ZenLightbox, then none.
Just tried this one and it works grate
Fx.Transitions.Elastic.easeInOut
Possibles easeIn, easeOut, easeInOut
Types... linear, quad, cubic, quart, quint, pow, expo, circ, sine, back, bounce, elastic
Easier to Google for Fx.Transitions then to get into code here... with the full mootools build, it's all open... I've tried bounce and elastic they work, some of the others may slow Slimbox down.... By the way... Slimbox is still an active project in Google groups and coders... supported in both jQuery and Mootools libraries.
Dave
Always forward thinking... Lost my mind!
OK, I've jsut installed Fual Slimbox as per the file:///C:/00000000/superfancy%20files/fual_slimbox.v0.1.5/documentation/readme.html
Since I already had Zen Lightbox 1.5 installed, I've also overwritten all the patch files using the fual_slimbox.v0.1.5\zen_lightbox.patch.
I've installed the SQL patch and enabled fual slimbox. However, it's not working at all.
Any recommendfations?
(attempted install is on www.superfancy.co.uk and zen cart version is 1.3.8a)
Last edited by limelites; 3 Nov 2010 at 08:43 AM.
Here is the link: http://mootools.net/download
Seth&Dave,
Thanks for your help. I was struggling to get Chrome to work with lightbox, but after reading this thread you guys made my day.
TJ
The fix stated earlier worked like a champion for myself.
I have a slight concern with the size of the:
zen_lightbox_mootools_custom.js
The file weights in at a pretty hefty 137kb but optimizing it can get you to the 100kb mark.
I have no clue regarding Javascript and to be honest it isn't something on my near sighted to do list to start learning. Theoretically could this file be trimmed substantially or is everything in it a core function?
Steve
Site Under Construction: adatglobal.com
Bookmarks