how lightbox underneath mvc
i am large fan lightbox2 library, have used past only an mvc project. past i remember lightbox2 picky paths scripts, css, images resided in. i remember personally have put all subdirectories page's path, else wouldn't work.
in non-mvc concentration proceed fine, nonetheless i myself operative an mvc concentration page's url competence have zero office structure. fasten lightbox2 per instructions of:
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
obviously does work.
i attempted putting comprehensive route javascript gave me effects, only but images. i am suspecting javascript "knows" where the images are, can't them.
has anyone success lightbox2 an mvc environment? maybe only success deploying lightbox2 non-subdirectory?
thanks!
Comments
Post a Comment