語法

 

字型:CaffeLatte, ParkAvennue
 
十字的語法<font style="cursor:crosshair">crosshair</font>
 
文字背景閃亮的語法(圖形見附檔)<font style="background: url(images/star.gif)">background</font>

star.gif
 
<!--框線看板_開始-->
<TABLE align="center" border="0" cellspacing="0" cellpadding="2" width="300">
<TR>
<TD width="16" style="border-right: 2px dotted #8B0000; border-bottom: 2px
dotted #FF8C00" height="3"></TD>
<TD style="border-bottom: 2px dotted #B8860B" height="3" width="250"></TD>
<TD width="16" style="border-left: 2px dotted #006400; border-bottom: 2px dotted
#008B8B" height="3"></TD>
</TR><TR><TD width="16" style="border-right: 2px dotted #00008B"></TD>
<TD align="center"><font color="black" size="2">歡迎光臨^_^</font></TD>
<TD width="16" style="border-left: 2px dotted #8B008B"></TD></TR><TR>
<TD width="16" height="3" style="border-right: 2px dotted #FF1493; border-top:
2px dotted #2F4F4F"></TD>
<TD height="3" style="border-top: 2px dotted #00BFFF" width="250"></TD>
<TD width="16" height="3" style="border-left: 2px dotted #E9967A; border-top:
2px dotted #7FFF00"></TD>
</TR></TABLE>
<!--框線看板_結束-->

語法說明:在 <TABLE align="center" border="0" cellspacing="0" cellpadding="2"
width="300"> 中修改看板的寬度

 

<!--看板_開始-->
<fieldset style="width:220" align="center"><legend><font color="
lime">2004.12.12</font><font color="black"></legend></font><font color="black"
face="標楷體"><span style="font-size:16pt;">更新About(學校的功課真的不是
普通的多啊!!)</span></font><font color=" lime"></fieldset>
<!--看板_結束-->

 

<!--網頁最後更新日期_開始-->
<script>
document.write("◎本頁最後更新日期:"+document.lastModified+"")
</script>
<!--網頁最後更新日期_結束-->

 

<!--圖示淡化_開始-->
<SCRIPT language=JavaScript>
<!--
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
<!--在這裡設定滑鼠移開後按鈕的亮度,數字愈小愈亮-->
cur.filters.alpha.opacity=20
}
-->
</SCRIPT>
<img onmouseover=makevisible(this,0) style="FILTER: alpha(opacity=20)" onmouseout=makevisible(this,1) src="圖檔位置">
<!--圖示淡化_結束-->

 

<!--告示板_開始-->
<table border="0" cellpadding="0" cellspacing="0" width="350">
<tr>
<td>&nbsp;</td>
<td valign="bottom" background="http://210.59.230.130/net/teachto/2/meuntop.gif" align="center" width="160" height="24">
&nbsp;<font color=ffffff size=2>訊 息 公 告</font>
</td></tr>
</table>
<table border="1" cellpadding="2" cellspacing="0" bordercolordark="ffffff" bordercolorlight="000000" width="350">
<tr>
<td colspan="6" background="http://210.59.230.130/net/teachto/2/meun1.gif" align="center" height="30">
 <font color=ffffff size=2>最 新 消 息</font>
</td></tr>
<tr>
<td bgcolor="#888888" align="center" height="140">
<font color=ffffff size=2>
此處是訊息公告的內容<br>
可自行加入文字^_^
</font>
</td></tr>
<tr>
<td colspan="6" background="http://210.59.230.130/net/teachto/2/meun1.gif" align="center"  height="30">
&nbsp;<font color=ffffff size=2>最 新 消 息</font> 
</td></tr></table>
<table width="350" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="http://210.59.230.130/net/teachto/2/meundown.gif" align="center" width="160" height="24">
<font color=ffffff size=2>訊 息 公 告</font>
&nbsp;</td>
<td>&nbsp;</td></tr>
</table>
<!--告示板_結束-->

 

<!--展開式跑馬燈_開始-->
<center>
<script language="Javascript">
<!--
var tags_before_clock = "<big><center>";
var tags_after_clock = "</big></center>";
<!--在此修改訊息的速度-->
var speed = 100;
<!--在此修改間隔的時間(每1秒=1000)-->
var speed2 = 5000;
var mymessage = new Array
(
"歡迎光臨 語法分享館",
"這個跑馬燈沒有外框",
"而且不需要什麼設定",
"假如您需要增加訊息數量",
"只要用兩個引號將訊息包住",
"後面再加個逗點即可"
);
var mymessage2 = mymessage;
var x = 0;
var y = 0;
if(navigator.appName == "Netscape")
{
document.write('<layer id="ticker"></layer><br>');
}
if (navigator.appVersion.indexOf("MSIE") != -1)
{
document.write('<span id="ticker"></span><br>');
}
function upticker()
{
if (y > mymessage2.length - 1)
{
y = 0;
setTimeout("upticker()",speed);
}
else
{
if (x > mymessage2[y].length)
{
mymessage = mymessage2[y];
x = 0; y++;
setTimeout("upticker()",speed2);
}
else
{
mymessage = mymessage2[y].substring(0,x++);
setTimeout("upticker()",speed);
}
if(navigator.appName == "Netscape")
{
document.ticker.document.write(tags_before_clock+mymessage+tags_after_clock);
document.ticker.document.close();
}
if (navigator.appVersion.indexOf("MSIE") != -1)
{
ticker.innerHTML = tags_before_clock+mymessage+tags_after_clock;
}
}
}
setTimeout("upticker()",speed);
-->
</script>
</center>
<!--展開式跑馬燈_結束-->

= - = - =

以前做作業時用到的語法

snowers 發表在 痞客邦 留言(0) 人氣()