HTML - Search Bar Help
What I need is to create two input boxes in html:
1 needs to be a drop down menu 2 the other needs to be a text box From those, the info in the two inputs will be thrown into a new page as the address, along with other information. How can this happen? code is preferred. Similar TutorialsFor example, this scenario: 1. My page contains the text "giraffes in corduroys" 2. somebody googles that text - either as a phrase or just the words 3. google points them to my page 4. the user clicks to go to my page... Is there any way to determine that it was the text "giraffes in corduroys" which brought them to my page? Would the crux be getting the previous URL in the browser history? Hi...not sure if this is the proper place to post this or not. I'm trying to do two things...first: I'm trying to set up a search box in frame 1 that will search, scroll to and highlight text in frame 2. Is this possible? I've been searching around for days looking for answers, and have so far come up short. I managed to create a search box in frame 1 that reloads frame 2, but that's not really what I'm after. ---------------------------- Now for the second thing I'm looking to do (along the same lines): I want to click a link in frame 1 that scrolls to a target in frame 2 and highlights it. The target is a word in the middle of a paragraph. Any help would be appreciated. I'm pretty green, so treat me like a beginner. Thanks so much! Hi, I am wanting to impliment a feature where I can install a search box on my website that will search anothers content. Basically I have two sites, one has thousands of sound effects on it, the other is more of a portal site. On the portal site I want to add a search box that will link into the other sites database so that the user would navigate away from the portal site and be taken to the stabndard search results page of the main site based on thier queory. Is there any code that anyone knows of to do this? Thanks all! Hi, I want to make a search box on my website. The thing is that I would like the search bar to be able to search on multiple search engines. For example I can type a movie in the search field and then I can select if I want to search for the movie either on google or on IMDb. I want it to look like this: http://subtext.no/kjartan/charlie/searchbox.png If anyone could help me get this kind of searchbox it would be great. Thanks in reaply. I'm trying to have my search box and search button aligned but I can't seem to get it working. Whenever I try to move one vertically, both of them end up moving and I'm all out of ideas. Here is the code: Code: <script src="http://supportforms.epnet.com/eit/scripts/ebscohostsearch.js" type="text/javascript"></script> <form action="" method="post" onsubmit="return ebscoHostSearchGo(this);"><input id="ebscohostwindow" name="ebscohostwindow" type="hidden" value="1" /> <input id="ebscohosturl" name="ebscohosturl" type="hidden" value="http://search.ebscohost.com/login.aspx?direct=true&site=ehost-live&scope=site&type=1&custid=S6281220&groupid=Main&profid=EDS&mode=bool&cli0=FR&clv0=Y&cli1=RV&clv1=Y&cli2=PT82&clv2=(PT+Academic+Journal+or+PT+Periodical+or+PT+Trade+Publication)%7e(PT+Book+or+PT+Almanac+or+PT+ebook+or+PT+audiobook)%7e(PT+Newspaper+or+PT+NEWSP+or+PT+Newswire+or+PT+WIRES)&lang=en&authtype=guest" /> <input id="ebscohostsearchsrc" name="ebscohostsearchsrc" type="hidden" value="url" /> <input id="ebscohostsearchmode" name="ebscohostsearchmode" type="hidden" value="+" /> <input id="ebscohostkeywords" name="ebscohostkeywords" type="hidden" value="" /> <div style="background-image: url('http://i.imgur.com/Wjilo.jpg'); background-repeat: no-repeat; width: 900px; height: 600px; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 9pt; color: #353535;"> <div style="padding-top: 249px; padding-left: 70px;"><span style="font-weight: bold;" ></span> <div> <input id="ebscohostsearchtext" name="ebscohostsearchtext" type="text" size="23" style="font-size: 16pt; padding-right: 340px; height: 50px;"> <button type="submit" style="border: 0; background: transparent;"><img src="http://i.imgur.com/nYPoa.png" width="145" hspace="25" alt="submit" /> </div> </div> </div> </form> I'm using IE8 to test Hi, I'm trying to add a google search box (in a table) to my web page, but for some reason it the input button links to the page I am currently on. The strange part is that I put the same exact code in another cell right next to the other google search box and that one works wonderfully while the first one still links to the current page. It is the same with any search engine (yahoo, bing, ask), the first search box links to the current page and the rest work great. Here is the code I use: Code: <form method="get" action="http://www.google.com/search"> <input style="width:140px" type="text" name="q" size="31" maxlength="255" value="" /><br /> <input type="submit" value="Google Search" /> </form> How do I amend the following code to remove everything apart from the actual search box and the 'Google Search' button? When I insert the code into a web page, I don't want to see the radio buttons or the words next to them but I want to keep the functionality. <form method="get" action="http://www.google.com/search"> <input type="text" name="q" size="31" maxlength="255" value="" /> <input type="submit" value="Google Search" /> <input type="radio" name="sitesearch" value="" /> The Web <input type="radio" name="sitesearch" value="askdavetaylor.com" checked /> Ask Dave Taylor<br /> </form> Thanks. Ok, I am trying to make a trading card store, and i need the code for making a search box to search through all the cards. help please. I've designed a search bar in Photoshop (well a whole site, it's all sliced up). But how do I make the box actually search my website? I can provide a printscreen of my site and (or) the HTML code. Thanks in advance. Hi guys I am making a website for my real estate business; preaty much everything is done, now I need to add search in it so that people can search my website. I hope you guys understand my question?? Please help me out. Hi, I am trying to make a search bar, that when i write a keyword the results appear as videos of video/tube sites like youtube, metacafe.. etc Like i want to add a search bar on my site, when i write a keyword "family" for example, it gives me all the "family" results that youtube, metacafe.. etc would give me .. How can i do that? Am making a useful site to search all in one, I need help please, thanks in advance.. I am working of a website and i am having a little trouble with getting the search bar and the nav bar to align correctly. If you think you can help please send me an AIM at weroll04 . or reply back to this post. http://69.49.183.11/ Thanks Darryl All the inputs I have ever made have been using the simple html
HTML Code: <form><input type='text'> sort of commands, though i have got to the point where i would like to learn how to make a search box like the big one in the middle of the page found at http://www.cafepress.com.au/. How does this search bar work? hi every i'm Rohit From India and just started working with the html and i've an task given by my teacher i have to make a web page with one header pic and a footer pic and there should be one google search box in Header i know how to make a google search box in a simple web page using this code HTML Code: <html> <head> </head> <body> <form name="search" action="http://www.google.com/search" target= "_blank"><input name="query" value= "site:http://www.my_site.com" type="hidden" /><input name="q" type= "text" class="field" value="Search Stuff" /><input type="submit" class= "button" value="Search" /></form> </div> </body> </html> but here i've too make a search box over an pic so what i did is i made a simple header in photoshop then i sliced it and use it in my web page using a table and placed the text input box one column and the search button on the next column but now the searching is working i'm English learning too . i know its not good but if its hard for you what i 've written then do this :- i have attached a zip file which have the source files so please edit the html code without changing the current look of the page and make the search box work and i'm new to this site too if i did anything wrong or posted my question at wring place plz don't mind Hi, I have a search box on my website, when viewed in internet explorer the search box blanks an area out above it. This can bee seen he http://www.street-pharmacy.com Im sure it is simple but my knowledge of html is very basic! The html is as follows (ive also attached it): <body style="margin:5px;background-color:#ffffff;color#696969;"> <div align="center"> <table width="1000" cellpadding="0" cellspacing="0" border="0" style="border:2px solid #dcdcdc;"> <tr> <td style="background-color:#F6F6F6;"> <div style="background-image:url(content/skins/flat/images/top_bg.jpg); background-repeat:repeat-x; height:18px; border-bottom:0px solid #FFFFFF;"> <div id="topbar" style="float:right; margin:2px 16px 0px 0px; color:#FFFFFF; font-size:10px;"> <a href="{$url_http}p=page&page_id=delivery" class="TopBottomBarLink"><b>Delivery</b></a> | {if $currencies_count > 1 || $languages_count > 1} <a href="{$url_http}p=international" class="TopBottomBarLink"><b>Change Currency</b></a> | {/if} <a href="http://cart.street-pharmacy.com/index.php?p=cart" class="TopBottomBarLink">{$msg.cart.view_cart}</a> </div> </div> <div> <form action="http://cart.street-pharmacy.com/index.php?" method="get" style="padding:0px;margin:0px;"> <table border="0" style="float:right; margin:32px 4px 0px 0px;"> <tr> <td> <input type="hidden" name="p" value="catalog" /> <input type="hidden" name="mode" value="search" /> <input type="hidden" name="search_in" value="all" /> <input maxlength="256" type="text" name="search_str" style="width:122px;font-size:10px;" /> <input type="submit" value="Go" /> </td> </tr> </table> </form> </div> <div style="background-image:url(content/skins/flat/images/logo.gif); background-repeat:repeat-x; height:183px;"> <table width="100%" height="183" border="0" cellpadding="0" cellspacing="0"> <tr> <td> </td> </tr> </table> <tr> <td align="center" style="background-color:#F6F6F6"> <table width="1000" cellspacing="0" cellpadding="0" border="0"> <tr valign="top"> Thanks Ben I have a Search text box and box on every page on a website. How do I get the user the results from the search after they enter a search term in and hit the Search button? Any help is greatly appreciated. I have a simple html search box like the below one on my website <form method="get" action="http://www.site.com"> <input type="text" name="q" size="31" maxlength="255" value="" /> <input type="submit" value="Search" /> </form> When searching two words like "word1 word2" the result on the url is "word1+word2", but I need to have it as "word1_word2". In fact, I just want to attach the search terms at the end of my url to reach the present pages. Thanks for your help Hi, I'm new here, and I had my website up since the first of September 2006. However, When I go to image search for something related to the website (or even the website name) no images relating to my site come up. I just want to know if I have to put a certain HTML tag on the pages in order to have images come up when I search for them. I don't think any search engine would take seven months to show images off a web page. I want to create a google search bar for my website. Not a custom search, but one that will use just generic google. How would I go about doing this (may require JS/PHP) |