2011-10-07 57 views
0

我实际上做了一个主页。我的登录区中的iframe,here's我的代码:iframe关闭 - 按钮href

<link type="text/css" media="screen" rel="stylesheet" href="colorbox.css" /> 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> 

<script src="colorbox/jquery.colorbox.js"></script> 

<script> 

    $(document).ready(function(){   

     $(".example7").colorbox({width:"85,5%", height:"85%",iframe:true}); 

    }); 

<a href="http://www.google.at"><button>Klick</button></a> 

我的问题是,我想新的链接不要在iframe的窗口中打开。 我该怎么做?

+0

你可以试试这个。 – 2011-10-07 09:41:49

+0

谢谢,这是解决方案。大! – Harald

+0

谢谢哈拉德,如果是这样,请设置我的答案:) – 2011-10-07 09:54:55

回答