語法展示::  http://home.graffiti.net/cvfgggfd/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<div align="center">
  <table border="0" width="339" height="247">
    <tr>
      <td width="167" height="113" valign="middle" align="center"><a onmouseover="showrings()" onmouseout="hiderings()" href="http://blog.pixnet.net/como0925"><img border="0" src="圖片網址
" width="34" height="27"></a></td>
      <td width="168" height="113" valign="middle" align="center"><a onmouseout="hiderings()" onmouseover="showrings()" href="http://blog.pixnet.net/como0925"><img border="0" src="圖片網址" width="31" height="31"></a></td>
    </tr>
  </table>
</div>


將以下程式碼複製,貼在<head>及</head>標籤之間。

<script>
// CREDITS:
// Flashlike rollover-animation for all your links
// by Urs Dudli and Peter Gehrig
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com/fast/index.html
// info@24fun.com
// 11/14/2000

// IMPORTANT:
// If you add this script to a script-library or script-archive
// you have to add a link to http://www.24fun.com/fast/index.html on the webpage
// where this script will be running.


// the number of rings
var ringnumber=4

// do not edit the code below
var x,y
var timer
var i_fontsize=new Array
var step=new Array
ringnumber=ringnumber-1
var maxfontsize=600
var startfontsize=1

for (i=0;i<=ringnumber;i++) {
 i_fontsize[i]=startfontsize
 step[i]=ringnumber*i*10
 startfontsize=(maxfontsize/ringnumber)*(i+1)
}

function cursorposition(e){
 x=event.clientX+document.body.scrollLeft
 y=event.clientY+document.body.scrollTop
}

function showrings() {
if (document.all) {
 for (i=0;i<=ringnumber;i++) {
  if (i_fontsize[i]>=maxfontsize) {i_fontsize[i]=1;step[i]=1}
  var thisring=eval("document.all.ring"+i+".style")
  thisring.visibility="visible"
  thisring.fontSize=i_fontsize[i]
  thisring.color="rgb("+Math.floor(i_fontsize[i]/2.0)+","+Math.floor(i_fontsize[i]/2.0)+",255)"
     thisring.posLeft=x-(Math.floor(i_fontsize[i]/3))
  thisring.posTop=y-(Math.floor(i_fontsize[i]/1.4)) 
  step[i]+=2
  i_fontsize[i]+=step[i]
 }
 timer=setTimeout("showrings()",50)
}
}

function hiderings(e){
if (document.all) {
 clearTimeout(timer)
 startfontsize=0
 for (i=0;i<=ringnumber;i++) {
  thisring=eval("document.all.ring"+i+".style")
  thisring.visibility="hidden"
  i_fontsize[i]=startfontsize
  step[i]=ringnumber*i*10
  startfontsize=Math.floor((maxfontsize/ringnumber))*(i+1)
 }
}
}

if (document.all) {
 document.onmousemove=cursorposition;
}

if (document.all) {
 for (i=0;i<=ringnumber;i++) {
 document.write("<DIV id='ring"+i+"' style='position:absolute;font-family:Verdana;visibility:hidden;'>O</DIV>")
 }
 document.write("<DIV style='position:relative;'>")
}
</script>




  • PHP、MySQL、CGI 網頁空間
    支援 PHP4/5、MySQL 4.1、CGI ,無限郵件帳號,免費網域優惠。
    www.ismile.com.tw
  • SQL Server 2005
    原生資料加密、通過最嚴苛的應用程式 考驗,以發揮最高的執行效能及安全性
    www.microsoft.com/taiwan/sql
Google 提供的廣告
arrow
arrow
    全站熱搜

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