Change default directory of javascripts?

I am using overlibmws.js library to add some dynamic effect to my
web pages. But the server can not find the gif files that required by
javascripts. It always tries to search in , for example
,"/experiment/index/" this directory. I changed the
setting to “public/images”, which is the directory I put those gif
but does not work. Server gives a 404 error.

I 'd like to know how to change the deault searching directory of
javascripts from “…/index” to “public/images” or other place in
project. I do not know anything about javascripts, except the syntax
similiar to java.

Thanks in advance.

Solved. Using “images/” set the variable “OLbubbleImageDir” gives
correct answer.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs