❤----------------------------------------------❤
这个就是我今天要教的教程啦 =P
先到设计-->添加小工具--> Html / Jave Script 把以下的代码放下去
这个就是我今天要教的教程啦 =P
先到设计-->添加小工具--> Html / Jave Script 把以下的代码放下去
<div id="spoiler"><div><input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = 'none'; this.innerText = ''; this.value = 'Hide Spoiler!'; } else { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = ''; this.innerText = ''; this.value = 'Show Spoiler!'; }" style="-moz-border-radius: 5px; background-image: url(背景URL); border-radius: 5px; border-style: 2px solid #ff9fcc; font-size: 12px; margin: 13px; padding: 0px; width: 250px;" type="button" value="点我❤" /><div id="show" style="background-color: transparent; background-repeat: repeat; border-width: 0px; display: none; margin: 0px; padding: 3px; width: 90%;">内容</div></div></div>
温馨小提示❤
❤背景URL-->就是背景图画的网址
❤点我❤-->这个是你要显示的字,你可以放"点击我","Click"等等,随便你们怎样改
❤内容-->点击了过后看到的内容
好了就按保存起来就好了
此评论已被作者删除。
回复删除