ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to tell JS to look for EE2 code?

October 17, 2011 10:55am

Subscribe [1]
  • #1 / Oct 17, 2011 10:55am

    Hercules

    4 posts

    I have issue but with expressengine2. I have added zoom.js to product page, zoom works but not pulling ee2 large image. In zoom.js I have found 2 places with image source but cannot figure out how to insert ee2 code for image.

    Zoom.js code:

    if($("div.zoomdiv").get().length==0){$(this).after("<div class='zoomdiv'>"{image_large}</div>");

    I need to insert code below:

    {exp:brilliant_retail:image src="{image_large}" width="390" height="320"}

    or

    {image_large}

    I think I’m missing punctuation or something..

    Can anybody help me?

     

  • #2 / Oct 17, 2011 2:38pm

    Hercules

    4 posts


    Thank you for nothing!
    I have changed my zoom.js to cloud-zoom.js Everything working perfect. If you want your brilliant retail have zoom and fancybox working pm me.

    [Mod Edit: Removed advertisement]

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases