So I was able to add a custom button for showing and hiding content but I can't get rid of the browser default button. Any suggestions?
http://bankruptcyimmigrationlaw.com/...ankruptcy.html
| SitePoint Sponsor |


So I was able to add a custom button for showing and hiding content but I can't get rid of the browser default button. Any suggestions?
http://bankruptcyimmigrationlaw.com/...ankruptcy.html
Can you post the code dealing with the buttons?


<button id="show"><img src="images/ViewAnswer.png" style=" border:none; padding:none; cursorointer;"alt=""/> </button>
You may try this:
Code:<a class="button"> // you might need an '<a href=""......' here <img src="images/ViewAnswer.png" style=" border:none; padding:none; cursorpointer;" alt=""/> </a>


Thanks that worked perfect as you can see if you visit that original link.
Good work Brian!


Just for fun, try the page with JavaScript off. (Make sure you have a box of tissues handy.)
Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.
Hi Ralph,
'Batmania' ? OK, Scientiam e undo.........


Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.
Bookmarks