The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

+2
hoodedwarbler12
Superfatcatnine
6 posters

Go down

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

Post by Superfatcatnine August 11th 2011, 11:31 pm

I noticed it on this forum. What i am talking about it this: How to add a Minimize/Maximize button to your categories. Captur10
Hoe exactly do you add that to your categories?
Superfatcatnine
Superfatcatnine
Forumember

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

Back to top Go down

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

Post by Superfatcatnine August 11th 2011, 11:42 pm

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

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

Back to top Go down

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

Post by Superfatcatnine 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
Superfatcatnine
Forumember

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

Back to top Go down

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

Post by hoodedwarbler12 August 12th 2011, 12:59 am

Invision forums automatically have this. Wink
hoodedwarbler12
hoodedwarbler12
Forumember

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

http://www.webkinznation.com

Back to top Go down

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

Post by Superfatcatnine 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
Superfatcatnine
Forumember

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

Back to top Go down

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

Post by BA_admin August 12th 2011, 6:34 pm

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

Posts : 34
Reputation : 0
Language : English

Back to top Go down

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

Post by Castiel 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
Castiel
Forumember

Male Posts : 155
Reputation : 0
Language : English

Back to top Go down

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

Post by ioncube 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
ioncube
Forumember

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

http://defencedog.blogspot.com/

Back to top Go down

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

Post by ioncube 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

How to add a Minimize/Maximize button to your categories. Tabs_less1
How to add a Minimize/Maximize button to your categories. Tabs_more1
ioncube
ioncube
Forumember

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

http://defencedog.blogspot.com/

Back to top Go down

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

Post by LUDAKLUDI August 27th 2011, 1:26 pm

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

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

Back to top Go down

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

Post by LUDAKLUDI 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
LUDAKLUDI
Forumember

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

Back to top Go down

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

Post by LUDAKLUDI August 27th 2011, 2:37 pm

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

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

Back to top Go down

Back to top

- Similar topics

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