2012-08-12, 04:36 PM
Ive been using CSS postbit buttons for ages, but ive never bothered with the multiquote button.
Someone I know wants the button to be functional, so I just added the code like I do with all the other buttons but I think due to the fact that it contains Javascript, it doesnt work.
With the standard template it works perfectly (with image), but as soon as I replace the image with text it doesnt. Think it could also be something to do with the code wanting to replace the image with the selected multiquote button, but im not sure.
Anyone know how I can sucesssfully make a CSS multiquot button work?
postbit_multiquote
Someone I know wants the button to be functional, so I just added the code like I do with all the other buttons but I think due to the fact that it contains Javascript, it doesnt work.
With the standard template it works perfectly (with image), but as soon as I replace the image with text it doesnt. Think it could also be something to do with the code wanting to replace the image with the selected multiquote button, but im not sure.
Anyone know how I can sucesssfully make a CSS multiquot button work?
postbit_multiquote
<a class="postbit" href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}">Multi</a>
<script type="text/javascript">
//<!--
$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>