Re: image path for my java script

2009-04-10 Thread Igor Vaynberg
the easiest way to deal with images is to always use css, that way images are always loaded relative to css and you dont have a problem. instead of an img tag add a and have div.plus { background: url('plus.gif'); width:20px;height:20px; } other then that you can always build a url using urlfor()

image path for my java script

2009-04-10 Thread tubin gen
I need image path in my java script , I want collapsable behavior for my component , to which i add either plus or minus , when user click on the imaghe my java script get the image with component and checks the src to find if it is plus or minus , and finally changes the image to the oppsit