Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Lightbox, twice, huh?

    I have a problem with my Zen Lightbox. Its like its, well installed twice somehow. Possibly when I upgraded from 1.3 to 1.4

    http://www.a1-rc.com/index.php?main_...roducts_id=190

    If you click an image, you will see what I mean, link to a screenshot of this below,

    http://i7.tinypic.com/6wm9eli.jpg

    Any ideas how to fix?

  2. #2
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Lightbox, twice, huh?

    Bump =]

    Thanks in advanced.

  3. #3
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Lightbox, twice, huh?

    Hmm, still havn't found a fix for it? Any idea's?

    Clarky

  4. #4
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Lightbox, twice, huh?

    bump- I'll check in the morning
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  5. #5
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Lightbox, twice, huh?

    Checked your code and the reason you are getting the lightbox twice is because it is in your code twice. You need to strip out the second instance- The code looks like:

    PHP Code:
    </script>
    <script type="text/javascript" src="includes/templates/iC_AthemeV1.2/jscript/lightbox_lightningload.js"></script>
    <script type="text/javascript" src="includes/templates/iC_AthemeV1.2/jscript/lightbox_prototype.js"></script>
    <script type="text/javascript" src="includes/templates/iC_AthemeV1.2/jscript/lightbox_scriptaculous.js?load=effects"></script>
    <script language="javascript" type="text/javascript"><!--
    var fileLoadingImage = "includes/templates/iC_AthemeV1.2/images/zen_lightbox/loading.gif";
    var fileBottomNavCloseImage = "includes/templates/iC_AthemeV1.2/images/zen_lightbox/closelabel.gif";
    var overlayOpacity = 0.8;
    var overlayDuration = 0.2;
    var animate = true;
    var resizeSpeed = 7;
    var borderSize = 10;

    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';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";
    }
    }function showSelectBoxes(){
    var selects = document.getElementsByTagName("select");
    for (i = 0; i != selects.length; i++) {
    selects[i].style.visibility = "visible";
    }
    flashObjects = document.getElementsByClassName('zenLightboxHideMe')
    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('zenLightboxHideMe')
    flashObjects.each(function(object){
    Element.hide(object);
    })
    }
    //--></script>
    <script type="text/javascript" src="includes/templates/iC_AthemeV1.2/jscript/lightbox.js"></script> 
    The place to start looking would be in:

    includes\modules\pages\product_info
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

 

 

Similar Threads

  1. v139h lightbox and IH2 - additional image not working in the lightbox
    By kitcorsa in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Aug 2013, 10:45 AM
  2. New installed site - Huh?
    By joneey in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 13 Oct 2008, 12:28 PM
  3. HUH? Help Bypass This!
    By JerryRice in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 15 Sep 2008, 06:49 PM
  4. Huh?
    By mooncavecrystals in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 3 Dec 2007, 09:59 PM
  5. Huh?
    By g0d4lm1ty in forum General Questions
    Replies: 5
    Last Post: 27 Sep 2006, 12:38 AM

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