서버 경로 상관없이 파일로드 법 자스
var viewfile = str.substring(str.indexOf(""),str.lastIndexOf("index.html")); <=현 파일
var mapurl = ''+viewfile+'fileload/seoul.png'; <== 불러올려는 파일
이해 되시죵~!
var mapurl = ''+viewfile+'fileload/seoul.png'; <== 불러올려는 파일
이해 되시죵~!
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 2개