开发者

thickbox not displaying content in IE6

hello i am using thickbox as an information popup. it works well in IE7/8 & FF but in IE6 it does not display the content just garbled characters. i have attached my code and would be grateful if someone could tell me what the problem is? many thanks.

<a href="faq/whyreg.php?height=220&width=400" class="view thickbox" title="Registration has its benefits"> Answer</a>

and the 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

IE6 htt开发者_如何学Gop://i53.tinypic.com/9gm4jb.png

IE8 http://i56.tinypic.com/55qexf.png


Check the documentation in the following link:

[JQuery Thick box][1]

[1]: http://jquery.com/demo/thickbox/

And use the following code:

<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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜