hi to all...
I am getting in trouble for following..
I have one Gallery page in my site
the page is coded through java script...
<script>
$(document).ready(function () {
$.ajax({
url: "imageGallery/Thumbnail/",
success: function (data) {
$(data).find("a:contains(.jpg),:contains(.png)").each(function () {
// will loop through
var images = '<a class="fancybox-button" rel="fancybox-button" href="imageGallery/' + $(this).attr("href") + '"><img src="imageGallery/' + $(this).attr("href") + '" height="160px" width="160px"/></a>';
$('<p></p>').html(images).appendTo('#slider')
});
}
});
$(".fancybox").fancybox({
autoplay: 'true',
openEffect: 'none',
closeEffect: 'none',
playSpeed: 300,
success: function () {
$.fancybox.play();
}
});
$(".fancybox-button").fancybox({
autoPlay: 'true',
playSpeed: 3000,
prevEffect: 'none',
nextEffect: 'none',
closeBtn: false,
helpers: {
title: { type: 'inside' },
buttons: {}
}
});
});
</script>
when i am running it on Visual Studio it wporks fine..
but when i am running it through IIS it doesn't display any images..
How can i enable jquery in IIS or run this page properly through IIS!!
Thanks..