nileshpatil
04-19-2014, 12:48 PM
hello.... i need help for the image enlarge on mouse click..
i follow the code from this site----> http://jsfiddle.net/jRsjK/
and i edit that code like this-->
<html>
<head>
<title>Mayur Steels - Products</title>
<!-- FancyBox -->
<script type="text/javascript" src="fancybox/jquery.fancybox.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox.css"></script>
<script type="text/javascript">
$(".fancybox").fancybox({
helpers : {
overlay : {
css : {
'background' : 'rgba(58, 42, 45, 0.95)'
}
}
}
});
</script>
</head>
<body >
<a rel="gallery" class="fancybox" href="images/mayur1.jpg" >
<img src="images/gallery/bed1.jpg" /></a>
</body>
</html>
but the code is not working here...
i follow the code from this site----> http://jsfiddle.net/jRsjK/
and i edit that code like this-->
<html>
<head>
<title>Mayur Steels - Products</title>
<!-- FancyBox -->
<script type="text/javascript" src="fancybox/jquery.fancybox.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox.css"></script>
<script type="text/javascript">
$(".fancybox").fancybox({
helpers : {
overlay : {
css : {
'background' : 'rgba(58, 42, 45, 0.95)'
}
}
}
});
</script>
</head>
<body >
<a rel="gallery" class="fancybox" href="images/mayur1.jpg" >
<img src="images/gallery/bed1.jpg" /></a>
</body>
</html>
but the code is not working here...