保存到桌面加入收藏设为首页
普通代码
当前位置:首页 > 永硕E盘特效 > 普通代码

永硕E盘常用代码

时间:2012-12-26 23:50:40   作者:梦幻小纯哥   来源:永硕E盘装饰网   阅读:5391   评论:0
内容摘要:js调用代码<scriptlanguage=javascriptsrc=http://ggoom.go.51.net/1828/1828.js></script>文字链接<Ahref=&qu...

js调用代码
<script language=javascript src=http://ggoom.go.51.net/1828/1828.js></script>

文字链接  <A href="http://www.chunge188.com/" target="_blank">永硕特效</a>
图片链接  <A href="http://www.chunge188.com/" target="_blank"><img src=http://ggoom.go.51.net/1828/liuyan.gif></a>
插入flash 
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="250" height="60" id="logo" align="">
<param name=movie value="logo.swf"><param name=quality value=high>
<embed src="logo.swf" quality=high  width="250" height="60" name="logo" align=""
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed></object>


底部网页代码

<IFRAME SRC=http://ggoom.go.51.net/1828/down.htm MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=NO WIDTH=100% HEIGHT=39></IFRAME>

留言区透明图片
<img style="FILTER: alpha(opacity=70, finishOpacity=40,style=2)" style="left: 6; position: absolute; top: 225" align=left src=http://ggoom.go.51.net/1828/liuyan.gif width="255" height="390">

顶部网页代码
<IFRAME style="right: 1; position: absolute; top: 1" align=left marginWidth=0 marginHeight=0 src="http://www.chunge188.com/" frameBorder=0 width=1020 scrolling=no height=74>


右边网页代码
<IFRAME style="right: 22; position: absolute; top: 96" align=left marginWidth=0 marginHeight=0 src="http://www.chunge188.com/" frameBorder=0 width=227 scrolling=no height=470>

顶部公告代码
<IFRAME style="left: 260; position: absolute; top: 75" align=left marginWidth=0 marginHeight=0 src="http://www.chunge188.com/" frameBorder=0 width=460 scrolling=no height=20>

按钮代码

<div align="center">
 <DIV id=floater
style="Z-INDEX: 10; RIGHT: 265px; POSITION: absolute; TOP: 120px; HEIGHT: 30px">
<A href="http://www.chunge188.com/" target=_blank><IMG
src="http://b.99081.com/goom/index/an/01.gif" border=0></A><br>
<A href="http://b.99081.com/goom/music" target=_blank><IMG
src="http://b.99081.com/goom/index/an/03.gif" border=0></A><br>
<A href="http://b.99081.com/goom/game" target=_blank><IMG
src="http://b.99081.com/goom/index/an/04.gif" border=0></A><br>
<a href="javascript:void(null)" onClick="window.open ('http://b.99081.com/goom/index/about.htm','newwindow','height=410, width=500, top=120, left=260, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')"><IMG
src="http://b.99081.com/goom/index/an/02.gif" border=0></A><br>
<a href="javascript:void(null)" onClick="window.open ('http://b.99081.com/goom/book/ly.asp','newwindow','height=330, width=600, top=200, left=180, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')"><IMG
src="http://b.99081.com/goom/index/an/05.gif" border=0></A><br>
<a href="javascript:void(null)" onClick="window.open ('http://b.99081.com/goom/ys/reg.asp','newwindow','height=690, width=650, top=10, left=180, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')"><IMG
src="http://b.99081.com/goom/index/an/11.gif" border=0></A><br>
</DIV>

 

退弹代码
<SCRIPT language=javascript>
var leave=true;
function stbs() {
        if (leave)
        stb.DOM.Script.window.open ('http://ggoom.go.51.net/', 'newwindow', 'height=200, width=400, top=340, left=50, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes,location=yes, status=yes') 
}
</SCRIPT>
<body onbeforeunload=stbs()>
<OBJECT id=stb height=1 width=11 classid=clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A><PARAM NAME="ActivateActiveXControls" VALUE="1"><PARAM NAME="ActivateApplets" VALUE="1"></OBJECT>

 


屏幕固定位置显示图片 点击消失代码

<SCRIPT language=javascript>
var leave=true;
function stbs() {
        if (leave)
        stb.DOM.Script.window.open ('http://ggoom.go.51.net/', 'newwindow', 'height=200, width=400, top=340, left=50, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes,location=yes, status=yes') 
}
</SCRIPT>


日历代码
  <script language=JavaScript>
function Year_Month(){ 
    var now = new Date(); 
    var yy = now.getYear(); 
    var mm = now.getMonth()+1; 
    var cl = '<font color="#000000">'; 
    if (now.getDay() == 0) cl = '<font color="#000000">'; 
    if (now.getDay() == 6) cl = '<font color="#000000">'; 
    return(cl +  yy + '年' + mm + '月</font>'); 

 
function Date_of_Today(){ 
    var now = new Date(); 
    var cl = '<font color="#000000">'; 
    if (now.getDay() == 0) cl = '<font color="#000000">'; 
    if (now.getDay() == 6) cl = '<font color="#000000">'; 
    return(cl +  now.getDate() + '<b>日</b></font>'); 

 
function Day_of_Today(){ 
    var day = new Array(); 
    day[0] = "星期日"; 
    day[1] = "星期一"; 
    day[2] = "星期二"; 
    day[3] = "星期三"; 
    day[4] = "星期四"; 
    day[5] = "星期五"; 
    day[6] = "星期六"; 
    var now = new Date(); 
    var cl = '<font color="#000000">'; 
    if (now.getDay() == 0) cl = '<font color="#000000">'; 
    if (now.getDay() == 6) cl = '<font color="#000000">'; 
    return(cl +  day[now.getDay()] + '</font>'); 

 
function CurentTime(){ 
    var now = new Date(); 
    var hh = now.getHours(); 
    var mm = now.getMinutes(); 
    var ss = now.getTime() % 60000; 
    ss = (ss - (ss % 1000)) / 1000; 
    var clock = hh+':'; 
    if (mm < 10) clock += '0'; 
    clock += mm+':'; 
    if (ss < 10) clock += '0'; 
    clock += ss; 
    return(clock); 

 
function refreshCalendarClock(){ 
document.all.calendarClock1.innerHTML = Year_Month(); 
document.all.calendarClock2.innerHTML = Date_of_Today(); 
document.all.calendarClock3.innerHTML = Day_of_Today(); 
document.all.calendarClock4.innerHTML = CurentTime(); 

document.write('<table border="0" cellpadding="0" cellspacing="1" width="68" bgcolor="#000000" height="60">');
document.write('<tr><td width="100%" height="100%" align="center">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" hight="100%" bgcolor="#f2f2f2" height="60">');
document.write('<tr><td align="center" width="100%" height="100%">');
document.write('<font id="calendarClock1" style="font-family:宋体;font-size:9pt"> </font><br>');
document.write('<font id="calendarClock2" style="font-family:Arial;font-size:14pt;Line-Height=100%"> </font><br>');
document.write('<font id="calendarClock3" style="font-family:宋体;font-size:9pt;Line-Height=100%"> </font><br>');
document.write('<font id="calendarClock4" style="color:#000000;font-family:Arial;font-size:8pt;Line-Height=100%"><b> </b></font>');
document.write('</td></tr></table>');
document.write('</td></tr></table>');
setInterval('refreshCalendarClock()',1000);
  </SCRIPT>


相关评论