Connecting Tech Pros Worldwide Help | Site Map

change javascripts default image directory?

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 7th, 2007, 11:35 AM
Sun
Guest
 
Posts: n/a
Default change javascripts default image directory?

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.




 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.