Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    45
    Plugin Contributions
    0

    Default Javascript virtual path not working

    I am trying to implement a thickbox on my zencart setup. Everything is working fine except for the loading.gif animation image does not display when loading the thickbox. Apart from that, thickbox is working perfect.

    This should be pretty straightforward but I am unable to figure it out.

    This is the file structure I have:

    includes/templates/mytemplate/jscript/jquery.thickbox.js
    includes/templates/mytemplate/images/loading.gif

    Inside the jquery.thickbox.js file, following is the path given to loading.gif:
    var tb_pathToImage = "../images/loading.gif";

    But the loading.gif image is not loaded. Is there another way to set a virtual path within the override system for javascript files?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Javascript virtual path not working

    includes/templates/mytemplate/jscript/jquery.thickbox.js

    includes/templates/mytemplate/jscript/jquery_thickbox.js

    or jscript_thickbox.js

    ... perhaps... ?
    20 years a Zencart User

 

 

Similar Threads

  1. How do I reach admin path via server virtual path?
    By lbeachmike in forum General Questions
    Replies: 6
    Last Post: 22 Jun 2009, 09:16 PM
  2. Virtual Path & Physical path
    By Bread_O in forum Basic Configuration
    Replies: 2
    Last Post: 22 May 2007, 04:54 PM
  3. Need to change virtual path, but how?
    By chrispowers in forum General Questions
    Replies: 1
    Last Post: 12 Jun 2006, 11:59 PM

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