Witam.
Znalazłem w sieci kod thickbox'a. Próbuje go wywołać w przeglądarce lecz bez pożądanego skutku. Po prostu biała strona.
Zapisuje go z rozszerzeniem .html
Mógłby ktoś dobrze poradzić? Z góry dziękuję za wszelkie sugestie.
W załączeniu pliki:
JS_Style/jquery-latest.js
JS_Style/thickbox.js
JS_Style/thickbox.css
Oto kod:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="JS_Style/jquery-latest.js" type="text/javascript"></script>
<script src="JS_Style/thickbox.js" type="text/javascript"></script>
<script language="javascript">
function thickBoxPopup() {
tb_show('', 'http://www.codescratcher.com/?KeepThis=true&TB_iframe=true&height=409&width=674 &modal=false', 'null');
}
</script>
<link href="JS_Style/thickbox.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.btnStyle
{
display: inline-block;
line-height: 30px;
border: none;
margin: 20px;
padding: 0 15px;
font-size: 14px;
text-decoration: none;
background: #D8D39C;
color: #000000;
cursor: pointer;
border: 1px solid #4C4C4C;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" CssClass="btnStyle" runat="server" Text="VISIT CODE SCRATCHER"
OnClientClick="thickBoxPopup(); return false;" />
</form>
</body>
</html>