Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2018
    Posts
    9
    Member #
    58467

    Creating tabbed search menu

    Hi Guys I wanted to create Bootstrap Tabs and Pills. I have two searches, Search 1 would be by default and there is a tab next to it which will be the other search option to search the site.

    This is the site I will modify https://library.syr.edu/index.php, it contains search1 and search2.

    Overall I want these two searches to be in a tabbed view like this https://getbootstrap.com/docs/4.0/components/navs/
    This is the code i have so far. Thank you.

    Code:
    <?php
    
    ?>
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <title>Search Bars</title>
    
    
        </head>
        <body>
                
            <form action="/search/index.php" class="pull-right search-form" method="get">
    	<div class="form-group">
    		<label class="hidden" for="searchid" style="color: #ffffff; background-color: #000000;">Search this site:</label>
    		<input class="form-control" id="searchid" name="q" placeholder="Search this site..." title="Search this site" type="text" value="" />
    	</div>
    	<button class="btn btn-theme pull-right" type="submit">Search</button>
    </form>
    
    <h2 class="search-title">Summon Search<span class="hidden-xs hidden-sm">es Almost Everything</span></h2>
    <div class="search-container clearfix">
    <div class="basic-search col-lg-10 col-md-9 col-sm-9 col-xs-12"><form action="https://syracuse.summon.serialssolutions.com/search" method="get"><label class="offscreen" for="home_box_summon_input">Search Summon:</label> <input class="input form-control" id="home_box_summon_input" name="q" placeholder="Search articles, books, and other resources." type="text" /> <button class="search_form_image_submit btn btn-theme button-website" id="home_box_summon_submit" type="submit" value="go">Search</button></form></div>
    <div class="advanced-search col-lg-2 col-md-3 col-sm-3 col-xs-12"><a class="btn btn-theme btn-adv-search" href="https://syracuse.summon.serialssolutions.com/search?#!/advanced?ho=t&amp;l=en&amp;q=Search%20articles,%20books,%20and%20other%20resources.">Advanced Search</a></div>
    </div>
    
    </body>
    Attached Images Attached Images

  2.  

  3. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    9
    Member #
    58467
    Anybody have a idea?


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:58 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com