(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
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
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
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