The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to add a Minimize/Maximize button to your categories.

View previous topic View next topic Go down

How to add a Minimize/Maximize button to your categories.

Post by Superfatcatnine on Thu 11 Aug 2011 - 17:31

I noticed it on this forum. What i am talking about it this:
Hoe exactly do you add that to your categories?
avatar
Superfatcatnine
Forumember

Male Posts : 60
Reputation : 1
Language : English
Location : Texas

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by Superfatcatnine on Thu 11 Aug 2011 - 17:42

Thanks! Is it possible to use it in a JS page though?
avatar
Superfatcatnine
Forumember

Male Posts : 60
Reputation : 1
Language : English
Location : Texas

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by Superfatcatnine on Thu 11 Aug 2011 - 18:44

Rideem3 wrote:I'm not sure. It could be possible. Just do trial and error to see if it is possible. Wink
Okay I'll mess around with it.


Last edited by Superfatcatnine on Thu 11 Aug 2011 - 23:48; edited 1 time in total
avatar
Superfatcatnine
Forumember

Male Posts : 60
Reputation : 1
Language : English
Location : Texas

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by hoodedwarbler12 on Thu 11 Aug 2011 - 18:59

Invision forums automatically have this. Wink
avatar
hoodedwarbler12
Forumember

Male Posts : 521
Reputation : 117
Language : English, Latin, HTML, JavaScript
Location : Tennessee, USA

http://www.webkinznation.com

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by Superfatcatnine on Thu 11 Aug 2011 - 23:50

Rideem3 wrote:I'm not sure. It could be possible. Just do trial and error to see if it is possible. Wink
It didn't work I put it is Java script and the forum description and everywhere else (I think). Is there any other way to do it?
avatar
Superfatcatnine
Forumember

Male Posts : 60
Reputation : 1
Language : English
Location : Texas

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by BA_admin on Fri 12 Aug 2011 - 12:34

What do I do to add images + and - , like how it is here in forumotion?

BA_admin
Forumember

Posts : 34
Reputation : 0
Language : English

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by Castiel on Sun 14 Aug 2011 - 7:27

I have the exact same question as BA, I can minimize and maximize it now just by clicking on it but a + and - image would make it more clear for members.
avatar
Castiel
Forumember

Male Posts : 136
Reputation : 0
Language : English

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by ioncube on Sun 14 Aug 2011 - 20:07


didn't understand the crappy tanslation. Just be simple & tell me where to place this code:

Code:
<script type="text/javascript">var pvf= document.getElementById('main-content').firstChild; while(pvf.className!='forabg' && pvf.className!='h3' && (pvf=pvf.nextSibling) ); var i= 1; while(pvf && pvf.className=='forabg') { vf=pvf.firstChild.firstChild.nextSibling; vf.firstChild.style.cursor='pointer'; vf.firstChild.id='catret'+(i++); vf.firstChild.onclick=function() { if(parseInt(my_getcookie(this.id))==1) { my_setcookie(this.id,'0',0,0); this.parentNode.nextSibling.style.display='block'; } else { my_setcookie(this.id,'1',1,0); this.parentNode.nextSibling.style.display='none'; } }; if(parseInt(my_getcookie(vf.firstChild.id))==1) vf.nextSibling.style.display='none'; pvf= pvf.nextSibling; } </script>
avatar
ioncube
Forumember

Male Posts : 279
Reputation : 41
Language : eng
Location : Pakistan

http://defencedog.blogspot.com/

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by ioncube on Sun 14 Aug 2011 - 20:35

Rideem3 wrote:You can put it in your forum's description or in a widget.

but of coarse yes; that I figured out when tut said
We need this forum and its class is visible to all users that will shrink the class.

However if you visit my forum; you click bar & it will expand/contract. However I want an icon for user to see where to click when to expand & otherwise like this


avatar
ioncube
Forumember

Male Posts : 279
Reputation : 41
Language : eng
Location : Pakistan

http://defencedog.blogspot.com/

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by LUDAKLUDI on Sat 27 Aug 2011 - 7:26

some1 find how to put buttons +/- ?
avatar
LUDAKLUDI
Forumember

Male Posts : 280
Reputation : 3
Language : English,Serbian
Location : Serbia-Belgrade

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by LUDAKLUDI on Sat 27 Aug 2011 - 8:13

where he mean to put this script
Code:

<script type="text/javascript" src="url"></script>


he say forum discription ?
(admin cp->general->configuration->Site description) ???


avatar
LUDAKLUDI
Forumember

Male Posts : 280
Reputation : 3
Language : English,Serbian
Location : Serbia-Belgrade

Back to top Go down

Re: How to add a Minimize/Maximize button to your categories.

Post by LUDAKLUDI on Sat 27 Aug 2011 - 8:37

thx but i see now script is for phpbb3 ... i am on 2
avatar
LUDAKLUDI
Forumember

Male Posts : 280
Reputation : 3
Language : English,Serbian
Location : Serbia-Belgrade

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum