Thread: Zen Colorbox

Results 1 to 10 of 350

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Zen Colorbox

    I did not change anything from the one I sent you before. No Time

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    Quote Originally Posted by niestudio View Post
    I did not change anything from the one I sent you before. No Time
    If you are going to submit this, then I'll submit an update with the recent changes..
    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.

  3. #3
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Zen Colorbox

    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
    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>
    In testing the colorbox resized to meet the screen width... hopefully I can test it soon live...

    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!

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    Quote Originally Posted by davewest View Post
    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
    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>
    In testing the colorbox resized to meet the screen width... hopefully I can test it soon live...

    I got the code from another forum post, and was looking at the same answer for myself, thought I'd pass it along.
    Just tested this on my smartphone.. hotdamn.. It works!!!

    Okay if other beta testers could weigh in, I'll make some time this week to submit this to the downloads with all the latest updates (including this one) included.. Thanks Dave!!!
    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.

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    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.

  6. #6
    Join Date
    Sep 2008
    Posts
    210
    Plugin Contributions
    21

    Default Re: Zen Colorbox

    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

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Colorbox

    Quote Originally Posted by cvhainb View Post
    This is reason that I can not find it in plugins @@
    Well yeah.. if you go back to the beginning of this post, we do say it's private beta of module that has not been released..
    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.

 

 

Similar Threads

  1. v155 Attribute image swapped for main image using Colorbox
    By soxophoneplayer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Jun 2016, 02:34 PM
  2. Trying to fix inline code with colorbox...
    By toomanyknots in forum General Questions
    Replies: 2
    Last Post: 5 Apr 2015, 04:26 PM
  3. IH and Zen Colorbox vs Zen Lightbox?
    By Feznizzle in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 28 Jan 2015, 02:29 AM
  4. Lightbox OR Colorbox
    By Rizla in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 2 May 2014, 11:55 AM
  5. LightBox, SlimBox, ColorBox, which one is better?
    By waterbender in forum General Questions
    Replies: 0
    Last Post: 13 Aug 2013, 07:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg