爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
一个网页背景颜色调色板
一个网页背景颜色调色板
日期:2014-05-18 浏览次数:20212 次
以下是程序代码
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="keywords" content="站长,网页特效,js特效,广告代码,zzjs,zzjs.net,sky,www.zzjs.net,站长特效 网" /> <meta name="description" content="www.zzjs.net,站长特效网,站长必备js特效及广告代码。大量高质量js特效,提供高质量广告代码下载,尽在站长特效网" /> <title>一个网页调色板,sky整理收集。</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> </head> <body> <a href="<#ZC_BLOG_HOST#>">站长特效网</a>,站长必备的高质量网页特效和广告代码。zzjs.net,站长js特效。<hr> <!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,zzjs@msn.com,用.net打造靓站--> <center><font color=red face="隶书" size=6>背景调色板</font></center> <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"> <!-- // 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) }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 // 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 style="cursor:pointer;" onload="return imgzoom(this,600);" onclick="javascript:window.open(this.src);" style="cursor:pointer;"/>') // 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) { drawRow(hex[i], blue) } // close current table document.write('</TABLE>') }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 // draw all cube panels inside table cells function drawCube() { // open table document.write('<TABLE CELLPADDING=5 CELLSPACING=0 BORDER=1><TR>') // loop through all non-dithered color descripters as blue hex for (var i = 0; i < 6; ++i) { // open table cell with white background color document.write('<TD BGCOLOR="#
上一篇:狡猾的按钮特效
下一篇:背景颜色闪烁效果
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
承载京东C2C野心的拍拍网:梦想丰满,现实骨感
中国电信内外受困 去电信化思绪待改
苹果20年以来首次发债 融资170亿美元
任正非:华为决不上市 上市公司股东贪婪而短视
打车软件“明补变暗补”背后的小算盘
苹果多色彩!葫芦里究竟卖的什么药
牟贵先挂帅 国美在线“价钱战”昔日开打
三大运营商合建铁塔公司真相:未涉及电信业重组
特斯拉将获上海免费牌照 充电桩面临双重标准
推荐阅读
更多>
都是300元内 乐视盒子与小米盒子对比体验
传4G牌照国庆节前后发放 TD-LTE制式优先
估值增长9.8% 阿里IPO前市值达2450亿美元
FB上广告费用昂贵而且效果不及Twitter
支付宝被曝严重破绽 隐私平安再受质疑
开个房刷个卡全世界都知道个人隐私成公开秘密
八位知名设计师评iOS7:新鲜但复杂
总部大楼已换微软Logo:回忆诺基亚的兴衰史
中方抗议美方限购IT设备 紧张关系加剧
互联网情色众多 Facebook与9158态度大不同
微软提示XP只剩365天寿命:用户被绑架?
互联网金融一周年:余额宝最接地气,比特币最作死
手游市场乱象丛生 受资本热捧野蛮成长
SAP高层调整:联席CEO孟鼎铭成唯一掌舵人
蘑菇街CEO陈琪:2015将回归社会化电商
微软确认 Surface 计划更多尺寸和LTE 版本
挂号网高管团体离任 或因投资人失掉决计
IT企业人才争夺战打响:员工待遇水涨船高
Docker Desktop 4.11 发布:支持虚拟桌面、Mac 权限更改和新扩展
魅族黄章惹怒芙蓉姐姐 将跨界推女神手机