右下角弹出flash广告的方法
<SCRIPT>
var oPopup = window.createPopup();
var popTop=50;
function popmsg(msgstr){
var winstr="<table style=\"border: 0 solid \" width=\"360\" height=\"290\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >";
winstr+="<tr><td align=\"center\"><table width=\"360\" height=\"290\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td valign=\"top\" bgcolor=\"#000000\">"+msgstr+"</td></tr></table></td></tr></table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
function popshow(){
window.status=popTop;
if(popTop>2500){
clearTimeout(mytime);
oPopup.hide();
return;
}else if(popTop>2500&&popTop<2000){
oPopup.show(screen.width-250,screen.height,360,1720-popTop);
}else if(popTop>2500&&popTop<2000){
oPopup.show(screen.width-250,screen.height+(popTop-1720),360,290);
}else if(popTop<180){
oPopup.show(screen.width-250,screen.height,360,popTop);
}else if(popTop<220){
oPopup.show(screen.width-250,screen.height-popTop,360,290);
}
popTop+=10;
var mytime=setTimeout("popshow();",50);
}
popmsg(" <embed border=\"0\" src=\"shipin.swf\" width=\"352\" height=\"288\">");
</SCRIPT>
var oPopup = window.createPopup();
var popTop=50;
function popmsg(msgstr){
var winstr="<table style=\"border: 0 solid \" width=\"360\" height=\"290\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >";
winstr+="<tr><td align=\"center\"><table width=\"360\" height=\"290\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td valign=\"top\" bgcolor=\"#000000\">"+msgstr+"</td></tr></table></td></tr></table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
function popshow(){
window.status=popTop;
if(popTop>2500){
clearTimeout(mytime);
oPopup.hide();
return;
}else if(popTop>2500&&popTop<2000){
oPopup.show(screen.width-250,screen.height,360,1720-popTop);
}else if(popTop>2500&&popTop<2000){
oPopup.show(screen.width-250,screen.height+(popTop-1720),360,290);
}else if(popTop<180){
oPopup.show(screen.width-250,screen.height,360,popTop);
}else if(popTop<220){
oPopup.show(screen.width-250,screen.height-popTop,360,290);
}
popTop+=10;
var mytime=setTimeout("popshow();",50);
}
popmsg(" <embed border=\"0\" src=\"shipin.swf\" width=\"352\" height=\"288\">");
</SCRIPT>
1<SCRIPT>
2var oPopup = window.createPopup();
3var popTop=50;
4function popmsg(msgstr){
5var winstr="<table style=\"border: 1 solid #6D93C8\" width=\"241\" height=\"172\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >";
6winstr+="<tr><td height=\"30\"> </td></tr><tr><td align=\"center\"><table width=\"90%\" height=\"110\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
7winstr+="<tr><td valign=\"top\" style=\"font-size:12px; color: #6D93C8; face: Tahoma\">"+msgstr+"</td></tr></table></td></tr></table>";
8oPopup.document.body.innerHTML = winstr;
9popshow();
10}
11function popshow(){
12window.status=popTop;
13if(popTop>1720){
14clearTimeout(mytime);
15oPopup.hide();
16return;
17}else if(popTop>1520&&popTop<1720){
18oPopup.show(screen.width-250,screen.height,241,1720-popTop);
19}else if(popTop>1500&&popTop<1520){
20oPopup.show(screen.width-250,screen.height+(popTop-1720),241,172);
21}else if(popTop<180){
22oPopup.show(screen.width-250,screen.height,241,popTop);
23}else if(popTop<220){
24oPopup.show(screen.width-250,screen.height-popTop,241,172);
25}
26popTop+=10;
27var mytime=setTimeout("popshow();",50);
28}
29popmsg("插入视频就可以了");
30</SCRIPT>
2var oPopup = window.createPopup();
3var popTop=50;
4function popmsg(msgstr){
5var winstr="<table style=\"border: 1 solid #6D93C8\" width=\"241\" height=\"172\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >";
6winstr+="<tr><td height=\"30\"> </td></tr><tr><td align=\"center\"><table width=\"90%\" height=\"110\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
7winstr+="<tr><td valign=\"top\" style=\"font-size:12px; color: #6D93C8; face: Tahoma\">"+msgstr+"</td></tr></table></td></tr></table>";
8oPopup.document.body.innerHTML = winstr;
9popshow();
10}
11function popshow(){
12window.status=popTop;
13if(popTop>1720){
14clearTimeout(mytime);
15oPopup.hide();
16return;
17}else if(popTop>1520&&popTop<1720){
18oPopup.show(screen.width-250,screen.height,241,1720-popTop);
19}else if(popTop>1500&&popTop<1520){
20oPopup.show(screen.width-250,screen.height+(popTop-1720),241,172);
21}else if(popTop<180){
22oPopup.show(screen.width-250,screen.height,241,popTop);
23}else if(popTop<220){
24oPopup.show(screen.width-250,screen.height-popTop,241,172);
25}
26popTop+=10;
27var mytime=setTimeout("popshow();",50);
28}
29popmsg("插入视频就可以了");
30</SCRIPT>
<SCRIPT language=JavaScript1.2>
var oPopup = window.createPopup();
var popTop=50;
function popmsg(msgstr){
var winstr="<table style=\"border: 1 solid #101112\" width=\"355\" height=\"180\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" bgcolor=\"#101112\" >";
winstr+="<tr><td height=\"167\"> <img src=\"图片地址\"></td><td align=\"center\"><table width=\"100%\" height=\"153\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td valign=\"top\" style=\"font-size:12px; color:#F81919; face: Tahoma;\">"+msgstr+"</td></tr></table></td></tr></table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
function popshow(){
window.status=popTop;
if(popTop>1720){
clearTimeout(mytime);
oPopup.hide();
return;
}else if(popTop>1520&&popTop<1720){
oPopup.show(screen.width-250,screen.height,355,1720-popTop);
}else if(popTop>1500&&popTop<1520){
oPopup.show(screen.width-250,screen.height+(popTop-1720),355,160);
}else if(popTop<180){
oPopup.show(screen.width-250,screen.height,355,popTop);
}else if(popTop<220){
oPopup.show(screen.width-250,screen.height-popTop,355,180);
}
popTop+=10;
var mytime=setTimeout("popshow();",50);
}
popmsg("文字.");
</SCRIPT>
var oPopup = window.createPopup();
var popTop=50;
function popmsg(msgstr){
var winstr="<table style=\"border: 1 solid #101112\" width=\"355\" height=\"180\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" bgcolor=\"#101112\" >";
winstr+="<tr><td height=\"167\"> <img src=\"图片地址\"></td><td align=\"center\"><table width=\"100%\" height=\"153\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td valign=\"top\" style=\"font-size:12px; color:#F81919; face: Tahoma;\">"+msgstr+"</td></tr></table></td></tr></table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
function popshow(){
window.status=popTop;
if(popTop>1720){
clearTimeout(mytime);
oPopup.hide();
return;
}else if(popTop>1520&&popTop<1720){
oPopup.show(screen.width-250,screen.height,355,1720-popTop);
}else if(popTop>1500&&popTop<1520){
oPopup.show(screen.width-250,screen.height+(popTop-1720),355,160);
}else if(popTop<180){
oPopup.show(screen.width-250,screen.height,355,popTop);
}else if(popTop<220){
oPopup.show(screen.width-250,screen.height-popTop,355,180);
}
popTop+=10;
var mytime=setTimeout("popshow();",50);
}
popmsg("文字.");
</SCRIPT>
请发表评论