Announcement

Collapse
No announcement yet.

Lightbox JS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Lightbox JS

    Hi all - it looks like the last thread that was running on this has been removed, so apologies for any duplication.

    I want to run the lightbox js on our site to replace the pop up for the extended information page where we only use the image.

    I have not got a clue where to enter the script in the acticnic templates, or where to put the lightbox JS code....

    any help will make us look so pretty!
    cheers.
    ----------------------
    www.amplifiedart.co.uk

    Manchester, UK.
    -----------------------

    #2
    well, i think declarations for the javascript will go in your main templates.

    you could include them as additonal files to make sure they get uploaded.

    the lightbox site will have some clever examples, so this code will probably go into your product template someplace.

    Comment


      #3
      The code for the product pages should be simple, it will look something like:-

      <a href="<actinic:variable name="ExtendedInfoImage" />" rel="lightbox">

      You will probably need to replace the bit of code in the Standard Product Image layout that launches the pop up window but this will change it site wide so be sure this is what you want.

      Then, as Gabe says, you should just need to include the javascript in your main layout. Oh, and upload any other files that you need to includeby adding them to the additional files.
      Cheers

      David
      Located in Edinburgh UK

      http://twitter.com/mcfinster

      Comment


        #4
        thanks guys

        thanks for the tips fellas, i will give it wirl later. cheers
        ----------------------
        www.amplifiedart.co.uk

        Manchester, UK.
        -----------------------

        Comment


          #5
          Paul,

          I have just posted a way to do this here:-

          http://community.actinic.com/showthr...light=lightbox

          Hope it helps!
          Cheers

          David
          Located in Edinburgh UK

          http://twitter.com/mcfinster

          Comment


            #6
            nice one dave, i got it working on the new sister site after a bit of trial and error, but will use this for the main site once the hosting company has undone their changes on the cgi bin.....
            ----------------------
            www.amplifiedart.co.uk

            Manchester, UK.
            -----------------------

            Comment

            Working...
            X