MyBB Community Forums

Full Version: MultiQuote Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Multiquote button not working..

<a href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}"><span id="multiquote_{$post['pid']}" class="bottoni">Quote</span></a>
<script type="text/javascript">
//<!--
    $('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>

It doesn't pop-up with the multiquote in the quick-reply, nor displays a button just writing.

[Image: TOS8kSW.png]
You button don't have an image. Verify how others buttons are made and do it for quote too.
I've fixed a it but.. it shows an image instead of a button.

<a href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_multiquote.gif" alt="{$lang->postbit_multiquote}" title="{$lang->postbit_multiquote}" id="multiquote_{$post['pid']}" /></a>
<script type="text/javascript">
//<!--
	$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>

Thanks.