Light box : tries to open PDF same like image
Dear All
<script src="<?php echo PATH;?>javascript/jquery.lightbox.js"></script>
<script>
// Initiate Lightbox
$(function() {
$('.gallery a').lightbox();
});
</script>
works fine for me
refer
click on scrolling iamge displays the image in lightbox
However when i click on PDf for download purpose
when I click on it..... the program tries to show/open this as an image on screen and obviously fails
how can I open this PDF on click vis-a-vis it tries to open as an image (as lightbox)