Page 1 of 2 12 LastLast
Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    83
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I've poked around a great deal and I am not 100% comfortable knowing where the problem really lies. A WC3 Validator shows lots of errors that are coming out of files like attributes.php, but I am not sure this is really the whole story. Not beng a coder, I can't make qualitative judgements on it. Have been trying to get some interest from other smarter folks to be able to comment on this because it is a real problem. I will continue to try and understand what is going on, but for the moment, we need to keep asking for help until the calvary arrives.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Zen Lightbox...

    Lightbox or Slimbox + Flash on site = NO NO, you will get Operation Aborted on IE

    Fix :
    http://www.designlegion.com/rave/fla...-satay-method/
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Jul 2006
    Posts
    83
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I installed a straight up ZenCart site with no addons except for the Gallery2 Bridge. It does not do anything with Java, just pulls the images from the Gallery2 repository site. And I get the I.E. failures. This is what is so perplexing. A straight ZC install works, but the bridge introduces these abberations. Sigh...

  4. #4
    Join Date
    Oct 2008
    Location
    Denver, CO
    Posts
    126
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by yellow1912 View Post
    Lightbox or Slimbox + Flash on site = NO NO, you will get Operation Aborted on IE

    Fix :
    http://www.designlegion.com/rave/fla...-satay-method/
    I didn't have flash on my site when I was getting the aborted problem. I still don't!

  5. #5
    Join Date
    May 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by yellow1912 View Post
    Lightbox or Slimbox + Flash on site = NO NO, you will get Operation Aborted on IE

    Fix :
    http://www.designlegion.com/rave/fla...-satay-method/
    I don't think I've flash on my site either.
    Just used the Developers Tool Kit. Only flash i can find is from jscript_zen_lightbox.php

  6. #6
    Join Date
    May 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I am not sure what is conflicting with IE but I've solved the issue of product page unable to load by deleting this file:
    \includes\modules\pages\product_info\jscript_zen_lightbox.php

    Now my website uploads in IE but Lightbox is disabled/not working.

  7. #7
    Join Date
    May 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    This code was directly copied from:
    \includes\modules\pages\product_info\jscript_zen_lightbox.php

    PHP Code:
    <?php
    /**
     * Zen Lightbox v1.4
     *
     * @author Alex Clarke ([email protected])
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: jscript_zen_lightbox.php 2007-09-15 aclarke $
     */

    echo '<script type="text/javascript" src="' $template->get_template_dir('.js',DIR_WS_TEMPLATE$current_page_base,'jscript') . '/lightbox_lightningload.js"></script>
    <script type="text/javascript" src="' 
    $template->get_template_dir('.js',DIR_WS_TEMPLATE$current_page_base,'jscript') . '/lightbox_prototype.js"></script>
    <script type="text/javascript" src="' 
    $template->get_template_dir('.js',DIR_WS_TEMPLATE$current_page_base,'jscript') . '/lightbox_scriptaculous.js?load=effects"></script>
    '
    ;

    ?>
    <script language="javascript" type="text/javascript"><!--
    var fileLoadingImage = "<?php echo $template->get_template_dir('.gif'DIR_WS_TEMPLATE$current_page_base,'images'). '/zen_lightbox/' 'loading.gif'?>";
    var fileBottomNavCloseImage = "<?php echo $template->get_template_dir('.gif'DIR_WS_TEMPLATE$current_page_base,'images'). '/zen_lightbox/' 'closelabel.gif'?>";
    var overlayOpacity = <?php echo ZEN_LIGHTBOX_OVERLAY_OPACITY?>;
    var overlayDuration = <?php echo ZEN_LIGHTBOX_OVERLAY_DURATION?>;
    var animate = <?php echo ZEN_LIGHTBOX_RESIZE_ANIMATIONS?>;
    var resizeSpeed = <?php echo ZEN_LIGHTBOX_RESIZE_SPEED?>;
    var borderSize = <?php echo ZEN_LIGHTBOX_BORDER_SIZE?>;

    <?php

    if (ZEN_LIGHTBOX_CLOSE_OVERLAY == 'true') {

    echo 
    'var objOverlay = document.createElement("div");
    objOverlay.setAttribute(\'id\',\'overlay\');
    objOverlay.style.display = \'none\';
    objOverlay.onclick = function() { myLightbox.end(); }
            
    var objLightbox = document.createElement("div");
    objLightbox.setAttribute(\'id\',\'lightbox\');
    objLightbox.style.display = \'none\';
    objLightbox.onclick = function(e) {
    if (!e) var e = window.event;
    var clickObj = Event.element(e).id;
    if ( clickObj == \'lightbox\') {
    myLightbox.end();
    }
    };'
    ;

    } else {

    echo 
    'var objOverlay = document.createElement("div");
    objOverlay.setAttribute(\'id\',\'overlay\');
    objOverlay.style.display = \'none\';
            
    var objLightbox = document.createElement("div");
    objLightbox.setAttribute(\'id\',\'lightbox\');
    objLightbox.style.display = \'none\';'
    ;

    }

    if (
    ZEN_LIGHTBOX_HIDE_FLASH == 'true') {

    echo 
    'function hideFlash(){
    var flashObjects = document.getElementsByTagName("object");
    for (i = 0; i < flashObjects.length; i++) {
    flashObjects[i].style.visibility = "hidden";
    }

    var flashEmbeds = document.getElementsByTagName("embed");
    for (i = 0; i < flashEmbeds.length; i++) {
    flashEmbeds[i].style.visibility = "hidden";
    }
    }'
    ;

    } else {

    echo 
    'function hideFlash(){
    }'
    ;

    }

    echo 
    'function showSelectBoxes(){
    var selects = document.getElementsByTagName("select");
    for (i = 0; i != selects.length; i++) {
    selects[i].style.visibility = "visible";
    }
    flashObjects = document.getElementsByClassName(\'' 
    ZEN_LIGHTBOX_HIDE_ME '\')
    flashObjects.each(function(object){
    Element.show(object);
    })
    }

    function hideSelectBoxes(){
    var selects = document.getElementsByTagName("select");
    for (i = 0; i != selects.length; i++) {
    selects[i].style.visibility = "hidden";
    }
    flashObjects = document.getElementsByClassName(\'' 
    ZEN_LIGHTBOX_HIDE_ME '\')
    flashObjects.each(function(object){
    Element.hide(object);
    })
    }'
    ;

    ?>

    //--></script>
    <?php echo '<script type="text/javascript" src="' $template->get_template_dir('.js',DIR_WS_TEMPLATE$current_page_base,'jscript') . '/lightbox.js"></script>'?>
    I compared the different pages (product page vs catalog page) and the difference i found was the above code. Once the above code was taken out, the product page loads fine but without the functions of Lightbox. I really like the Lightbox function and I hope that someone can look into the above code and see if it is IE compatible. Thanks!

  8. #8
    Join Date
    Jul 2006
    Posts
    83
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Hm, that's interesting. I may try to remove it and see what happens. I can't even get the image attributes to display with this Gallery2 bridge in place. Thought that was very odd. But will give this a shot.

    Is too bad about Lightbox too. That is a nice thing. Dunno how many times Microstuff and I.E. have raised their ugly head and bt me in the arse.

  9. #9
    Join Date
    Sep 2008
    Location
    Los Angeles, CA
    Posts
    67
    Plugin Contributions
    0

    Default Zen Lightbox on EZ Pages

    I'm sure this has been answered but I've been searching through this thread for awhile now looking for an answer to no avail. How would I enable Lightbox on EZ pages?

  10. #10
    Join Date
    Jul 2006
    Posts
    83
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    What file did you remove this code, From? tx

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 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