Solved: 5 Years, 8 Months, 2 Weeks ago [JavaScript] multi qoute images
#1
Solved: 5 Years, 8 Months, 2 Weeks ago
i have one simple question how can i change multiqoute + and -  buttons. 
i am using mybb 1.8.5. 
here is my postbit_multiquote template. 
<a href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}"><img src="images/vb/buttons/multiquote_off.gif" class="buttonn" title="{$lang->postbit_multiquote}" id="multiquote_{$post['pid']}" align="top" width="14" height="12"/></a>
<script type="text/javascript">
//<!--
    $('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>
i already tried to change img src but it doesn't helped. currently there is no multiqoute button showing.
Reply
#2
Solved: 5 Years, 8 Months, 2 Weeks ago
Your image tag has a strange class name:
class="buttonn"

Can you try changing it to button? Let me know if it still doesn't work Smile.
[Image: modmybb-banner-0.png]
If you think I've helped you; a + rep would be appreciated.
Reply
#3
Solved: 5 Years, 8 Months, 2 Weeks ago
(2015-07-27, 11:32 PM)KevinVR Wrote: Your image tag has a strange class name:
class="buttonn"

Can you try changing it to button? Let me know if it still doesn't work Smile.

thanks for reply. but still not working.
if i use this
<a href="javascript:Thread.multiQuote({$post['pid']});"><img src="images/vb/buttons/multiquote_off.gif" alt="{$lang->postbit_button_multiquote}" title="{$lang->postbit_button_multiquote}"></span></a>
<script type="text/javascript">
//<!--
	$('#multiquote_link_{$post['pid']}').css("display", "");
// -->
</script>
then its showing qoute + button but when i click on it its not changing.
Reply
#4
Solved: 5 Years, 8 Months, 2 Weeks ago
This is the default postbit_multiquote template:


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

I would say start with that, and then adopt it step by step to your wishes.
Regards, Ad Bakker (NL)
Reply
#5
Solved: 5 Years, 8 Months, 2 Weeks ago
Is your theme a 1.8 theme?
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#6
Solved: 5 Years, 8 Months, 2 Weeks ago
(2015-07-31, 11:00 AM)Leefish Wrote: Is your theme a 1.8 theme?

yay i am also thinking same as css buttons are there in 1.8 then how i am getting image in multiqoute. 
here is theme link. 
http://community.mybb.com/thread-170237.html
every javascript working perfectly so i think its 1.8 theme.

is there Any way to use image button for multiqoute in mybb 1.8.
i tried to edit css file of multiqoute but align is changed (see attached image) 
.


Attached Files Thumbnail(s)
   
Reply
#7
Solved: 5 Years, 8 Months, 2 Weeks ago
http://community.mybb.com/thread-170237-...pid1171516
Reply
#8
Solved: 5 Years, 8 Months, 2 Weeks ago
(2015-08-01, 06:56 PM)Destroy666 Wrote: http://community.mybb.com/thread-170237-...pid1171516

thanks for reply 1st  Smile
see above my post. your link is reply of my post  Big Grin
my post in same theme thread 
http://community.mybb.com/thread-170237-...pid1171474
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)