MyBB Community Forums

Full Version: My multiquote button doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using Unova as a theme and the multi-quote looks like this:
<a href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}" class="main_button button_multiquote" title="{$lang->postbit_multiquote}">+</a>
<script type="text/javascript">
//<!--
	$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>

The working one looks like this:
<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>

Can someone tell me what's wrong with the first one? I need that for the design.
Set a class "hidden" for the image, and then enter the "+" beside the image.
(2013-03-03, 07:37 AM)ElectricShock Wrote: [ -> ]Set a class "hidden" for the image, and then enter the "+" beside the image.

Thank you for answering but I'm not quite sure what you mean.