Page 24 of 26 FirstFirst ... 142223242526 LastLast
Results 231 to 240 of 258
  1. #231
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    i thought would be good to have zencart image pop up to work if i had to turn off jqlightbox .. so here a modification to make sure popup works if you turn off jqlightbox from admin panel .. might come handy if you ever need to do this .
    tpl_modules_main_product_image.php
    change code to this
    Code:
    <script language="javascript" type="text/javascript"><!--
    <?php
    if(JQLIGHTBOX_STATUS == 'true'){?>
    document.write('<a href="<?php echo zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_MAX_WIDTH, LARGE_IMAGE_MAX_HEIGHT);?>" id="jqzoomMain"<?php if (JQLIGHTBOX_STATUS == 'true') echo ' class="jqlightbox"';?>><?php echo zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);?></a>');
    <?php }else {?>
    	document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    <?php }?>
    //--></script>

  2. #232
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    why large image popup shows 2 image while there is only One single image to show ?

    if you have only single large image , light box shows
    showing 1 or 2 .. or showing 2 of 2 , but yet repeats same image .. again , there is only single large image anyway ..

    any idea where this duplicate information is coming from ?

  3. #233
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by yellow1912 View Post
    Okie, here goes: you can view your page html source code: the first lightbox image is the main image

    Code:
    document.write('<a href="images/bitetug_suit_dfl5.jpg" id="jqzoomMain" class="jqlightbox"><img src="bmz_cache/a/aff35fee3d4330cbbd98c7330c7e7f44.image.220x96.jpg" alt="Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle" title=" Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle " width="220" height="96" /></a>');
    The second one is here:

    Code:
    <div id="productReviewsDefaultProductImage" style="display:none;" class="centeredContent back"> 
    <div id="productMainImageReview" style="display:none;" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="images/bitetug_suit_dfl5.jpg" id="jqzoomMain" class="jqlightbox"><img src="bmz_cache/a/aff35fee3d4330cbbd98c7330c7e7f44.image.220x96.jpg" alt="Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle [DFL5]" title=" Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle [DFL5] " width="220" height="96" /></a>');
    //--></script>
    <noscript>
    <a href="http://www.allk-9.com/index.php?main_page=popup_image&amp;pID=608" target="_blank"><img src="bmz_cache/a/aff35fee3d4330cbbd98c7330c7e7f44.image.220x96.jpg" alt="Two Bite Suit Tugs (4&quot; x 8&quot;) 1 Handle [DFL5]" title=" Two Bite Suit Tugs (4&quot; x 8&quot;) 1 Handle [DFL5] " width="220" height="96" /><br /><span class="imgLink">larger image</span></a></noscript>
    
    
    </div></div>
    I guess this is created by the products tab module.

    I will look into this, but more than likely we will have to somehow turn off the display of an additional main image code here.
    Ok , it seems the problem happens when TPP is enabled . .once I turn it off , Jqlightbox works ok and wont display 1 of 2 on image .

    any thought on solution to this bug ?

  4. #234
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by tony_sar View Post
    Ok , it seems the problem happens when TPP is enabled . .once I turn it off , Jqlightbox works ok and wont display 1 of 2 on image .

    any thought on solution to this bug ?
    It's a bug in TPP and I believe there are two different solutions discussed on the TPP thread. It's been so long so I don't remember what they but you can check that thread.

  5. #235
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    Ok , the duplicate seems to be coming from TPP when you enable Review tab for product . turning review tab will fix the problem .
    will look into the code to see why this is happening and if got any fix , will post it back .

  6. #236
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by tony_sar View Post
    Ok , the duplicate seems to be coming from TPP when you enable Review tab for product . turning review tab will fix the problem .
    will look into the code to see why this is happening and if got any fix , will post it back .
    Like I said this issue has been discussed and I believe there are two work arounds posted on the mod with the problem which is TPP. However, if you look into and come up with a better solution, I am sure others will benefit from it.

  7. #237
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by BlessIsaacola View Post
    Like I said this issue has been discussed and I believe there are two work arounds posted on the mod with the problem which is TPP. However, if you look into and come up with a better solution, I am sure others will benefit from it.
    Thanks.
    I know you mention that before .. i looked through TPP thread , it seems solution was mentioned for problem with zen lightbox and not jquery lightbox . i will look again over those threads , i might have missed the one for jqlightbox .

  8. #238
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by tony_sar View Post
    Thanks.
    I know you mention that before .. i looked through TPP thread , it seems solution was mentioned for problem with zen lightbox and not jquery lightbox . i will look again over those threads , i might have missed the one for jqlightbox .
    I will look as well, I think aberezin provided a solution that works but then again after awhile all these posts starts to look the same :)

  9. #239
    Join Date
    Dec 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    After installing Jquery Lightbow, I get a blank page. the error in my cache folder reads '[21-jun-2010 23:10:39] PHP Parse error: syntax error, unexpected ')', expecting '(' in /includes/classes/class.cj_loader.php on line 158'

    Code:
    		    include(DIR_WS_CLASSES . 'browser.php');
    		    $browser = new _Browser();
    		    $browser_name = $browser->getBrowser();
    line 158		    if ($browser_name == _Browser::BROWSER_IE) {
    		   		$browser_name = 'ie';
    		    }
    		    else
    		    	$browser_name = preg_replace("/[^a-zA-Z0-9s]/", "-", strtolower($browser_name));
    		    	
    		    $browser_version = floor($browser->getVersion());
    		    
    		    // this is to make it compatible with the other ie css hack
    		    if ($browser_name == _Browser::BROWSER_IE) {
    		   		$browser_name = 'ie';
    		    }
    Can anyone help me sort this out please?

    parisbubbler

  10. #240
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by tony_sar View Post
    Ok , the duplicate seems to be coming from TPP when you enable Review tab for product . turning review tab will fix the problem .
    will look into the code to see why this is happening and if got any fix , will post it back .
    WOW! Thanks a bunch!
    That has been bugging me for months! I had never considered turning off the review tab. Glad I stumbled upon this thread today.
    This also fixes the dual additional images in the TPP Additional images tab.

    Now if I could work the following quirk out too.
    Go here:
    http://minu.me/2slk
    Click on the additional images tab and drag your mouse back and forth over the image. The image changes back and forth between the two.
    Now click on the Product Description tab and notice how the original image is blown out of the lightbox border and sometimes will display the additional image instead.

    JQZoom
    JQLightbox
    IH2 v2.0 rev7

 

 
Page 24 of 26 FirstFirst ... 142223242526 LastLast

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3726
    Last Post: 2 Feb 2026, 06:28 PM
  2. v153 jQuery Scrolling Sideboxes [Support Thread]
    By lat9 in forum Addon Sideboxes
    Replies: 79
    Last Post: 15 Apr 2024, 10:20 PM
  3. v152 Down for Maintenance jQuery Countdown (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 Nov 2015, 03:04 PM
  4. v152 jQuery Banners (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 30 Sep 2015, 02:07 AM
  5. Jquery Zoom [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 384
    Last Post: 11 Dec 2013, 02:41 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