Using Sample Button as Spoiler Button


Author Message
Brus Garka

Posted: 6/12/2010
Quote message 

hello
i put a Spoil Button on my blog,
like this:
<div> <input id="xs" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Ocultar'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.value = 'Spoiler';}" style="margin-left: 0px; padding: 0px; width: 80px;" type="button" value="Spoiler" /> <div> <div class="spoiler" style="display: none;"> spoil tex</div> <div class="spoiler"> </div>


but i want to use the Button of artisteer (the sample button on artisteer)
http://lh6.ggpht.com/_6nplaYPWnTw/TBBPMLNp19I/AAAAAAAABWk/sEKZ60JpdAU/s800/button.png')

i use this code, but i dont know how works with the artisteer-button

can somebody help me?
:(
 
Garry

Posted: 6/25/2010
Quote message 

Artisteer use following code to display buttons:

<span class="art-button-wrapper">
<span class="l"> </span>
<span class="r"> </span>
<a class="art-button" href="www.yoursite.com">this is a button</a>
</span>
 
Brus Garka

Posted: 7/5/2010
Quote message 

thx man...


the "-wrapper" didn't work here
i try just "art-button".... and its so cool!!!!:D


god bless you