[PunBB] Categories toogle script Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    [PunBB] Categories toogle script

    Omu
    Omu
    Active Poster


    Male Posts : 1021
    Reputation : 87
    Language : Romanian, English

    Solved [PunBB] Categories toogle script

    Post by Omu December 19th 2011, 5:08 pm

    I need the script for categories toogle Smile
    Can any one help me? Very Happy


    Last edited by Gyzmo on December 19th 2011, 6:20 pm; edited 1 time in total
    avatar
    Guest
    Guest


    Solved Re: [PunBB] Categories toogle script

    Post by Guest December 19th 2011, 5:51 pm

    Hi Gyzmo! What about this:
    Code:
    <script src="http://code.jquery.com/jquery-1.6.1.min.js" type="text/javascript"></script>

      <script type="text/javascript">
    $(function() {
      $('#clickme').click(function() {
          $('#book').fadeToggle("slow", "linear");
      });
    });
      </script>
      <style type="text/css">
      #book{display:none;}
      </style>
     
    <div id="clickme">Click here</div>
    <img id="book" src="http://i86.servimg.com/u/f86/11/96/49/61/blank_10.gif"/>
    Smile
    svanirox
    svanirox
    Forumember


    Male Posts : 78
    Reputation : 0
    Language : English
    Location : Kolkata

    Solved Re: [PunBB] Categories toogle script

    Post by svanirox December 19th 2011, 5:52 pm

    Gassy

    where to put the script ?
    Omu
    Omu
    Active Poster


    Male Posts : 1021
    Reputation : 87
    Language : Romanian, English

    Solved Re: [PunBB] Categories toogle script

    Post by Omu December 19th 2011, 5:54 pm

    But for categories?
    avatar
    Guest
    Guest


    Solved Re: [PunBB] Categories toogle script

    Post by Guest December 19th 2011, 5:56 pm

    svanirox wrote:Gassy

    where to put the script ?
    In the index_box template. Like this:
    This code put before all codes you have there:
    Code:
    <script src="http://code.jquery.com/jquery-1.6.1.min.js" type="text/javascript"></script>
     
      <script type="text/javascript">
    $(function() {
      $('#clickme').click(function() {
          $('#book').fadeToggle("slow", "linear");
      });
    });
      </script>
      <style type="text/css">
      #book{display:none;}
      </style>
    and this, on the category title:
    Code:
    <div id="clickme">Click here</div>
    <img id="book" src="http://i86.servimg.com/u/f86/11/96/49/61/blank_10.gif" />
    Wink
    Omu
    Omu
    Active Poster


    Male Posts : 1021
    Reputation : 87
    Language : Romanian, English

    Solved Re: [PunBB] Categories toogle script

    Post by Omu December 19th 2011, 6:18 pm

    I solved the problem from another site . Thank you anyway Gassy. Wink
    Sanket
    Sanket
    ForumGuru


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

    Solved Re: [PunBB] Categories toogle script

    Post by Sanket December 19th 2011, 7:21 pm

    Solved | Archived