HTML - Setup Search Without Database
hello guys,
can someone guide me on how to setup/create search in my website for content and pages not using any database, all i want is to search simple content in my limited number of pages ? is that possible using html ? if yes then please guide me how to accomplish it...thanks Similar TutorialsI've tried a few different things and I honestly don't know how to get it to work. I'm using MS VWD Express in hopes it would take care of most of the work. I really hope someone can give me an example of what I'm looking to do. Just to keep it simple I'll keep it to two columns. SQL Database Column 1 ID (int) primary key Column 2 Name (varchar) On my aspx page I would like to have checkboxes and to keep the example short let us just say three. Mike John Frank What I'm look for is if Mike and John are checked I will get a datagrid with results like the following: ID Name 2 Mike 4 Mike 9 Frank 10 Frank or if all three are checked I would get ID Name 1 John 2 Mike 3 John 4 Mike 5 John 6 John 7 John 8 John 9 Frank 10 Frank I just can't figure it out. Please help. Thanks. hello, I have two form submit email from emailmeform. I want to put these at one submit email form, but my visitors still can choose which they want to submit, ie as models or as voters. But I dont know how to linked these email submit form with their choose feature. Would you help me? Below is my code. HTML Code: <form method="post" action="http(.)//www,xxxxxx,com/fid.php?formid=533870" enctype="multipart/form-data" accept-charset="UTF-8"> (this first link to send email) "http://www(.)//www,xxxxxx,com /fid.php?formid=532682" enctype="multipart/form-data" accept-charset="UTF-8"> (this second linkt to send email) <table bgcolor="#b5d5ea" border="0" cellpadding="2" cellspacing="0"> <tbody> <tr valign="top"> <td nowrap="nowrap"><font color="#000000" face="Verdana" size="2"><b>As : </b></font></td> </tr> <tr> <td> <select name="src"> <option value="http(.)//www.xxxxxx.com/fid.php?formid=533870" enctype="multipart/form-data" accept-charset="UTF-8">Model</option> <option value="http://www(.)[url]www.xxxxxx.com[/url] /fid.php?formid=532682" enctype="multipart/form-data" accept-charset="UTF-8" selected="selected">Voters</option> </select> </td> </tr> <tr valign="top"> <td nowrap="nowrap"><font color="#000000" face="Verdana" size="2"><b>Name : </b></font></td> </tr> <tr> <td><input name="FieldData0" size="15" type="text"> </td> </tr> <tr valign="top"> <td nowrap="nowrap"><font color="#000000" face="Verdana" size="2"><b>Email : </b></font></td> </tr> <tr> <td><input name="FieldData1" size="20" type="text"> </td> </tr> <tr> <td align="right"><input name="hida2" value="" maxlength="100" size="3" style="display: none;" type="text"><input class="btn" value="Subscribe" name="Submit" type="submit"></td> </tr> <tr> <td colspan="2" align="center"><br> </td> </tr> </tbody> </table> <br> </form> Thank you very much for your advance. Edwin Hi I'm trying to setup a chat on my site where you will ave to sign up in order to chat. However I already have a forums setup on that site that uses a MySQL Databases. My question is can I use the same database for the chat that i use for the forums? and if yes will i be able to login to the chat and the forums with the same usernam/password Thank you FSY The website I am trying to build is as follows: Website Logo (a jpg file) Left bar (4 jpgs) | The content (some text) | Right bar(2 jpgs) Footer(some text) This is what I have coded so far: HTML Code: <body bgcolor="#3598FE"> <!-- start header --> <div id="header"> <div id="logo" align=center> <img src="images/The_LastPic_Logo_Final_Nov_3.jpg" width="463" height="193" /> </div> </div> <!-- end header --> <!-- start page --> <div id="page"> <!-- start leftbar --> <div id="leftbar" class="sidebar"> <table> <tr><td><a href="http://www.google.com"><img src="images/baseball_home.jpg" width="230" height="64" style="border-style: none" /></a></td></tr> <tr><td><a href="http://www.google.com"><img src="images/volley_uploadVideo.jpg" width="230" height="64" style="border-style: none" /></a></td></tr> <tr><td><a href="http://www.google.com"><img src="images/puck_aboutTLP.jpg" width="230" height="64" style="border-style: none" /></a></td></tr> <tr><td><a href="http://www.google.com"><img src="images/football_officialRules.jpg" width="230" height="64" style="border-style: none" /></a></td></tr> <tr><td><a href="http://www.google.com"><img src="images/basketball_ReleaseFroms.jpg" width="230" height="64" style="border-style: none" /></a></td></tr> </table> </div> <!-- end leftbar --> <!-- start content --> <div id="content"> <h1 class="title">Hello</h1> </div> <!-- end content --> </div> <!-- end page --> </body> Where I have <h1 class="title">Hello</h1> It is showing up below the table I created, how can I make it print to the right of the table? My server switch me from Windows platform to Linux. now when I pull down one of my pages I have lost all my spacing formats. Is there anything I can do to stop this? Is Linux causing this? It looks like this now: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML><HEAD><TITLE>No Magic Neon Street Magic LED DOT Approval Page</TITLE><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><META NAME="Keywords" content="DOT, DOT approval, led clusters, genesis, spyder, can-am spyder "><META NAME="Description" CONTENT="Street Magic Leds. Motorcycle Lighting Innovators, Not Imitators LED lights"><META NAME="Author" CONTENT="streetmagicleds@nycap.rr.com"><META NAME="ROBOTS" CONTENT="index,follow"></head><BODY BGCOLOR="#000000" TEXT="#000000" LINK="orange" VLINK="yellow" ALINK="#FF0000"><!--Take first section and duplicate on each page-change links--><div align=center><IMG SRC="logo sm-nmn 8-07.jpg" WIDTH=855 BORDER=0><p><table border=0 width=900 height=20 bordercolor="black" cellspacing=o cellpadding=0 bgcolor="black" > <tr><td><div align=center><A href="http://www.nomagicneon.com"><font color=#ffff99>Home</A> *<A href="http://www.nomagicneon.com/contact.html"><font color=#ffff99>Contact Info.</A Use to look like this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>No Magic Neon Street Magic LED DOT Approval Page</TITLE> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <META NAME="Keywords" content="DOT, DOT approval, led clusters, genesis, spyder, can-am spyder "> <META NAME="Description" CONTENT="Street Magic Leds. Motorcycle Lighting Innovators, Not Imitators LED lights"> <META NAME="Author" CONTENT="streetmagicleds@nycap.rr.com"> <META NAME="ROBOTS" CONTENT="index,follow"> </head> <BODY BGCOLOR="#000000" TEXT="#000000" LINK="orange" VLINK="yellow" ALINK="#FF0000"> Thanks in advance if you have any ideas I have a client that would like to have an online registration setup on his website. It is a fitness website in which he would like the client to enter some basic information and pay online for the classes. I have a basic knowledge of HTML so if someone could lead me in the right direction it would be greatly appreciated. Thanks in advance. Hey Im looking to setup an anti-spam code / confirmation code for my download button, this way less people are spamming the site , I wanted to setup a simple 3 digit code, a random code would appear(numbers), Download button: HTML Code: <center><input name='Submit' type='image' src='download.jpg' value='Submit' /></center> i got a template i been modifying , still under severe contstruction. http://illusive817.sitefrost.com/Demise/index.html i want the the Recent Post box to read the most recent posts ofcourse and would like the popular post to read the most popular not sure how to link it to the forums Thanks , i got smf forums already installed , or i can use phpbb , either one is fine Hi, I am trying to set up a pictures page on a web site. My first idea was to set up two iframes so that the user could scroll sideways on the top through the pictures and each picture would link to itself in a bigger size targeted to another iframe... like this. I put a few of the pictures in here just to show you what I was thinking... the page really isn't working well, I just threw it together to show you the structure I'm talking about. This would work, but I'd also like the description to change, so I was thinking of using Javascript (I don't actually know javascript yet, so I'm guessing at this) so each picture would change TWO iframes, one as the picture and the other would be the description. The problem with that would be that I would have to make a new html page for each description... I guess I could do that, but would there be anything easier? All the solutions I have thought of like using a getElementByID javascript to change the picture and text wouldn't work because of the iframe. If there is another solution, I don't even need an iframe. I was just checking to see if anyone had any suggestions on this, either a simpler solution to the iframe idea or a completely different idea. It really doesn't matter, I just want a good looking, easy to use pictures page. Hello all I was wondering is there a way in HTML/JSP to modify the original Print Page Setup, originally defined by the user? What I mean is that no matter what settings the user has on his Page Setup, I always want the page margins to be the following, when a user opens up my HTML and tries to print the page: Right = .75in, Left = .75in, Top = .4in, Bottom = .4in What I am using is the following CSS in my HTML: <STYLE TYPE="text/css" MEDIA="print"> <!-- BODY { margin-left: .75in margin-right: .75in margin-top: .4in margin-bottom: .4in } --> </STYLE> But it doesnt seem to work. If the orginal page margins defined by the user are more than what I am setting through my CSS, it doesnt seem to work. i.e. If the user has all his margins setup to .75in, my CSS doesnt seem to alter the same. I would be glad if someone could help. Thanks Hi, Quite some time ago I was faced with putting a website together for the first time for a local community group (my wife nominated me!). Rather than tell you all what it contains and how it looks, it is probably easier for me to give you the link which is the Friends of Clifton Park based in South Yorkshire, UK. This website consists of eight html pages. The first is the index, second is the welcome page and the rest are linked pages via links on the left. On every of the "linked" pages, only the main body changes, with the exception of each link showing in Caps and link disabled. The problem I'm having is that every single one of the linked html pages are the same, except the displayed text. 90% is the page set-up. So my question is: Is it possible to "import" the required text information when a link is clicked on straight into the main body of ONE html page? btw, you'll notice that the page height isn't fixed, it expands depending on amount of information in it. I have tried IFRAME but don't really seem to be getting anywhere as I can't seem to make the height auto-adjust. A specified height value has to be entered for each "page". This is no good as more information will be needed to be put on. So basically what I am trying to do is: Keep the index.html Change the welcome.html to display the main page (graphics/images, etc) Import text into main body into the welcome.html page when a link is clicked on. Thus reducing the need of duplicate html pages and just having text files containing the main body text. The main reason for wanting to do this is a) stop all the duplication of page set-up in each html file, and b) make it easier for the guy that wants to add information where needed, straight into notepad (txt file) and upload it to the website. I hope all the above makes sense and if anyone requires further information, I will only be to happy to provide it! Thank you. 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...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> 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. |