2 Replies Latest reply on Jan 8, 2007 1:07 PM by whoooowhaaaa

    Pulling dynamic images/JS issue

    whoooowhaaaa
      Hi All,

      I have a problem I was hoping I could get some help with. I am using Zoomify (www.zoomify.com) to zoom in on products. The products are loaded up dynamically based on a sting that is passed after the URL. Example: http://www.grjd.com/zoom/dynamic.html?zoomifyImagePath=back/&zoomifyZoom=25&zoomifyMinZoom =25

      Problem is I am unable to get rid of IE’s ‘click to activate this control’ annoyance. Typically I use the general JS’s out there to remedy the issue, however the javascript that is currently available doesn’t jive with the javascript in the HTML (see below) that declares the variables that in turn pull in the dynamic images.

      Does anyone have a remedy for this? Any help would VERY MUCH be appreciated.

      Thanks,

      Greg.

      HTML Code:

      <script language="javascript">
      var urlString = document.location.href;
      var paramIndex = urlString.indexOf("?")+1;
      var paramString = urlString.substring(paramIndex,urlString.length);

      document.write("<OBJECT CLASSID='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
      document.write("CODEBASE=' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'");
      document.write("WIDTH='503'");
      document.write("HEIGHT='385'");
      document.write("ID='theMovie'>");
      document.write("<PARAM NAME='src' VALUE='zoomifyDynamicViewer.swf'>");
      document.write("<PARAM NAME='FlashVars' VALUE='" + paramString + "' >");
      document.write("<EMBED SRC='zoomifyDynamicViewer.swf'");
      document.write("FlashVars='" + paramString + "'");
      document.write("PLUGINSPAGE=' http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'");
      document.write("WIDTH='503'");
      document.write("HEIGHT='385'");
      document.write("NAME='theMovie'>");
      document.write("</EMBED>");
      document.write("</OBJECT>");
      </script>