HTML - Search & Sort
well im trying to create a page for my personal reference that would really help out a lot, nothing fancy, and im not sure where to even start...
lets say i want to put in items on my site with different attributes such as rating, item price, etc... so for example: I have a page with a list of different electronic devices. I open my page, type in mp3 players in the search field(or just select it form a drop-down menu), select the sorting option of best rating in descending order (dropdown menu?)and even (if possible) another selection of the price (ascending order), i click the "search" button and boom! you have a list of mp3 players sorted from highest rating to lowest, and where it has the same rating, it descends from lowest price to highest... using tables wouldnt be a good idea since i'm thinking about using a lot of options to go along with the items, so the tables would be extremely huge. (if this is even possible) i was thinking of just listing items with their certain attributes on the main page (but it wouldnt show them), so then when i input whatever i want in the search field, a code would make it go through the list i have created and show only the items that mach my search with a descending/ascending order of whatever i have requested (and would maybe only show that option due to the large chice of selections) my friend suggested to use php for this but im unfamiliar with it... although he did say that i can input a php code into an html website (???) ...and MySQL? would that be too much to learn for just this simple project?... any help and links are greatly appreciated, thanks! 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, 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...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 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> Ok, so I'm doing this website for a webcomic, and I wonder how can I make the "First page / Previous page / Next page / Last page" navigation, without having to code every single one of the hundred pages there are. I believe there is something with PHP and an "include" tag, but how exactly could I make this navigation bar recognize that if you are on page 23 and click Next, it should take you to page 24, and so on? Thank you in advance. `Hello I have this problem that i have a list of things, that is very very long. There is about 5000 entries and i need to make a table where the user can select to sort by something. It looks like this Sort By Car Sort By Tires Sort By Make Sort By Year So how do i make it, so that when the user clicks sort by make, it will sort by it? Do i do it in HTML or what? Are there programs to do this? Thanks For Help! Turha I just have three quick questions about HTML coding: 1. Whenever I apply an image as a background, it shows up on the sides next to the center column thing, but it also shows up in the content area in the middle. How do I make it show only on the sides? 2. I made a horizontal navigation bar with buttons that show a different background and text color when you hover over them. However, it goes like a pixel or so whenever I hover over it, like the image below. How do I prevent this and make it stay the same height as the actual navigation bar? 3. If I have a thing in my HTML code (not my CSS part) that I want to change on all pages, is there a way to apply this change to all pages? Thanks! And hello everyone, first post. Hi, I have a simple list of text entry's that all have the same class (sample shown below) presented on a webpage. I am trying to present the top 5 entries first, with a next button to another page showing the next 5 entries. I was wondering if there was an ajax, javascript or other code that could sort this automatically so when I add new entries to the top, the older entries get shuffled down onto the next pages. I have previously been manually moving the entries from page to page when I add a new one, and am looking for a more efficient alternative but without having to use a database either. Thanks for your time and any suggestions would be really appreciated. Code: <div class="archive-title">title 24th Aug</div> <div class="archive-title">title 21st Aug</div> <div class="archive-title">title 16th Aug</div> <div class="archive-title">title 13th Aug</div> <div class="archive-title">title 9th Aug</div> <div class="archive-title">title 2nd Aug</div> <div class="archive-title">title 26th Jul</div> <div class="archive-title">title 10th Jul</div> <div class="archive-title">title 9th Jul</div> <div class="archive-title">title 4th Jul</div> I have a large table of data from a travel based web site. I'd like to add some sort of user-friendly mechanism for sorting the table by some of the columns, I've tried some javascript approaches I've found on the internet, but haven't had much luck implementing it in a way I'd like. Such as found at this site: http://mguglielmi.free.fr/scripts/TableFilter/?l=en Current layout of table: [img=http://img210.imageshack.us/img210/3937/tablers7.th.png] I'd like to be able to sort by month, destination (e.g. a "Fiji" option which pulls up all listings containing the word "Fiji") Anyone have any suggestions which might help or be suitable? Thanks 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. 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. 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? 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 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 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.. 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'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. |