HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    [BASIC] How to create a search button

    avatar
    • Veteran staff member

        Reputation : 14
        Registered on : 2012-02-25
        Posts : 98
      How to create a search button

      Description


      In this tutorial, I will show you how to add a serash button in your forum.

      Set up


      Copy and paste this code into an forum widget, announcement, template etc..

      Code:
      <div id="search-box"><form method="get" action="/search?search_where=11" id="search"><p class="nomargin"><input type="text" name="search_keywords" id="keywords" maxlength="128" class="inputbox search" value="Search..." onclick="if (this.value == 'Search...') this.value = '';" onblur="if (this.value == '') this.value = 'Search...';" /><input class="button2" type="submit" value="Search" /></p></form></div>

      Customize the tutorial



      The changes to the CSS applied to the search button, are equal to those of active forum.

      Note: To change the word "Search ...", you have to change all the three "Search..."-words in the code to your own word.


      Technical problems


      The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting.

      Thanks, the staff





      For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...


      Friendly,
      The team of the Forum of Codes.

      Last update: 04/04/2012

      avatar
      • Veteran staff member

          Reputation : 4
          Registered on : 2012-02-25
          Posts : 69
        very interesting yes

        avatar
        • Administrator

            Reputation : 315
            Registered on : 2012-02-22
            Posts : 2362
            School of codes courses: coming soon
          Hello,

          Not correcy section: Moved to Admin resource :Good:
          Friendly,



          Niko wants you in the team Guest

          Community manager and Administrator at Forumattivo.com

          avatar
          • **


              Reputation : 2
              Registered on : 2012-03-24
              Posts : 20
            Nice this will be helpful

            avatar
            • Veteran staff member

                Reputation : 14
                Registered on : 2012-02-25
                Posts : 98
              thank you very much

              avatar
              • Veteran staff member

                  Reputation : 8
                  Registered on : 2012-03-24
                  Posts : 30

                Topic is moved in the Staff section to improve it and will be back as soon as possible.
                Thank you for your comprehension.

                See you on The Forum of Codes. Smile



                Topic is back in the Admin resource after a small improvement.
                Thank you for your comprehension.

                See you on The Forum of Codes. Smile

                avatar
                • Veteran staff member

                    Reputation : 14
                    Registered on : 2012-02-25
                    Posts : 98
                  Ok, thak :D

                  avatar
                  • ****


                      Reputation : 3
                      Registered on : 2012-03-22
                      Posts : 54
                    wer


                    YOUR BANNER HERE
                    728x90
                    DMCA.com Protection Status
                    © PunBB | Contact | Report an abuse