Thread
:
Spoiler BBCODE
View Single Post
#
7
11-24-2007, 06:06 PM
Weed
Offline:
Newbie Poster
Join Date: Nov 2007
Posts: 9
Quote:
Originally Posted by
DragoonKain
http://www.ampsoft.net/webdesign-l/image-button.html
Ow but the code is in html, and the site u gave me is CSS?
Is there a way to modify the code
Content Hidden!
<div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Content Hidden!</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElements ByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;">{param}</div>
</div>
</div>
And add a custom image for it?
Weed
View Public Profile
Send a private message to Weed
Find all posts by Weed