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 August 11th 2011, 11:31 pm

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

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 August 11th 2011, 11:42 pm

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

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 August 12th 2011, 12:44 am

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 August 12th 2011, 5:48 am; edited 1 time in total

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 August 12th 2011, 12:59 am

Invision forums automatically have this. Wink

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 August 12th 2011, 5:50 am

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?

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 August 12th 2011, 6:34 pm

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 August 14th 2011, 1:27 pm

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.

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 August 15th 2011, 2:07 am


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>

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 August 15th 2011, 2:35 am

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



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 August 27th 2011, 1:26 pm

some1 find how to put buttons +/- ?

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 August 27th 2011, 2:13 pm

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) ???



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 August 27th 2011, 2:37 pm

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

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