I did not change anything from the one I sent you before. No Time![]()
I did not change anything from the one I sent you before. No Time![]()
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
OK... not sure if this would be helpful... been working on a responsive upgrade for one of my sites... still haven't upload yet so can't test this on a small device, seems to work resizing the browser. Love the colorbox mod... way easy to install.
Running Zen 1.5.1
Responsive blue... can't really say it's blue anymore..
jquery 1.10.2.min
jquery colorbox v1.4.4 (2013) to fix an conflict, had to upgrade colorbox and jquer min..
added this just above the </head> tag in template html_header.php file
In testing the colorbox resized to meet the screen width... hopefully I can test it soon live...Code:<script type="text/javascript"> // Make ColorBox responsive jQuery.colorbox.settings.maxWidth = '95%'; jQuery.colorbox.settings.maxHeight = '95%'; // ColorBox resize function var resizeTimer; function resizeColorBox() { if (resizeTimer) clearTimeout(resizeTimer); resizeTimer = setTimeout(function() { if (jQuery('#cboxOverlay').is(':visible')) { jQuery.colorbox.load(true); } }, 300); } // Resize ColorBox when resizing window or changing mobile device orientation jQuery(window).resize(resizeColorBox); window.addEventListener("orientationchange", resizeColorBox, false); </script>
I got the code from another forum post, and was looking at the same answer for myself, thought I'd pass it along.
Dave
Always forward thinking... Lost my mind!
Last edited by DivaVocals; 10 Nov 2013 at 05:24 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
So I just sent niestudio the Colorbox module with all of the recent changes included. I even updated the colobox version to the latest version. He will be submitting it soon..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
This is reason that I can not find it in plugins @@
Our Site: http://zucando.com
Marketing Plugins: Marketing Modules
Free Response Templates: Responsive Templates
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.