MyBB Community Forums

Full Version: CSS MultiQuote Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
<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>
Thanks