Results 1 to 10 of 13
-
22nd Jan 2011, 09:06 AM #1OPOH GOD!!!!!Website's:
HotNewHipHop.comHow to add a submit button to search?
This is how my search bar looks:
You can search for whatever you want but to submit the search you must click the "enter" button on your keyboard, I want to add a Submit button/image right next to the search bar so users can click it instead of having to press "Enter"
I tried to add one but didnt see good results.
Here is the code to call the search bar on the header:
Code:<div id="search"> <form method="post" id="searchform" action="{$baseurl}/index.php" > <input type="hidden" name="menu" value="search" /> <input id="s" class="rounded" type="text" name="query" /> </form> </div>
Code:/* The Search */ #search { background:url(images/search.png); width:283px; padding:5px 0px ; margin:10px 0px 0px 0px; height:50px; display:inline; } #search form { margin: -5px 0px 0px 300px; padding: 0; } #search fieldset { margin: 0; padding: 0; border: none; } #search p { margin: 0; font-size: 85%; } #s { width:285px; margin:10px 0px 0px 0px; padding: 5px 5px; height:16px; border:none; font: normal 100% "Tahoma", Arial, Helvetica, sans-serif; color:#333; border:1px solid #000; background:#F3F3F3; display:inline; } input#searchsubmit{ padding: 3px 5px; display:inline; margin:0px 0px 0px 0px; height:26px; background:#133E68; color:#fff; border:none; }
bxflow Reviewed by bxflow on . How to add a submit button to search? This is how my search bar looks: http://screensnapr.com/e/z5jC87.png You can search for whatever you want but to submit the search you must click the "enter" button on your keyboard, I want to add a Submit button/image right next to the search bar so users can click it instead of having to press "Enter" I tried to add one but didnt see good results. Here is the code to call the search bar on the header: Rating: 5
-
24th Jan 2011, 05:55 AM #2OPOH GOD!!!!!Website's:
HotNewHipHop.com2 days later........
anyone?
-
24th Jan 2011, 07:08 AM #3MemberPHP Code:
<button type="submit" name="search" id="searchbutton">Search</button>
</form>
change id to the what ever you want and style it accordingly .Coding Horror Fan
I don't read PM's frequently .
-
24th Jan 2011, 07:33 AM #4OPOH GOD!!!!!Website's:
HotNewHipHop.comdidnt work, it just removes the search bar entirely
-
24th Jan 2011, 08:53 AM #5MemberWebsite's:
PasteBot.appspot.comJust add this immediately before </form>
Code:<input type="submit" value="Submit" />
-
24th Jan 2011, 01:33 PM #6OPOH GOD!!!!!Website's:
HotNewHipHop.com
-
24th Jan 2011, 02:18 PM #7MemberCode:
<div id="search"> <form method="post" id="searchform" action="{$baseurl}/index.php" > <input type="hidden" name="menu" value="search" /> <input id="s" class="rounded" type="text" name="query" /> <input type="submit" value="search" id="searchsubmit" /> </form> </div>
Just tested it to be sure and it works.This is the staff, you have been banned
-
25th Jan 2011, 10:57 AM #8OPOH GOD!!!!!Website's:
HotNewHipHop.com
-
25th Jan 2011, 11:09 AM #9MemberWebsite's:
ExpresShare.comwhat is the site.Is it a vbulletin skin or a custom made script.
-
25th Jan 2011, 11:21 AM #10OPOH GOD!!!!!Website's:
HotNewHipHop.comis a custom script
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Search button problem.
By bluedevil in forum vBulletinReplies: 2Last Post: 7th Sep 2011, 03:43 AM -
do i need to put phaze porn button for appz submit?
By yakamozz in forum General DiscussionReplies: 0Last Post: 31st Aug 2011, 05:27 PM -
How To Submit A Search Through The URL
By Divvy in forum vBulletinReplies: 1Last Post: 13th Aug 2011, 10:26 AM -
[Buying] Search Banner/Button Designer
By devio in forum Completed TransactionsReplies: 2Last Post: 7th Jul 2010, 03:16 PM
themaRegister - register to forums...
Version 3.54 released. Open older version (or...