I am trying to integrate a javascript library (slickgrid) and can't
seem to figure out where to place the images folder referred to by
components of the library.

in my view .html file:

                <script language="JavaScript" src={{=URL(r=request, c='static',
f="slick.editors.js")}}></script>
                <script language="JavaScript" src={{=URL(r=request, c='static',
f="slick.grid.js")}}></script>

in slick.editors.js there are referances like:
 '../images/calendar.gif'
and return (value) ? "<img src='../images/bullet_star.png'
align='absmiddle'>" : "";

I need to know where to place the images folder in web2py or how to
modify these references, preferably so they will be portable across
apps, i.e. is URL () processed in .js files stored in app/static, and
if so what should it look like.

thanks,

max

Reply via email to