From: Sun Date: 2007-12-07T21:13:19+09:00 Subject: Re: change default directory of javascripts? "Sun" wrote in message news:7358e$47593596$839b8704$7680@news1.tudelft.nl... > > "Xavier Noria" wrote in message > news:082656A2-2A46-460F-B38B-6DDC9FC781F4@hashref.com... >> On Dec 7, 2007, at 12:44 PM, Sun wrote: >> >>> 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. >> >> Please send your question to rubyonrails-talk. >> > > Sorry if this message was send to a wrong group. But I did not find > "rubyonrails-talk" group on my newsserver. And this is the nearest group I > can find here, hence the message. Well, found it. Post my problem there. Thanks for the link.