How to stop Javascript from showing default image and only text for link?
Posted
by
tokyowp
on Stack Overflow
See other posts from Stack Overflow
or by tokyowp
Published on 2011-01-09T13:24:26Z
Indexed on
2011/01/09
15:53 UTC
Read the original article
Hit count: 281
JavaScript
|html
The Javascript below has a default image, but I would like display text "only text url" for this link instead of this button at this link http://developer.mixi.co.jp/wp-content/uploads/2010/09/bt_check_1.gif that this script defaults to. Is this possible?
<div>
<a href="http://mixi.jp/share.pl" class="mixi-check-button" data-key="some-data-key" data-url="http://someurl.com">only text url </a>
<script type="text/javascript" src="http://static.mixi.jp/js/share.js"></script>
</div>
© Stack Overflow or respective owner