0
Rails 3.1 앱에서 jQuery Lightbox를 사용하고 있습니다. 내가 자산 파이프 라인을 사용하고, 나는의 .js 파일에있는 이미지에 이러한 참조 처리하는 가장 좋은 방법 궁금 해요 :자산 파이프 라인을 사용할 때 JS 파일의 이미지를 어떻게 참조합니까?
// jQuery Lightbox Init/settings
// Visit http://leandrovieira.com/projects/jquery/lightbox/ for more options and updates
jQuery("a[href$=.jpg],a[href$=.png],a[href$=.gif]").lightBox({
imageLoading: '/images/jquery-lightbox/lightbox-ico-loading.gif', // (string) Path and the name of the loading icon
imageBtnPrev: '/images/jquery-lightbox/lightbox-btn-prev.gif', // (string) Path and the name of the prev button image
imageBtnNext: '/images/jquery-lightbox/lightbox-btn-next.gif', // (string) Path and the name of the next button image
imageBtnClose: '/images/jquery-lightbox/lightbox-btn-close.gif', // (string) Path and the name of the close btn
imageBlank: '/images/jquery-lightbox/lightbox-blank.gif' // (string) Path and the name of a blank image (one pixel)
});