这种可改换颜色的按钮能链接多个不同路径,从而节省网页空间。
安装
步骤一 拷贝以下脚本贴在网页紧接</body>之后。Follow the instructions in this script to configure the button text and url's.
步骤二 拷贝以下代码贴於有关网页的 BODY 范围内您需要展示按钮的部位。
<form>
<input TYPE="button" style="background-color: rgb(0,153,102); color: rgb(255,255,255); border-left: 2px solid rgb(0,153,255); border-right: 2px solid rgb(0,153,255); border-top: 2px solid rgb(0,153,255); border-bottom: 2px solid rgb(0,153,255)" NAME="Destination" onClick="window.DestinationUrl()">
</form>
颜色使用 RGB 代码。 图表在这里。
0,153,102 按钮的背景颜色。
255,255,255 按钮上的文字颜色。
0,153,255 按钮边界颜色。
步骤三 拷贝以下脚本贴在网页的<body>之内。
onLoad="window.StartTimer()"
样板:
<body onLoad="window.StartTimer()" bgcolor="#FFFFFF" text="#000000">