Click to See Complete Forum and Search --> : changing the relative path


pelegk1
11-30-2003, 12:36 AM
i am loding a js from another folder than my asp!
do i need to change the img path so that they will be relative as the js itself?
this is the way i load it :

htm += "<img src\=\"" + gif + "\" style=\"height:'" + height + "'\; width:'" + (width * chrCount) + "'\;\">";


thanks in advance
Peleg

Mr J
11-30-2003, 07:35 AM
It needs to be relative to the page not the JS

pelegk1
11-30-2003, 07:48 AM
w