Search and Top Navigation
Ticket #5508: temp.html
File temp.html, 2.5 KB (added by hallem, April 12, 2010 04:52PM UTC)
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
<style type="text/css">
.ui-dialog-titlebar { display: none; }
</style>
<script type="text/javascript">
var seconds;
function ShowWelcomeAd()
{
$("#welcomeAd").dialog({
autoOpen: false,
width: 690,
height: 530,
modal: true,
draggable: false,
resizable: false
});
seconds = 19 - 1;
$("#welcomeAd").dialog("open");
setTimeout(function () {
if ( $("#welcomeAd").dialog("isOpen") )
$("#welcomeAd").dialog("close");
}, 19000);
setTimeout("TimeTick();", 1000);
}
function TimeTick()
{
if (seconds > 0)
{
document.getElementById("timer").innerHTML = "This window will close in " + seconds + " seconds...";
seconds--;
window.setTimeout("TimeTick();", 1000);
}
}
function CloseWelcomeAd()
{
seconds = 0;
$("#welcomeAd").dialog("close");
}
</script>
</head>
<body onload="ShowWelcomeAd();">
<div id="welcomeAd" title="Welcome Ad" style="display: none; vertical-align: middle; text-align: center;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="padding-bottom: 10px;">
<tr>
<td style="text-align: left; width: 99%; font-size: 10px;">
<span id="timer">This window will close in 19 seconds...</span>
</td>
<td style="width: 1%; font-size: 10px;">
<input type="submit" name="ctl00$bClose" value="X" onclick="CloseWelcomeAd();" id="ctl00_bClose" />
</td>
</tr>
</table>
<!--
<script language="JavaScript" type="text/javascript" src="http://ad.doubleclick.net/adj/hbm.eem/ros;pos=welcome;tile=4;sz=640x480;u=-1;ord=[timestamp]?"></script>
<noscript><a href="http://ad.doubleclick.net/jump/hbm.eem/ros;pos=welcome;tile=4;sz=640x480;u=-1;ord=[timestamp]?"><img src="http://ad.doubleclick.net/ad/hbm.eem/ros;pos=welcome;tile=4;sz=640x480;u=-1;ord=[timestamp]?" border="0" alt=""></a></noscript>
-->
<script language="JavaScript" type="text/javascript">
document.write("this is a test");
</script>
</div>
</body>
</html>
Download in other formats:
Original Format
File temp.html, 2.5 KB (added by hallem, April 12, 2010 04:52PM UTC)
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
<style type="text/css">
.ui-dialog-titlebar { display: none; }
</style>
<script type="text/javascript">
var seconds;
function ShowWelcomeAd()
{
$("#welcomeAd").dialog({
autoOpen: false,
width: 690,
height: 530,
modal: true,
draggable: false,
resizable: false
});
seconds = 19 - 1;
$("#welcomeAd").dialog("open");
setTimeout(function () {
if ( $("#welcomeAd").dialog("isOpen") )
$("#welcomeAd").dialog("close");
}, 19000);
setTimeout("TimeTick();", 1000);
}
function TimeTick()
{
if (seconds > 0)
{
document.getElementById("timer").innerHTML = "This window will close in " + seconds + " seconds...";
seconds--;
window.setTimeout("TimeTick();", 1000);
}
}
function CloseWelcomeAd()
{
seconds = 0;
$("#welcomeAd").dialog("close");
}
</script>
</head>
<body onload="ShowWelcomeAd();">
<div id="welcomeAd" title="Welcome Ad" style="display: none; vertical-align: middle; text-align: center;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="padding-bottom: 10px;">
<tr>
<td style="text-align: left; width: 99%; font-size: 10px;">
<span id="timer">This window will close in 19 seconds...</span>
</td>
<td style="width: 1%; font-size: 10px;">
<input type="submit" name="ctl00$bClose" value="X" onclick="CloseWelcomeAd();" id="ctl00_bClose" />
</td>
</tr>
</table>
<!--
<script language="JavaScript" type="text/javascript" src="http://ad.doubleclick.net/adj/hbm.eem/ros;pos=welcome;tile=4;sz=640x480;u=-1;ord=[timestamp]?"></script>
<noscript><a href="http://ad.doubleclick.net/jump/hbm.eem/ros;pos=welcome;tile=4;sz=640x480;u=-1;ord=[timestamp]?"><img src="http://ad.doubleclick.net/ad/hbm.eem/ros;pos=welcome;tile=4;sz=640x480;u=-1;ord=[timestamp]?" border="0" alt=""></a></noscript>
-->
<script language="JavaScript" type="text/javascript">
document.write("this is a test");
</script>
</div>
</body>
</html>