当再次在圆角网格内单击按钮时,Fancybox将消失. [英] Fancybox disappers when Clicking the button again inside obout grid.

查看:52
本文介绍了当再次在圆角网格内单击按钮时,Fancybox将消失.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi ..

hi..

  $(document).ready(function () {
         $('.s11').fancybox( {
 'type' : 'iframe',
 'hideOnOverlayClick':false,
'hideOnContentClick': false,
'closeClick' : false,
        });
     });  


<cc1:Grid ID="GridBusOne"  runat="server" FolderStyle="premiere_blue" 

<cc1:column datafield="Travels_Name" headertext="Travel Name" width="213" index="5" xmlns:cc1="#unknown"></cc1:column>  
<Template>
    <a href="Mine.aspx?iframe"  class="s11" id="s1">
   <input type="button" value="Select"/>



如果我单击该按钮,则表示关闭了精美的包装盒之后,精美的包装盒即将到来.
如果我再次在网格视图中单击同一按钮,则花哨的框不会出现,
而是将其作为aspx页打开花式框.

如何纠正我需要的此问题.



here.. if I click the button means fancy box is coming, after closing the fancy box.
if i again click the same button in grid view , the fancy box is not coming,
instead it open the fancy box as a aspx page.

How to rectify this problem i am in need.

推荐答案

(文档).ready(功能(){
(document).ready(function () {


(' ' 类型':' iframe'' hideOnOverlayClick': false ' hideOnContentClick': false ' closeClick': false , }); });
('.s11').fancybox( { 'type' : 'iframe', 'hideOnOverlayClick':false, 'hideOnContentClick': false, 'closeClick' : false, }); });


<cc1:Grid ID="GridBusOne"  runat="server" FolderStyle="premiere_blue" 

<cc1:column datafield="Travels_Name" headertext="Travel Name" width="213" index="5" xmlns:cc1="#unknown"></cc1:column>  
<Template>
    <a href="Mine.aspx?iframe"  class="s11" id="s1">
   <input type="button" value="Select"/>



如果我单击该按钮,则表示关闭了精美的包装盒之后,精美的包装盒即将到来.
如果我再次在网格视图中单击同一按钮,则花哨的框不会出现,
而是将其作为aspx页打开花式框.

我该如何解决这个问题.



here.. if I click the button means fancy box is coming, after closing the fancy box.
if i again click the same button in grid view , the fancy box is not coming,
instead it open the fancy box as a aspx page.

How to rectify this problem i am in need.


这篇关于当再次在圆角网格内单击按钮时,Fancybox将消失.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆