你好我使用thickbox作为信息弹出窗口。它在IE7 / 8& amp; FF但在IE6中它不显示内容只是乱码。我附上了我的代码,如果有人能告诉我这是什么问题,我将不胜感激?非常感谢。
<a href="faq/whyreg.php?height=220&width=400" class="view thickbox" title="Registration has its benefits"> Answer</a>
和doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
screengrabs
答案 0 :(得分:0)
请查看以下链接中的文档:
[JQuery Thick box] [1]
[1]:http://jquery.com/demo/thickbox/
并使用以下代码:
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="thickbox.js"></script>
<script type="text/javascript">
function show_search (value)
{
var url= 'http://www.google.com';
tb_show('Change Details','"+url+"');
setTimeout("remove()",1*100);
return false;
}
function remove()
{
tb_remove();
alert("check");
}
</script>
</head>
<body>
<form id="hotel_search_popup">
<h2>Search Hotels</h2>
<input name="category" type="radio" value="F" class="radioSearch" onclick="return show_search(this.value);"/>
<label>Flight</label>
</form>
</body>
</html>