+ Reply to Thread
Results 1 to 3 of 3

Thread: Slimbox

  1. #1
    Client
    Join Date
    Mar 2006
    Location
    Ontario, Canada
    Posts
    294
    Squirrelcart version
    v3.4.0

    Slimbox

    Thought I'd try the slimbox feature that comes built into Squirrelcart...

    Can someone look at this link:

    http://www.woodwickcandles.ca/store/...e-met-hospital

    When you click on image - the code provided with Squirrelcart does display a larger image, but in a new browser window.

    Any ideas?

    I did check the option to load "Slimbox" in the account settings, but not sure if there is some code to add after that...

    John

  2. #2
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    557
    Squirrelcart version
    v3.4.1

    Wink Some Hints

    Your <a> reference supplies target="_blank" which will cause the new window.
    Not being sure how you are encoding the link I will provide what works for me:
    Code:
    <div><a rel="lightbox[product-PROD_RN]" style="display: none" title="Your Title" href="http://www.manzanitalab.com/sc_images/products/1024_scaled.jpg">1</a>
    <a rel="lightbox[product-PROD_RN]" style="display: none" title="Your Title" href="http://www.manzanitalab.com/sc_images/products/1024_scaled.jpg">2</a></div>
    This is the code I use to add TWO additional pictures to the Large Image which is displayed by default. To add just one pic, delete appropriately. Too add more, just expand the div.
    I just add to the end of the Product description content.
    Hope this helps.

    Phil
    Tucson

  3. #3
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    When you enable Slimbox, it should automatically add the following tags to your <head/> tag:
    Code:
    <script type="text/javascript" src="http://www.example.com/squirrelcart/lib/mootools/mootools.js.php"></script>
    <script type="text/javascript" src="http://www.example.com/squirrelcart/lib/slimbox/slimbox.js.php"></script>
    <link href="http://www.example.com/squirrelcart/lib/slimbox/slimbox.css.php" rel="stylesheet" type="text/css" />
    If you load your storefront page in a browser and view source, those lines are missing. They are normally added automatically via the <?php print $SC_Header ?> code inside the store_main.tpl.php template file. I'm guessing maybe you altered that code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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