很不錯的背景調色板
2007/1/19 16:34:14
<html>
<head>
<title>網頁特效|Linkweb.cn/Js|---很不錯的背景調色板</title>
<style type="text/css">
<!--
body { font-family: "宋體"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }
A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active { font: 9pt "宋體"; cursor: hand; color: #FF0033 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<br>
<br>
<center><font color=red face="隸書" size=6>背景調色板</font></center>
<br>
<br><center>
<table border=1 bordercolor=#000000 borderlight=green style="border-collapse: collapse" cellpadding="0" cellspacing="0">
<tr><td align=center><font size=5 color=red face="Arial, Helvetica, sans-serif"><strong>請把鼠標放上去(看看狀態欄的變化)</strong></font></td></tr>
<tr><td align=center><script language="JavaScript">
<!--
// Copyright (c) 1996-1997 Tomer Shiran. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.geocities.com/~yehuda/
// create 6-element array
var hex = new Array(6)
// assign non-dithered descriptors
hex[0] = "FF"
hex[1] = "CC"
hex[2] = "99"
hex[3] = "66"
hex[4] = "33"
hex[5] = "00"
// accept triplet string and display as background color
function display(triplet) {
// set color as background color
document.bgColor = '#' + triplet
// display the color hexadecimal triplet
alert('現在的背景色是 #'+triplet)
}
// draw a single table cell based on all descriptors
function drawCell(red, green, blue) {
// open cell with specified hexadecimal triplet background color
document.write('<TD BGCOLOR="#' + red + green + blue + '">')
// open a hypertext link with javascript : scheme to call display function
document.write('<A HREF="javascript :display(\'' + (red + green + blue) + '\')">')
// print transparent image (use any height and width)
document.write('<IMG SRC="place.gif" BORDER=0 HEIGHT=12 WIDTH=12>')
// close link tag
document.write('</A>')
// close table cell
document.write('</TD>')
}
// draw table row based on red and blue descriptors
function drawRow(red, blue) {
// open table row
document.write('<TR>')
// loop through all non-dithered color descripters as green hex
for (var i = 0; i < 6; ++i) {
drawCell(red, hex[i], blue)
}
// close current table row
document.write('</TR>')
}
// draw table for one of six color cube panels
function drawTable(blue) {
// open table (one of six cube panels)
document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>')
// loop through all non-dithered color descripters as red hex
for (var i = 0; i < 6; ++i) {
d
下一頁
返回列表
返回首頁
主站蜘蛛池模板:
99精品久久久久久久婷婷|
久久精品国产福利电影网
|
美女网站一区二区三区|
国产成人精品福利网站在线观看|
97国产在线视频公开免费|
少妇饥渴XXHD麻豆XXHD骆驼|
久久久久夜夜夜精品国产|
有色视频在线观看免费高清|
亚洲欧美视频在线观看|
第三种爱情免费完整版观看|
国产三级在线观看视小说|
国产成人精品啪免费视频|
国产精品无码2021在线观看|
99国产成+人+综合+亚洲欧美|
岛国大片免费观看|
中文字幕在线视频第一页|
日韩一区精品视频一区二区|
亚洲av无码精品国产成人|
欧美日韩精品久久久久|
亚洲精品美女视频|
男人的天堂网在线|
午夜影院app|
羞羞漫画成人在线|
国产中文字幕在线观看视频|
麻豆波多野结衣|
国产成人综合久久精品红|
两个人看的www免费视频中文
|
亚州1区2区3区4区产品乱码2021|
欧美日韩一级二级三级|
亚洲精品国产成人|
热久久综合这里只有精品电影|
免费毛片在线播放|
色碰人色碰人视频|
国产精品欧美久久久久无广告|
99久久国产综合精品麻豆|
女同恋のレズビアンbd在线|
一线在线观看全集免费高清中文|
成年男女男精品免费视频网站|
久久99精品久久只有精品|
欧美性猛交xxxx乱大交极品|
亚洲欧美校园春色|