|
WARNING: images are being loaded from JHOOTEN'S server. For better performance,
enter the location of your local collection in
Preferences
(also see Instructions).
|
You selected: |
|
Select an image to start the slideshow. |
| Include |
Checked |
| Themes | "StrapOn" |
|
|
|
Result Page: 1 2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Result Page: 1 2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
');
NextSlide(i);
}
function CancelNextSlide() {
// 'NextSlide' function is on a timer. If the child window is closed, don't want NextSlide to appear any more.
// Made it a function so that it was callable from the child window.
clearTimeout(TimeoutHandle);
}
function Info_Move() {
// Cycles through Info displays: All(L), Filename(L), All(R), Filename(R), and None.
// No config option for this: use a cookie to remember last setting.
InfoMove = (InfoMove+1)%5;
// Set Cookies
var now = new Date();
fixDate(now);
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
setCookie("Info", InfoMove, now, "", "");
(i == 0) ? i = pic.length - 1 : i = i-1;
NextSlide(i);
}
function LastSlide() {
(i == 0) ? i = pic.length - 1 : i = i-1;
(i == 0) ? i = pic.length - 1 : i = i-1;
NextSlide(i);
}
function Hex2Dec(str)
{
if((str >= 0) && (str <= 9))
return str;
switch(str.toUpperCase())
{
case "A": return 10;
case "B": return 11;
case "C": return 12;
case "D": return 13;
case "E": return 14;
case "F": return 15;
}
}
function NextSlide(SlideNum)
{
(SlideNum >=0) ? i = SlideNum : i = i;
clearTimeout(TimeoutHandle); // in case jumped ahead in the show, kill the old timer.
// With MSIE 6 for XP SP2, titlebar cannot be hidden. Must use screen.availHeight (which excludes it) instead of screen.height
// Affect image size only, not text locations.
ScreenW = screen.availWidth; // alert('Widths: ' +screen.width +' '+screen.availWidth);
ScreenH = screen.availHeight-25; // alert('Heights: '+screen.height+' '+screen.availHeight);
if(Width[i]/Height[i] > ScreenW/ScreenH)
{
Height[i] = Math.floor(ScreenW*Height[i]/Width[i]);
Width[i] = ScreenW;
} else {
Width[i] = Math.floor(ScreenH*Width[i]/Height[i]);
Height[i] = ScreenH;
}
myWin.focus(); // in case had alt-tabbed away
X = i+1;
//HalfHeight = -Math.floor(Height[i]/2-10);
//HalfWidth = -Math.floor(Width[i]/2);
// Choose Info displays: Both (left), Filename only (left), Both (right), Filename only (right), and None.
// No config option for this: use a cookie to remember last setting.
InfoStr = "";
// If intensity > 50%, (i.e., #888888) use white text.
Intensity=0;
// Title[i] = Title[i] + Background[i] + ': '
for(Pos=1; Pos<6; Pos+=2)
{
Intensity += 16*Hex2Dec(Background[i].substr(Pos, 1))
Intensity += 1*Hex2Dec(Background[i].substr(Pos+1,1))
// Title[i] = Title[i] + 16*Hex2Dec(Background[i].substr(Pos, 1)) + ','
// Title[i] = Title[i] + Hex2Dec(Background[i].substr(Pos+1,1)) + ', '
}
// Title[i] = Title[i] + Intensity/3 + " " + (Intensity/3>(255/2))
Font = "color:"+ (Intensity/3>(255/2) ? "black" : "white") +";font:bold 10pt Helvetica,Arial,sans-serif;";
switch(InfoMove)
{
// MARGIN-TOP shifts character info up too far for XP with Windows Classic (it's OK under XP view)
case 0:
// Both on Left
InfoStr = 'Theme = "'+Theme[i]+'"
Character = '+Character[i]+'';
// NO BREAK!
case 1:
InfoStr = InfoStr+'"'+Title[i]+'"
'+Alt[i]+'.jpg
'+X+' of '+pic.length+'';
break;
case 2:
RightMargin = ScreenW- 5;
InfoStr = 'Theme = "'+Theme[i]+'"
Character = '+Character[i]+'';
// NO BREAK!
case 3:
InfoStr = InfoStr+'"'+Title[i]+'"
'+Alt[i]+'.jpg
'+X+' of '+pic.length+'';
// case 4: // leave it blank
}
if(CommentFlag[i] != undefined && ThisComment == "")
{
// There *is* a comment, but it hasn't been requested
ThisComment = '
';
}
myWin.document.getElementById('content').innerHTML = ''+InfoStr+''+ThisComment;
i++;
if ( i >= pic.length ) i = 0;
TimeoutHandle = setTimeout("NextSlide(i)", 999000);
ThisComment = "";
}
function ShowComment()
{
// Requested database's "Comment" field
// Check that the command is active
(i == 0) ? i = pic.length - 1 : i = i-1;
if(CommentFlag[i] != undefined)
{
//alert(i+' '+Alt[i]+' ('+CommentFlag[i]+')');
ThisComment = '';
}
NextSlide(i);
}
function ShowDate()
{
// Requested database's "Date" field
(i == 0) ? i = pic.length - 1 : i = i-1;
//alert(i+' '+Alt[i]+' ('+CommentFlag[i]+')');
ThisComment = '';
NextSlide(i);
}
// -->