📄 viewslide.htm
字号:
<HTML>
<HEAD>
<TITLE>幻灯片效果预览</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>
BODY {padding:5px}
IMG {CURSOR:hand;width:88px;height:31px;}
TD {
font-size: 9pt;
}
</STYLE>
</HEAD>
<BODY leftmargin="0" topmargin="0">
<div align="center">
<table width="95%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td> <FIELDSET align=left>
<LEGEND align=left>预览</LEGEND>
<table width="95%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td colspan="2">
<Script Language="JavaScript">
<!--
function SlidePic(ID) {this.ID=ID; this.Width=0;this.Height=0; this.TimeOut=5000; this.Effect=23; this.TitleLen=0; this.PicNum=-1; this.Img=null; this.Url=null; this.Title=null; this.AllPic=new Array(); this.Add=AddSlidePic; this.Show=ShowSlidePic; this.LoopShow=LoopShowSlidePic;}
function NewSlide() {this.ImgUrl=""; this.LinkUrl=""; this.Title="";}
function AddSlidePic(SP) {this.AllPic[this.AllPic.length] = SP;}
function ShowSlidePic() {
if(this.AllPic[0] == null) return false;
document.write('<div align="center"><a id="Url' + this.ID + '" href=""><img id="Img' + this.ID + '" style="width:' + this.Width + '; height:' + this.Height + '; filter: revealTrans(duration=2,transition=23);" src="javascript:null" border="0"></a>');
if(this.TitleLen != 0) document.write("<br><Div id='Title" + this.ID + "'></Div></div>");
this.Img = document.getElementById("Img" + this.ID);
this.Url = document.getElementById("Url" + this.ID);
this.Title = document.getElementById("Title" + this.ID);
this.LoopShow();
}
function LoopShowSlidePic() {
if(this.PicNum<this.AllPic.length-1) this.PicNum++ ;
else this.PicNum=0;
this.Img.filters.revealTrans.Transition=this.Effect;
this.Img.filters.revealTrans.apply();
this.Img.src=this.AllPic[this.PicNum].ImgUrl;
this.Img.filters.revealTrans.play();
this.Url.href=this.AllPic[this.PicNum].LinkUrl;
if(this.Title) this.Title.innerHTML='<a href="'+this.AllPic[this.PicNum].LinkUrl+'" >'+this.AllPic[this.PicNum].Title+'</a>';
this.Img.timer=setTimeout(this.ID+".LoopShow()",this.TimeOut);
}
var SlidePic = new SlidePic("SlidePic");
SlidePic.Width = 160;
SlidePic.Height = 100;
SlidePic.TimeOut = 5000;
SlidePic.Effect = 23;
SlidePic.TitleLen = 1;
var NewItem = new NewSlide();
NewItem.ImgUrl = 'images/1.jpg';
NewItem.LinkUrl= '#';
NewItem.Title = '<Strong>幻灯片文章效果预览…</Strong>';
SlidePic.Add(NewItem);
var NewItem = new NewSlide();
NewItem.ImgUrl = 'images/2.jpg';
NewItem.LinkUrl= '#';
NewItem.Title = '<font color=red>幻灯片文章效果预览</font>';
SlidePic.Add(NewItem);
var NewItem = new NewSlide();
NewItem.ImgUrl = 'images/3.jpg';
NewItem.LinkUrl= '#';
NewItem.Title = '<font color=green>幻灯片文章效果预览</font>';
SlidePic.Add(NewItem);
SlidePic.Show();
//-->
</Script>
</td>
</tr>
</table>
</FIELDSET></td>
</tr>
</table>
</div>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -