Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 1 of 1

Thread: Slideshow, Slimbox Image Enlarge and Product Tabs

  1. #1
    osCMax Development Team

    Slideshow, Slimbox Image Enlarge and Product Tabs

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Exclamation Slideshow, Slimbox Image Enlarge and Product Tabs

    For those of you still using osCmax 2.5, jquery changes have broken a few things.
    This should fix you up - take backups, of course.

    Code:
    Three, possibly four steps..
    
    1. Replace includes/javascript/slimbox2.js with supplied updated file (version 2.05). Unzip it!
    
    -------------------------------------------
    2. Edit includes/javascript/product_info.js.php
    
    Replace:
    <script src="https://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
      // Load jQuery
      google.load("jquery", "1.4.2");
    </script>
    
    with this:
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    
    -------------------------------------------
    3. Edit templates/your_template/main_page.tpl.php
    
    Replace:
            echo '<script type="text/javascript" src="https://www.google.com/jsapi"></script>';
            echo '<script type="text/javascript">' . "\n";
            echo '// Load jQuery' . "\n";
            echo 'google.load("jquery", "1.4.0");' . "\n";
            echo '</script>' . "\n"; 
    
    with this:
            echo '<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>' . "\n";
    
    ----------------------------------------
    4. If it exists edit templates/your_template/javascript/product_info.js.php
    
    Replace:
    <script src="https://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
      // Load jQuery
      google.load("jquery", "1.4.2");
    </script>
    
    with this:
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    
    ----------------------------------------------
    ----------------------------------------------
    Donations always gratefully received. PM me if needs be.
    Attached Files Attached Files

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

Similar Threads

  1. [Catalog Issue] Click to enlarge (Slimbox) shows blank page
    By fanofchopin in forum Bugs and Problems
    Replies: 4
    Last Post: 09-18-2013, 02:56 AM
  2. how to enable the enlarge button for a product image
    By tbc_slayer in forum osCmax v2 Customization/Mods
    Replies: 7
    Last Post: 12-02-2009, 07:27 AM
  3. How can i turn on the option to enlarge a image
    By rolotech in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 11-02-2006, 05:16 AM
  4. Click To Enlarge Image
    By heaven in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 02-07-2006, 12:42 PM
  5. enlarge image not working
    By bagged89s10 in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 02-10-2004, 08:51 AM

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

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