Solved. Using "images/" set the variable "OLbubbleImageDir"
gives
correct answer.
On Dec 7, 1:00 pm, Sun <bird9...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
> I am using overlibmws.js library to add some dynamic effect to my
> rails
> 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
> "OLbubbleImageDir"
> setting to "public/images", which is the directory I put those
gif
> files,
> 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
> rails
> project. I do not know anything about javascripts, except the syntax
> looks
> similiar to java.
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---