File "DSC_0011.html"
Full path: E:/sites/Single15/tinmung2007/webroot/TRUYENGIAO/chia se GS/album/slides/DSC_0011.html
File size: 4.8 KiB (4916 bytes)
MIME-type:
Charset: utf-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<!-- saved from url=(0014)about:internet -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta HTTP-EQUIV="imagetoolbar" CONTENT="no">
<title>DSC_0011</title>
<link href="../res/styles.css" rel=stylesheet>
<script type="text/javascript">
nextURL = 'DSC_0016.html';
timeout = 0;
play_img = new Image();
play_img.src = "../res/play.gif";
pause_img = new Image();
pause_img.src = "../res/pause.gif";
delay = 5000;
if (window.opener && window.opener.document.forms.settings) {
form = window.opener.document.forms.settings;
delay = form.delay.value*1000;
fullscreen = form.fullscreen.checked;
}
function slide() {
timeout = setTimeout(next,delay);
}
function next() {
document.location.href=nextURL;
}
function playpause() {
if (timeout) {
clearTimeout(timeout);
timeout = 0;
document.images['playpause'].src = play_img.src;
} else {
document.images['playpause'].src = pause_img.src;
next();
}
}
function setVal()
{
colCount = 5;
rowCount = 4;
win = new Array ("w","h");
avail = new Array ("w","h");
obso = new Array ("w","h");
imgSp = new Array ("w","h");
headSp = 115; // Space for the title and the controls, dependant on stylesheet
lablSp = 12; // Rowheight for the labels, dependant on stylesheet
footSp = 35; // Space for the jAlbum link and bottom margin
ixMarg = 30; // left and right margin value
scrollSp = 16; // width or height of scrollbars - shouldn't really be needed addSpH = 40; // Additional vertical space needed, probably due too browser dependent rendering
addSpH = 0; // Additional vertical space needed, probably due too browser dependent rendering
addSpW = 0; // Additional horizontal space needed, probably due too browser dependent rendering
if (window.innerWidth)
{
win["w"] = window.innerWidth;
win["h"] = window.innerHeight;
}
else if (document.body.clientWidth)
{
win["w"] = document.body.clientWidth;
win["h"] = document.body.clientHeight;
}
else
{
win["w"] = screen.width - 25;
win["h"] = screen.height - 115;
}
obso["w"] = (ixMarg * 2) + scrollSp + addSpW;
obso["h"] = headSp + lablSp + footSp + scrollSp + addSpH;
avail["w"] = win["w"];// - obso["w"];
avail["h"] = win["h"];// - obso["h"];
//alert(avail["w"] + "," + avail["h"]);
}
function sizeImg(imgW, imgH)
{
imgRatio = imgW / imgH;
function scaleWB() { tWidth = avail["w"]; tHeight = tWidth / imgRatio; }
function scaleBW() { tHeight = avail["h"]; tWidth = tHeight * imgRatio; }
if (imgRatio >= 1) // determination of oriontation of image
{
scaleWB();
if (tHeight > avail["h"]) { scaleBW(); }
}
else
{
scaleBW();
if (tWidth > avail["w"]) { scaleWB(); }
}
}
window.focus();
</script>
<link rel="alternate" href="../album.rss" type="application/rss+xml">
<!--mstheme--><link rel="stylesheet" type="text/css" href="../../../../_themes/blank/blan1011-109.css"><meta name="Microsoft Theme" content="blank 1011, default">
</head>
<body id="slide" onload="slide()" marginwidth="0" marginheight="0">
<!-- Image with link to next -->
<table width="100%" height="100%" cellspacing=0 cellpadding=0><tr><td align="center"><a href="javascript:next()"><script type="text/javascript">
setVal();
sizeImg(700, 460);
document.write('<img src="DSC_0011.jpg" width="' + tWidth + '" height="' + tHeight + '" border=0 alt="">');
</script></a></td></tr></table>
<!-- Previous, play/pause and close buttons -->
<div id="navigation"><table cellspacing=0 cellpadding=0 border=0><tr>
<!-- Previous button -->
<td><a href="DSC_0007.html"><img src="../res/previous.gif" width=20 height=18 alt="Previous page" border=0></a></td>
<!-- Play/paues button -->
<td><a href="javascript:playpause()"><img src="../res/pause.gif" name="playpause" border=0></a></td>
<!-- Close button -->
<td><a href="javascript:window.close()"><img src="../res/close.gif" border=0></a></td>
</tr></table></div>
<!-- Always display comment below image (if exists) -->
<div id="jalbumwidgetcontainer"></div>
<script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
_jaSkin = "Slide show";
_jaStyle = "Black.css";
_jaVersion = "8.1.2";
_jaLanguage = "en";
_jaPageType = "slide";
_jaRootPath = "..";
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "http://jalbum.net/widgetapi/load.js";
document.getElementById("jalbumwidgetcontainer").appendChild(script);
//--><!]]></script>
</body>
</html>