HTML - How To Set Up A Search Box To Search And Highlight Text In Different Frame?
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! Similar TutorialsHi all, I don't exactly know what to call it, apart from the explanation to what I want to do. Basically, I have a HTML page. On their, I have a text box and a search button and some text in a table. What I want to do is, when typing something in the box, clicking search will then jump to a part of the page and 'highlight' what is typed into the box. Ideally, the page will run in either HTML but I can use ASP. Unfortunately I cannot use PHP. Could anyone please help or give me some advise on this? For 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, 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! I need a way to add a specific term to any search entry made on my site. I've looked into hidden texts, but not sure if that's the way to go. Any insight on how this could be done would be greatly appreciated it! hey guys i need help with a SearchBar.. i made a Wordpress theme.. and i have the Search Bar.. and i want on that search bar to have the text "Search" or "Find me" something like that how do i do that ? and when people click on the t ext the text to disappear and to be able to type their own. 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> Ok, you know how you can drag the mouse over any amount of normal text and the text gets that blue border around it. Try doing the same with an input box and you can only highlight the text of one input box at a time. How can I highlight the text from multiple form input boxes at once? 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 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. 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 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. 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. 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.. 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. 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. not sure how to integrate this code, I have tried a couple of different ways but I have failed and now I am here looking for help the current code on my site is which is only for looks Code: <tr> <td width="35%" align="right"> <img border="0" src="images/search.gif" width="94" height="13" /></td> <td width="37%" valign="bottom"> <input type="text" name="search" class="inpbox" size="16" /> </td> <td width="24%" valign="bottom"> <a href="#"> <img border="0" src="images/go.gif" width="27" height="16" /></a></td> </tr> </table> </td> and i want to add to make it function is Code: <form action="/cgi-sys/entropysearch.cgi" target=searchwindow> Search Query <input type="text" name="query" value=""> <input type="hidden" name="user" value="dm1817"> <input type="hidden" name="basehref" value="http://disneymagic.ca"> <input type="hidden" name="template" value="default"> <input type="submit" value="Search"> </form> Hi, I am searching for some templates which could accomplish two goals for my website: Goal 1: To display two lists in drop-down format, each with seperate subject matter. When two selections are made, they take the user to a new page via a button action with information on the combination of the two. Example: Form 1: Classic cars Form 2: 1960's Result: a list of 1960's classic cars. Goal 2: To display a picture associated with each item as the user drags the cursor over them in the list. For example, classic cars would display a picture, and 1960's would have another. Any information would be helpful. I am a beginner at HTML, but looking forward to learning more as I go along. Thanks! |