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.

Category slide phpbb3

View previous topic View next topic Go down

Solved Category slide phpbb3

Post by razvy3 on May 29th 2011, 10:16 am

Base can you tell me how did you slide thje category on our forum ?Sad

razvy3
Forumember

Male Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7

Back to top Go down

Solved Re: Category slide phpbb3

Post by Ahmedvirus on May 29th 2011, 10:47 am

category 255

Ahmedvirus
Forumember

Male Posts : 321
Reputation : 59
Language : English

http://help.forumotion.com

Back to top Go down

Solved Re: Category slide phpbb3

Post by Base on May 29th 2011, 10:49 am

Hi, this code was provided to me by Saxaca. So, credits to him:

Code:
    <script>
    jQuery(function() {
      jQuery('div.forabg ul li.header').prepend('<span class="toggle" style="float: right; margin-right: 10px; font-weight: bold; margin-top: 5px; cursor: pointer;"><img src="http://icons.iconarchive.com/icons/iconarchive/red-orb-alphabet/16/Math-minus-icon.png" width="10px" /></span>');

      jQuery('.toggle').click(function() {
        if (jQuery(this).parent().parent().parent().find('li.row').is(':visible')) {
          jQuery(this).html('<img src="http://icons.iconarchive.com/icons/custom-icon-design/office/16/add-1-icon.png" width="10px" />');
          jQuery(this).parent().parent().parent().find('li.row').hide('slow');
        }

        else {
          jQuery(this).html('<img src="http://icons.iconarchive.com/icons/iconarchive/red-orb-alphabet/16/Math-minus-icon.png" width="10px" />');
          jQuery(this).parent().parent().parent().find('li.row').show('slow');
        }
      });
    });
    </script>

Add it to your homepage message.

k.201017, please read the question carefully before providing an answer.

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Category slide phpbb3

Post by Ahmedvirus on May 29th 2011, 10:51 am

k.201017, please read the question carefully before providing an answer.
I'm sorry Base

Ahmedvirus
Forumember

Male Posts : 321
Reputation : 59
Language : English

http://help.forumotion.com

Back to top Go down

Solved Re: Category slide phpbb3

Post by razvy3 on May 29th 2011, 4:07 pm

solved

razvy3
Forumember

Male Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7

Back to top Go down

Solved Re: Category slide phpbb3

Post by Sanket on May 29th 2011, 4:13 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

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