[英]How to popup url in lightbox
I am trying to popup the url using the lightbox, when i click the button, the lightbox call has been made, but the given url is not pop-up in the light box. 我正在尝试使用灯箱弹出网址,当我单击按钮时,已经进行了灯箱调用,但是给定的网址未在灯箱中弹出。
when i click the button it is showing popup with just small white screen 当我单击按钮时,它显示的弹出窗口只有白色的小屏幕
here is code i have used 这是我使用的代码
code: 码:
<a class="example-image-link" href="uitab/index.html" data-lightbox="example-1"><input class="buton" type="button" value="View details" name="View details"></a> </td>
how can i solve this? 我该如何解决?
try to use something like that may be it helps 尝试使用类似的东西可能会有所帮助
<a class="various fancybox.ajax" href="uitab/index.html">Ajax</a>
$(document).ready(function() {
$(".various").fancybox({
maxWidth : 800,
maxHeight : 600,
fitToView : false,
width : '70%',
height : '70%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none'
});
});
and read the example url here 并在此处阅读示例网址
http://fancyapps.com/fancybox/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.