我正开发一个网站,
认为此页为原始页 :
http://mysite/admin/blog/posts http://mysite/admin/blog/posts/
我想在花哨箱弹出时打开评论页面
但当我想删除弹出框中的评论时, 弹出关闭和原始页面重定向到 :
http://mysite/admin/comments/delete/5 http://mysite/admin/comments/delete/5
如何在弹出中提交或打开链接而不关闭弹出?
我正开发一个网站,
认为此页为原始页 :
http://mysite/admin/blog/posts http://mysite/admin/blog/posts/
我想在花哨箱弹出时打开评论页面
但当我想删除弹出框中的评论时, 弹出关闭和原始页面重定向到 :
http://mysite/admin/comments/delete/5 http://mysite/admin/comments/delete/5
如何在弹出中提交或打开链接而不关闭弹出?
i 需要与您的案件相似。 当我用花哨箱把它设计出来时, 我设置了 Ajax 的类型, 它会关闭盒子 。 因此我意识到还有其它支持。 我们可以使用 iFrame 类型。 当你使用 iFrame 时, URL 访问将在框内进行。 所以您可能想要看到删除数据的后处理结果, 是不是? 所以您应该考虑将 iFrame 更改为 iFrame 。
资源 :
你也可以试试这个,因为我的问题:
<a id="cmid" href="comments page url">View Comments</a>
然后,你的花哨盒子 javascript代码像这样:
<script type="text/javascript">
$(function(){
$("#cmid").fancybox({
width : 50% ,
height : 50% ,
autoScale : false,
transitionIn : none ,
transitionOut : none ,
type : iframe
});
});
</script>
然后删除注释。 我认为这不会关闭弹出窗口 。
I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....
I have a div <div id="masterdiv"> which has several child <div>s. Example: <div id="masterdiv"> <div id="childdiv1" /> <div id="childdiv2" /> <div id="...
I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...
<form><input type="file" name="first" onchange="jsFunction(2);"> <input type="file" name="second" onchange="jsFunction(3);"</form> Possible to pass just numbers to the js ...
So I ve got a menu with a hover/selected state and it loads fine in IE6/IE7. However when I scroll down the page and put the element outside of the viewport and then back in I get a broken image! I ...
I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...
Is it possible to reload a form after file-input change? I have a form where the user can chose an image for upload. I also have a php script which displays that image resized. I only wonder if it ...
I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!