Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Adding Dynamic Drive Lightbox image viewer 2.03a

    Hi,

    I added a new page to a site using the about us module found in the free add-ons area. Installed perfectly. I now want to add images and use the Dynamic Drive's Lightbox image viewer 2.03a. I followed all instructions for installation. The file where I had to add the following, I found in mytemplate/common/html_header.php

    <script type="text/javascript" src="../js/prototype.js"></script>
    <script type="text/javascript" src="../js/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="../js/lightbox.js"></script>
    <link rel="stylesheet" href="../css/lightbox.css" type="text/css" media="screen" />

    I created the directory mytemplate/js to accomodate the javascript files, added the css file to the css directory.

    I added the pictures to the new page, but the script is not working. Lightbox doesn't show up, although the thumbnails do show up.

    Has anyone else used this script successfully in zencart? If so, how did you get it to work?

    webmiss

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Adding Dynamic Drive Lightbox image viewer 2.03a

    link to your site?

  3. #3
    Join Date
    Dec 2008
    Location
    Utah, USA
    Posts
    182
    Plugin Contributions
    10

    Default Re: Adding Dynamic Drive Lightbox image viewer 2.03a

    I use Zen Lightbox and I think it works very well and very easy to set up.
    Zen Cart Help and Design

    If you don’t build your dream, someone else will hire you to help them build theirs.

  4. #4
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Re: Adding Dynamic Drive Lightbox image viewer 2.03a

    Sorry about the late reply. The link is http://www.goosegamestore.net. Click on the link that says All GG Clothes Coming Soon. This is supposed to be a gallery of sorts, not products that have been added to the catalog. The client wanted to be able to show images of what will be added in the near future.

    Thanks for any help or feedback.

    As for the zen lightbox, will this work for images that have not been associated with an actual product? By the description, it looks like it is used for actual products in the catalog.

    webmiss

  5. #5
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Re: Adding Dynamic Drive Lightbox image viewer 2.03a

    Okay, Got it to work. Had to add the prefix jscript_ to each of the javascript files and place them in mytemplate directory /jscript. Added the changed file names to the html_header.php in the common directory.

    Just needed to walk away from it for a while, re-read instructions and then go over what I did or did not do.

    Thanks for letting me think out loud.

    Webmiss

  6. #6
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Adding Dynamic Drive Lightbox image viewer 2.03a

    thanks for sharing your thoughts

    you shouldn't have to call the files via the html_header. Any file in the includes/templates/{template_directory}/jscript/ directory with the following filename format "jscript_" will be loaded globally on every page of your shop.

 

 

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. Where to add in code for dynamic drive credit?
    By pb4 in forum General Questions
    Replies: 1
    Last Post: 20 Apr 2011, 11:36 AM
  3. Need help with Dynamic Drive Ultimate Fade-in slideshow (v2.4) java script
    By missinglife in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Jun 2010, 03:26 AM
  4. Dynamic drive help!
    By NYsista872 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Apr 2010, 11:38 AM
  5. Strange blue dots using Dynamic Drive Ultimate Fade In Slideshow on my homepage.
    By gingertea in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Aug 2007, 08:02 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