Salve a tutti...
nello script lightbox per jquery ci sono i path delle immagini (loading close ecc...)
codice:
// Configuration related to images
imageLoading: '/images/lightbox-ico-loading.gif', // (string) Path and the name of the loading icon
imageBtnPrev: '/images/lightbox-btn-prev.gif', // (string) Path and the name of the prev button image
imageBtnNext: '/images/lightbox-btn-next.gif', // (string) Path and the name of the next button image
imageBtnClose: '/images/lightbox-btn-close.gif', // (string) Path and the name of the close btn
imageBtnGotoAuction: '/images/lightbox-btn-goto-auction.gif', // (string) Path and the name of the close btn
imageBlank: '/images/lightbox-blank.gif', // (string) Path and the name of a blank image (one pixel)
Io vorrei che al posto di /images/ ci fosse una variabile che tramite php io "consegni" al javascript per l'utilizzo di immagini diverse a seconda del template usato.
Si può fare? come?
Grazie a tutti..