2011-03-11, 09:02 AM
hi everybody,
i'm gonna ask something which is really hard for me to explain:
as you know, the buttons "quote/edit/etc" are simply images. i modified my templates so that now they're generated from html.
the problem is that i do not understand how to modify the template "postbit_multiquote" in order to make it work with the new buttons.
when you click the button "multiquote", the postbit_multiquote "decides" to switch the images from postbit_multiquote.gif to postbit_multiquote_on.gif.
now that my buttons are html generated, i want the postbit_multiquote to switch between a certain "div" to another "div". how do i do that?
this is the postbit_multiquote template:
i think i have to change the second part from "<script title... etc", but how?
i'm gonna ask something which is really hard for me to explain:
as you know, the buttons "quote/edit/etc" are simply images. i modified my templates so that now they're generated from html.
the problem is that i do not understand how to modify the template "postbit_multiquote" in order to make it work with the new buttons.
when you click the button "multiquote", the postbit_multiquote "decides" to switch the images from postbit_multiquote.gif to postbit_multiquote_on.gif.
now that my buttons are html generated, i want the postbit_multiquote to switch between a certain "div" to another "div". how do i do that?
this is the postbit_multiquote template:
<div id="button">
<a href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}">
Quote +
</a>
</div>
<script type="text/javascript">
//<!--
$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>
i think i have to change the second part from "<script title... etc", but how?