Niko
  • Administrator

      Reputation : 319
      Registered on : 2012-02-22
      Posts : 2366
      School of codes courses: coming soon
    IPB Categories (Hide/Show)


     

    Description

    This tutorial will allow you to see and hide categories just clicking on the icon on the right of the category header


    Demo



    Code

    You have to reply to this topic to see the code (avoid Flood)


    General Informations

    Code creator: JScript
    Code tested on:  Recent browsers - null
    Checked by: Niko
    Extra infos: In the code you can find https://i.servimg.com/u/f78/18/17/62/92/cat_ma10.png and you can replace it with the link of your own image to click on

    Default
    IPB Categories (Hide/Show) Cat_ma10

    Codes last updated on 2014-06-02 by Niko

    Brennan
    • ****


        Reputation : 2
        Registered on : 2014-05-29
        Posts : 61
        Love Fmcodes
      Had this on my forum before, very nice.

      Xanthis
      • **


          Reputation : 0
          Registered on : 2012-10-11
          Posts : 19
        Now this is happenin'.

        MISA
        • **


            Reputation : 0
            Registered on : 2014-07-06
            Posts : 22
            Love Fmcodes
          very nice :D


          I needed this :D

          DB5
          • **


              Reputation : 0
              Registered on : 2014-07-12
              Posts : 10
              Love Fmcodes
            Wow!

            Very cool!


            EDIT: Wont works on phpbb2

            ddoesmc
            • Support Moderator

                Reputation : 9
                Registered on : 2014-03-11
                Posts : 299
                Helping on the forum
              Hello, I see that a few of you are having problems with this code. Asking for support in the Coding assistance section may help you out!



              FMCodes Support Moderator

              I am very active now! Feel free to PM me anytime.
              nebunidebuni
              • **


                  Reputation : 0
                  Registered on : 2014-07-12
                  Posts : 16
                  Love Fmcodes
                thanks for share this code

                mistergenzo
                • I'm a new member :)


                    Reputation : 0
                    Registered on : 2014-07-22
                    Posts : 5
                    Love Fmcodes
                  hm. this is interesting.

                  Shak17
                  • **


                      Reputation : 0
                      Registered on : 2014-07-23
                      Posts : 15
                      Love Fmcodes
                    excelente aporte!

                    ddoesmc
                    • Support Moderator

                        Reputation : 9
                        Registered on : 2014-03-11
                        Posts : 299
                        Helping on the forum
                      Please speak English as this is a English forum, at least try your best!



                      FMCodes Support Moderator

                      I am very active now! Feel free to PM me anytime.
                      thegodzz
                      • **


                          Reputation : 0
                          Registered on : 2014-03-31
                          Posts : 16
                          Love Fmcodes
                        Thanks !

                        Liam
                        • **


                            Reputation : 0
                            Registered on : 2014-07-11
                            Posts : 15
                            Love Fmcodes
                          Thanks!

                          udarsha45
                          • **


                              Reputation : 0
                              Registered on : 2014-05-11
                              Posts : 22
                              Love Fmcodes
                            thanks for the code. :)

                            DooGy00
                            • ****


                                Reputation : 1
                                Registered on : 2013-07-29
                                Posts : 56
                              thx

                              Eden Alexandria
                              • ****


                                  Reputation : 2
                                  Registered on : 2013-12-19
                                  Posts : 90
                                  LG
                                Very nice. I think I will try using this on my Bleach forum. Looking good as always!

                                Eden Alexandria
                                • ****


                                    Reputation : 2
                                    Registered on : 2013-12-19
                                    Posts : 90
                                    LG
                                  I would like to inform you that you have a syntax error in the line starting with:

                                  Code:
                                  $('.main-head a.collapse[id]').attr('onclick', "  

                                  Cavour
                                  • Administrator

                                      Reputation : 21
                                      Registered on : 2012-02-15
                                      Posts : 179
                                      Installing the new status system
                                    Good evening,

                                    are you sure?
                                    because it perfectly works for me

                                    thanks for your report Flowers



                                    Note: Please contact Niko for forum problems   yes 

                                    - editboard@fmcodes.com
                                    Eden Alexandria
                                    • ****


                                        Reputation : 2
                                        Registered on : 2013-12-19
                                        Posts : 90
                                        LG
                                      Yes. When the button is pressed, the information "falls out" of the forum, rather than expanding, as shown in this demo. When I checked, that line came up as having a syntax error. Perhaps it is missing a second " mark? I only see one in the code.

                                      If not, then it may be an issue with the forum version. IPB is associated with punBB and I used this on a punBB forum, so this may also be the issue.

                                      eManuel
                                      • **


                                          Reputation : 0
                                          Registered on : 2014-06-26
                                          Posts : 16
                                          Love Fmcodes
                                        thx

                                        Jiimbo
                                        • I'm a new member :)


                                            Reputation : 0
                                            Registered on : 2012-04-29
                                            Posts : 5
                                          thanks bro !!

                                          anonim007
                                          • **


                                              Reputation : 0
                                              Registered on : 2014-11-29
                                              Posts : 19
                                              Love Fmcodes
                                            fasfda

                                            FrOsTyXi
                                            • I'm a new member :)


                                                Reputation : 0
                                                Registered on : 2014-12-15
                                                Posts : 9
                                                Love Fmcodes
                                              thank you!

                                              Cata90
                                              • ***


                                                  Reputation : 1
                                                  Registered on : 2014-11-17
                                                  Posts : 32
                                                  Love Fmcodes
                                                good job

                                                Ip0dT0uch59
                                                • ***


                                                    Reputation : 0
                                                    Registered on : 2014-03-09
                                                    Posts : 27
                                                    Love Fmcodes
                                                  Thank's

                                                  tonetone
                                                  • **


                                                      Reputation : 1
                                                      Registered on : 2015-01-16
                                                      Posts : 11
                                                      Love Fmcodes
                                                    thanks for share this code