MyBB Community Forums

Full Version: css3 forum buttons: simple,easy,clean and cool
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2011-08-06, 08:20 AM)nadlerz Wrote: [ -> ]Multi Quote doesn't work after using this, what is the right code for multi quote?
Thanks!

It will work. But only that, it will not show a graphical change.
yeah it will work,only change will not be there....thanks kavin Smile
Done already Smile
Demo > http://www.nadlerzforum.com/thread-new-a...1#pid38331

Thanks! Envira!
I can get the Multi quote code to work :-|

@nadlerz: how did you modify the code for multi quote?
I just add an image/icon:

<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>
So that in the other thread, is not what i need. I want to replace the image with a CSS button. But if I follow the guide posted by envira it doesn't work
I have a solution for it SmileSmileSmile
Like use the css class i mentioned and also add an icon to it so the cas button will have an icon and so u can have multi quote.

Like replace the original icons with 16x16 px icons as i used in chameleon theme.

Well try it,as i am on phone i couldnt give u the entire code.

Will give it asap wen i get to pc Smile
Yes, this code is using an image , 16x16px:

Quote:<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>

DEMO
Got it sorted now, i just created a 14x14 image in PS and use it with the class button and works great.

Thanks guys
Glad it was solved,will update tutorial ASAP SmileSmileSmile
Pages: 1 2