不錯(cuò)的新聞標(biāo)題顏色效果
更新時(shí)間:2006年12月10日 00:00:00 作者:
復(fù)制代碼 代碼如下:
<script>
function getcolor(img_val,input_val){
var arr = showModalDialog("selcolor.html", "",
"dialogWidth:18.5em; dialogHeight:17.5em; status:0; help:0");
if (arr != null){
document.getElementById(input_val).value = arr;
img_val.style.backgroundColor = arr;
}
}
</script>
<input name="r_titlecolor" type="text" id="r_titlecolor" value=""
size="10"> <img border=0 src="../images/fcolor.gif"
style="cursor:pointer;background-Color:#000000;" onclick="getcolor
(this,'r_titlecolor');" title="選取顏色!" align="absmiddle">
function getcolor(img_val,input_val){
var arr = showModalDialog("selcolor.html", "",
"dialogWidth:18.5em; dialogHeight:17.5em; status:0; help:0");
if (arr != null){
document.getElementById(input_val).value = arr;
img_val.style.backgroundColor = arr;
}
}
</script>
<input name="r_titlecolor" type="text" id="r_titlecolor" value=""
size="10"> <img border=0 src="../images/fcolor.gif"
style="cursor:pointer;background-Color:#000000;" onclick="getcolor
(this,'r_titlecolor');" title="選取顏色!" align="absmiddle">
相關(guān)文件下載:
下載此文件
相關(guān)文章
js判斷對(duì)象是否存在某個(gè)屬性的幾種辦法技巧
這篇文章主要給大家介紹了關(guān)于js判斷對(duì)象是否存在某個(gè)屬性的幾種辦法技巧,判斷對(duì)象中是否有某屬性的常見(jiàn)方式總結(jié),不同的場(chǎng)景要使用不同的方式,文中通過(guò)代碼介紹的非常詳細(xì),需要的朋友可以參考下2023-12-12
webpack踩坑系列之less-loader6.0.0的javascriptEnabled報(bào)錯(cuò)問(wèn)題
這篇文章主要介紹了webpack踩坑系列之less-loader6.0.0的javascriptEnabled報(bào)錯(cuò)問(wèn)題,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教2024-01-01
postman自定義函數(shù)實(shí)現(xiàn) 時(shí)間函數(shù)的思路詳解
Postman是一款功能強(qiáng)大的網(wǎng)頁(yè)調(diào)試與發(fā)送網(wǎng)頁(yè)HTTP請(qǐng)求的Chrome插件。這篇文章主要給大家介紹postman自定義函數(shù)實(shí)現(xiàn) 時(shí)間函數(shù)的思路詳解,感興趣的朋友一起看看吧2019-04-04
40行原生js代碼實(shí)現(xiàn)前端簡(jiǎn)易路由
路由就是指隨著瀏覽器地址欄的變化,展示給用戶的頁(yè)面也不相同,下面這篇文章主要給大家介紹了關(guān)于如何通過(guò)40行原生js代碼實(shí)現(xiàn)前端簡(jiǎn)易路由的相關(guān)資料,文中通過(guò)實(shí)例代碼介紹的非常詳細(xì),需要的朋友可以參考下2022-05-05
CocosCreator實(shí)現(xiàn)技能冷卻效果
這篇文章主要介紹了CocosCreator實(shí)現(xiàn)技能冷卻效果,同學(xué)們可以跟著教程,親手試一下,代碼都是可以復(fù)用的2021-04-04
微信小程序?qū)崿F(xiàn)點(diǎn)擊返回頂層的方法
這篇文章主要為大家詳細(xì)介紹了微信小程序?qū)崿F(xiàn)點(diǎn)擊返回頂層的方法,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2017-07-07

