Hello all,Iam new to jquery.Iam testing fancybox jquery for my application to show a iframe popup when clicked on a image gallery.I displayed this image gallery using LIST VIEW control from asp.net 3.5.Everything goes fine in IE 7.x+,Chrome...but stuck up with issue for IE 6.0. It is once the image gallery is loaded in IE 6.0 when i Clicked on first image the iframe popup opens fine with exact defined size,but if i click any other image inside the gallery the iframe is loaded in a full new window. And also if i change the page index again the popup opens with exact size only for the first item and a whole new window for all other images....
My jquery code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="/js/1.js"></script>
<script type="text/javascript" src="/js/2.js"></script>
<link rel="stylesheet" type="text/css" href="/js/3.css" media="screen" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<script type="text/javascript">
$(document).ready(function() {
$("a#test").fancybox({
'overlayShow': false,
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'type': 'iframe'});});</script>
My itemtemplate code inside LIST VIEW
<ItemTemplate >
<td>
<table width="100%">
<tr>
<td valign="top" width="150px" >
<a id="test" href="~/ImgPopup.aspx" >
<img alt="example2" src="/adsq/e/2_s.jpg" />
</a>
</td>
</tr>
<tr>
<td valign="top" align="center">
<asp:Label runat="server" ID="Label22" Text=<%# Eval("ad_title") %> />
</td>
</tr>
<tr>
<td valign="top" align="center">
<asp:Label runat="server" ID="Label29" Text=<%# Eval("location") %>/>
</td>
</tr>
</table>
</td>
</ItemTemplate>
Help me in making all the images open with fixed iframe popup size.....