2011-10-07 59 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

回答