File: C:/Users/fred/OneDrive/Desktop/wordpress/color07/memoicon.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>MenuICON ���</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<link href="textform.css" rel="stylesheet" type="text/css">
<style type="text/css">
body {font-size:14px;margin:2px;width:180px;}
#pageupdown {position:relative;padding:0px;margin-top:0px;margin-left:5px;width:150px;z-index:0;visibility:visible}
#uppageimg {position:absolute;clip:rect(0px, 25px, 21px,0px);}
#chg_pageimg {position:absolute;clip:rect(0px, 75px, 21px,25px);}
#chg_nppimg {position:absolute;clip:rect(0px, 125px,21px,75px);}
#downpageimg {position:absolute;clip:rect(0px, 150px,21px,125px);}
#globalLink {position:relative;padding:2px;margin: 0px;left:10px;z-index: 100;width:120px;}
a.glink:hover{background-image:url("image/page_sele.gif");text-decoration: none;}
a.glink, a.glink:visited{font-size:14px;margin:0px;padding: 2px 2px 2px 2px;color: #000000;}
</style>
<script language="JavaScript" src="eallrd.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" >
var I_Show=2; // 3����ܭ�ϡA2����ܤp��
var iconhight=70; //��ܹϥܰ�100
var iconwidth=80; //��ܹϥܼe110
var Networktime=3000;//�ǿ�t�׳̺C�ɡA�бN�Ʀr�դj�A�_�h�L�k��ܹϥ�
var shownos=parent.shownos;
var shownotemp;
var showlen;
var MPstatus;
if (parent.ImageAlbum.length!=0){
showlen=(parent.ImageAlbum.length-parent.memofitemno>=shownos)?(shownos):(parent.ImageAlbum.length-parent.memofitemno);
var updownbar=" <div id='pageupdown'><div style='position:relative;visibility:hidden;font-size:3px'> </div>";
updownbar+="<img id='uppageimg' src='image/page.gif' onMouseMove='mousemove(this)' onMouseOut='mouseout(this)' onclick='uppage()' alt='�W�@��' >";
updownbar+="<img id='chg_pageimg' src='image/page.gif' onMouseMove='mousemove(this)' onMouseOut='mouseout(this)' onClick='chg_page()' alt='���ܫ��w��'>";
updownbar+="<img id='chg_nppimg' src='image/page.gif' onMouseMove='mousemove(this)' onMouseOut='mouseout(this)' onClick='chg_npp()' alt='�ܧ�C����ܹϥܼƥ�' >";
updownbar+="<img id='downpageimg' src='image/page.gif' onMouseMove='mousemove(this)' onMouseOut='mouseout(this)' onclick='downpage()' alt='�U�@��'>";
updownbar+=" <div id='globalLink' align='center' >";
updownbar+=" <a href='#' class='glink' id='chg_page' onclick='chg_page()' title='���ܫ��w��'>��" + (parent.memofitemno/shownos+1)+" </a> /";
updownbar+=" <a href='#' class='glink' id='totalpg' onclick='chg_npp()' title='�ܧ�C����ܹϥܼƥ�'>" +(Math.ceil(parent.ImageAlbum.length/shownos))+"��</a>";
updownbar+="</div> </div>";
var Allimg="";
for (SIndex=parent.memofitemno;SIndex<showlen+parent.memofitemno;SIndex++)
{ Allimg+="<div id=\"ItemNO"+SIndex+"\" class=\"imagebox\" onclick= \" return ITEM_onclick('"+parent.ImageAlbum[SIndex][0]+"','"+parent.ImageAlbum[SIndex][5]+"','"+parent.ImageAlbum[SIndex][6]+"','"+SIndex+"')\" onmouseover=\"PhotoHilight(ItemNO"+SIndex+",'item_over',"+SIndex+")\" onmouseout=\"PhotoHilight(ItemNO"+SIndex+",'imagebox',"+SIndex+")\" onMouseDown='this.className=\"memoicon_over\"'><img name=\"IMGNO"+SIndex+"\" height="+iconhight+" width="+iconwidth+" src=\""+parent.ImageAlbum[SIndex][I_Show]+"\" alt=\""+parent.ImageAlbum[SIndex][0]+" ,"+parent.ImageAlbum[SIndex][4]+"\"><p>"+parent.ImageAlbum[SIndex][4]+" </p></div>";}
document.write("<table width='100%' cellpadding='0' cellspacing='0'><tr><td>"+Allimg+"</td></tr><tr><td>"+updownbar+"</td></tr></table>");
Allimg="";updownbar="";
}
function changeimage(){
for (var i=parent.memofitemno;i<showlen+parent.memofitemno;i++)
{if (eval("IMGNO"+i).complete !=true){eval("IMGNO"+i).src=parent.ImageAlbum[i][3]}}
if (parent.preitemno>=0 && parent.preitemno >=parent.memofitemno && (parent.preitemno<parent.memofitemno+shownos) ){parent.memof.eval('ItemNO'+parent.preitemno).className="memoicon_over"};
}
function uppage(){
if (parent.memofitemno-shownos<0){alert("�w��̫e���F");}
else {parent.memofitemno-=shownos;memofchaneg4('memoicon.htm','')}
}
function downpage(){
if (parent.memofitemno+shownos>=parent.ImageAlbum.length){alert("�w��̫᭶�F");}
else {parent.memofitemno+=shownos;memofchaneg4('memoicon.htm','')}
}
function chg_page(){
//if (parent.preitemno==-1) {return;}
//if (parent.videof.MP1.playState!=3){MPstatus=0;} else {MPstatus=1;parent.videof.MP1.controls.pause();}
var inputpage=prompt("�п�J���e�������X",1);
if (inputpage==null || (inputpage==parent.memofitemno/shownos+1) || inputpage==""||isNaN(inputpage)){return;}
inputpage=parseInt(inputpage);
if (inputpage<1 || inputpage >Math.ceil(parent.ImageAlbum.length/shownos)){alert("���~���X,�A�п�J"); return;}
parent.memofitemno=(inputpage-1)*shownos;memofchaneg4('memoicon.htm','');
}
function chg_npp(){
newnpp=prompt("�п�J�C����ܹϥܪ��Ʀr�A*�Ʀr�V�j�h��ܶV�C",6);
if (newnpp==null||newnpp==""||newnpp==parent.shownos||isNaN(newnpp)){return;}
newnpp=parseInt(newnpp);
if (parent.preitemno==-1) {parent.preitemno=1;}
if (newnpp<1 || newnpp >parent.ImageAlbum.length){alert("���~���Ʀr,�A�п�J"); return;}
parent.shownos=newnpp;
parent.memofitemno=Math.floor(parent.preitemno/newnpp)*newnpp;
memofchaneg4('memoicon.htm','');
}
function mousemove(name){name.src="image/pagec.gif";}
function mouseout(name){name.src="image/page.gif";}
setTimeout("changeimage()",Networktime);
</script>
</head>
<body class="glink" background="image/memobg.gif" >
</body>
</html>