mrunal
unread,Apr 25, 2012, 2:23:13 AM4/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fancybox
Hi,
M trying to display image inside iframe. Image dimensions are
is 2048x1536. What i want to do is when user click on link image get
display in small size around 800x600. how to do that?? zooming works
in firefox but not in crome.
<!------------------------------------------------------
SCRIPT------------------------------------------>
<script type="text/javascript">
$(document).ready(function() {
$("#gallery a").fancybox({
'width' : '100%',
'height' : '100%',
'autoScale' : true,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
});
</script>
------------------------------------------------------------------------------------------------------------------
html
------------------------------------------------------------------------------------------------------------------
<div id="gallery">
<a href="upload/<?php echo $rw[2];?>" title="<?php echo $rw[2];?>"><?
php echo $rw[2];?></a>
</div>