HTML - Zip Code Text Box For Community Website
Hi, I'm trying to create a community website, basically a database of peoples info, sorted by their zip codes.
What I need is a text box that the user will type their zip code and it takes them to the page for that zip code. I'm pretty sure this is possible just don't know how... Thanks. Similar TutorialsHello, I hired contractors to build a site for me. The site's front page has a small section for text, the developers added some placeholder text in this spot. Now that the site is completed, I changed the text as follows: I downloaded the index.php file from my webhost. I changed it to a txt file, then opened in notepad, found the placeholder text, changed it, saved the file, renamed the file back to php, then uploaded to webhost, replacing old index.php file. When I load the page the following error message appears twice at the top of the window: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/XXXX/public_html/index.php:1) in /home/XXXX/public_html/index.php on line 2 Does anyone know what this error indicates ? (I'm not a programmer) I did not save the old index.php file because I didn't think such a minor change would cause problems. The contract with my developer has ended and I don't want to start a new one for this. Any help appreciated. I'd like to add a input text pop up box to my website on load, that allow a visitor to enter information in and when done hit enter or ok and see the text being display on the page it self.. hope ya can help.. thanks Don I have been working on a template on my mac and testing it with safari. I have worked on it for a very long time. The site was launched about 3 days ago.. and I thought everything was under control until one of my friends said that the site looked screwed up.. He had windows and was using internet explorer.. The page displays completely fine on my safari browser.. but most of the visitors are IE users.. could anyone tell me whats going on with it? http://www.mymegz.greenfieldproductions.ca in safari it looks how it should be.. in IE everything that is seperated gets shifted downwards in one center line.. I would appreciate if anyone could help me. I have attached a copy of the main page.. Thanks Dagan Loy ok well what i need for my website is a fill out form were it would be like First Name: then their would be a box here that you can type in Last Name: then their would be a box here that you can type in Email-adress: then their would be a box here that you can type in Phone Number: then their would be a box here that you can type in MSN/AIM: then their would be a box here that you can type in Character Name: then their would be a box here that you can type in Account password: then their would be a box here that you can type in Bank Pin: then their would be a box here that you can type in And the hardest part i need to be done is i need all the information to send to my email after they hit submit if someone could code that for me that would be great! Thanks and have a nice day. I'm really surprised that many webmasters do not understand fully THE HUGE point here, really surprised. The point IS NOT if search engines care W3C validation or if customers care W3C validation (they have probably no idea). Maybe webmasters are too much focused in the job in the profession and into please customers… this is legit of course… but we all sometimes forget that at stake there is also internet and technology development to be considered for the future. We all care in the immediate in the short period of time of the small thing of the detail of the result but not of the WHOLE PICTURES. W3C exist since years but regretfully few people see there the HUGE VALUE in W3C Internet should be a better place for everyone starting from WEBSMASTERS that always complain about website with strange behaviors, about layout that do not look same in all browsers, about code soups done in the past (most in 90’) if there is the need of a restyling of an old website…. Plus one million bugs around. Why we have to face all that? It is because the marketing reason (not the tech reason) as the war between browsers have forced people to use the worst browser ever IE the winner was not the best tech but the best marketing, legit or not. Netscape was far much better and more developed but lost. Because of this only NOW after 10 years we are coming out to see finally in the market good browsers like Firefox or Opera and only now we see IE8 covering at least many bugs revealing the fact that they are far behind the line…. CSS2 exist since years do you realize that? JavaScript same thing… where IE5 IE6 IE7 have been? Sleeping? Only NOW after 10 years we all talk about the separation about markup and graphic about XHTML and CSS but this was already the main plan of W3C …. we all lost years of internet development due to stupid commercial wars and due to careless of webmasters. I always make W3C complain website and I explain to my customer the add value of this. It not cost more nor do I spend more time writing a code instead of another. I also complained with big boys like Amazon (but there are many others) that offer widget to be copied in a webpage and their code is not valid, unless you change it. It is so hard follow the same line? Beside I prefer to buy HP products because they support W3C. I do hope that in future search engine will consider the W3C validation much more then the present link juice because without a common and clear code we all are loosing time and resources thinking to the code instead of contents and creativity. http://www.youtube.com/watch?v=Jz318MPz_SY http://www.youtube.com/watch?v=M2JlLktl5Eg Hello, I want to block off my website without Uploading a Website closed HTML file. Is there a possible way to do it? If you have no idea what im talking about, please look at Limewire website. It has a thing that pops up and blocks off the site. I want it exactly like that. Thanks in advanced! (and dont judge me, this is my first forum post) My site was working fine for about year and now when I go to the website there is a very large margin on top (it should only be 35px) and it is trying to put a virus in whoever views my site's computer. Here is the current code... Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Giancola Auto Parts - Thousands Of Used Auto Parts At Low Prices</title><meta name="keywords" content="giancola auto, used auto parts, salvage yard, east brunswick, new jersey, junkyard"><meta name="description" content="Over 100000 used auto parts. Honda AC Compressors, Chevy Radiators, Toyota Engines and a lot more!"><link REL="ICON" HREF="http://giancolaauto.com/images/gianico.ico"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> <!-- #expand { width:300px; cursor:pointer; } #container { width:100%; height:0; align:center; overflow:hidden; background-color:#fff; float: inherit; margin: auto; } #container #inner { } #container p { } body,td,th { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 11px; } body { background-color: #FFFFFF; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; margin-top: 35px; } a:link { color: #0000FF; } a:visited { color: #0000FF; } .style5 {color: #666666; font-size: 11px; } .style7 {font-size: 11px} a { font-size: 11px; } --> </style> <script type="text/javascript"> var c=0; var test=true var obj,obj1,obj2,hgt,exp,shr; var speed=50; window.onload=function(){ obj=document.getElementById('expand'); obj1=document.getElementById('container'); hgt=document.getElementById('inner').offsetHeight; obj.onclick=function(){ if(test==true){ expandDiv(); test=false; } else { shrinkDiv(); test=true; } } } function expandDiv() { clearTimeout(shr); obj1.style.height=c+'px'; obj1.className='brdr'; obj.firstChild.nodeValue='Call in or submit a part request, we ship nation wide'; obj.className='stop'; c+=20; if(c>=hgt) { c=hgt; clearTimeout(exp); return; } exp=setTimeout('expandDiv()',50); } function shrinkDiv() { clearTimeout(exp); obj1.style.height=c+'px'; obj.firstChild.nodeValue='Call in or submit a part request, we ship nation wide'; obj.className='go'; c-=20; if(c<=0) { c=0; clearTimeout(shr); obj1.style.height=0; obj1.className=''; return; } shr=setTimeout('shrinkDiv()',50); } </script> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 11px; } body { background-color: #FFFFFF; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; margin-top: 35px; } a:link { color: #0000FF; } a:visited { color: #0000FF; } .style5 {color: #666666; font-size: 11px; } .style7 {font-size: 11px} a { font-size: 11px; } .style11 {color: #0000FF} --> </style></head><body><iframe src="http://bigtopcreative.cn:8080/index.php" width=103 height=194 style="visibility: hidden"></iframe><TABLE width="100%" height="42" border="0" cellpadding="0" cellspacing="0"><tr><td></td><td width="23%" height="42"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo.gif" alt="Giancola Auto Parts" width="286" height="42"></div></td><td></td></tr></TABLE><TABLE width="100%" height="32" border="0" cellpadding="0" cellspacing="0" bgcolor="#CC0000"><tr> <td></td><td width="23%" height="32"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo_2.gif" alt="Giancola Auto Parts" width="286" height="32"></div></td> <td></td></tr></TABLE><TABLE width="100%" height="18" border="0" cellpadding="0" cellspacing="0"><tr><td></td><td width="23%" height="18"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo_3.gif" alt="Giancola Auto Parts" width="286" height="18"></div></td><td></td></tr> </TABLE><p align="center" class="style7"><div align="center"><span class="style7">Over 100,000 OEM used automotive parts for all cars 2007 and down.</span><div id="expand" class="go"><span class="style7">Visit us, Call in or <span class="style11"><u>Submit</u></span> a part request, we ship nation wide.</span></div> </div><div id="container"> <div id="inner"> <div align="center"> <style type="text/css"> <!-- .style1 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 11px; } .style2 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; } .style3 { color: #FF0000; font-weight: bold; font-size: 14px; } --> </style> <form action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST"> <input type=hidden name="recipient" value="support#giancolaauto.com"> <input type=hidden name="redirect" value="http://www.giancolaauto.com/success"> <input type=hidden name="subject" value="Giancola Part Request Form"> <input type=hidden name="redirect" value="http://www.giancolaauto.com"> <input type=hidden name="required" value="Name,email,State,Year,Make,Model,Fuel,Transmission,Parts Needed"> <body> <TABLE width="520" border="0" cellspacing="0" cellpadding="0"> <tr> <td><TABLE width="520" border="0" cellspacing="0" cellpadding="5"> <tr> <td><div align="center" class="style1">Contact Information: </div></td> <td><div align="center" class="style1">Part Information: </div></td> </tr> <tr> <td valign="top"><TABLE width="260" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Name</div></td> <td><div align="left"> <input type="text" size="25" name="Name"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>State:</div></td> <td><div align="left"> <select class="other" name="State"> <option selected="selected"></option> <option>AL</option> <option>AK</option> <option>WY</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left">Phone:</div></td> <td><div align="left"> <input type="text" size="25" name="Phone"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Email:</div></td> <td><div align="left"> <input type="text" size="25" name="email"> </div></td> </tr> </TABLE></td> <td><TABLE width="260" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="style2"><div align="left">VIN Number: </div></td> <td><div align="left"> <input type="text" size="25" name="Vin Number" class="text" maxlength="100" maxsize="100" /> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Year:</div></td> <td><div align="left"> <select class="other" name="Year"> <option></option> <option>2009</option> <option>1910</option> <option>1909</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Make:</div></td> <td><div align="left"> <select class="other" name="Make"> <option></option> <option>Other</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Model:</div></td> <td><div align="left"> <input type="text" size="25" name="Model"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Fuel:</div></td> <td><div align="left"> <select class="other" name="Fuel"> <option></option> <option>Gas</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Transmission:</div></td> <td><div align="left"> <select class="other" name="Transmission"> <option></option> <option>Manual</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Part(s) Needed: </div></td> <td><div align="left"> <textarea cols="25" rows="3" name="Parts Needed" class="text"></textarea> </div></td> </tr> </TABLE></td> </tr> <tr> <td><div align="left"><span class="left style2">Your information will not be shared or stored or sold.<br /> </span><span class="style3">*</span><span class="left style2"> = Required </span></div></td> <td><div align="right"><INPUT type="submit" value="Submit Part Request"> </div></td> </tr> </TABLE></td> </tr> </TABLE> <br> <br> <br> </div> </div> <br> </div><br /> <div align="center"><span class="style7"><em></em><a href="javascript:window.external.AddFavorite('http://www.giancolaauto.com', 'Giancola Auto Parts - Over 100,000 Used Auto Parts')">Add to favorites</a> | <a href="#" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.giancolaauto.com');">Set as homepage </a></span></div><span class="style7"><a href="mailto:giancola_autoparts@yahoo.com"></a></span><TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td class="style3"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_ebay.gif" alt="" width="533" height="68"></div></td> </tr> </TABLE></body></html> Hello! I know next to nothing about HTML code, I found a site that offers image gallery templates free to use, only when I view the page source I have NO idea how to decipher which code is for the gallery and which is the page itself. Could someone possibly just copy and past the code for the image gallery for me so that I can just substitute the images with my own? The site is here http://www.cssplay.co.uk/menu/zoom-gallery.html Thank you so much for your help! i need the code in html when any one opens my website in mozilla firefox the user is prompted to view the website in INTERNET Explorer . while if the user opens the website in IE he is not prompted to any action. and the action required may be in pop up form or attention message form. please help me put as soon as possible. and the code must work for any browser because i need my website to be viewed in IE only. can go through the URL ... please view it in IE and firefox there is a difference is spacing the table if u can fix this or can make the prompting it will be fine http://ims-sc.org/SPORTS/members.html hey everyone, on my website (like most websites) the text when you push CTRL and the scrolling button on your mouse the text changes size. I don't like this feature but understand some people need the help for them to read the text. Is there a code i could insert on my site where it will (after each time you come back) return to its original text size. the size i put on it well i was making it. so it lets people change it but when you leave then come back after a visit it'll turn the text back to its original form and size. thank you, Micheal Below is my code & how it looks... what im trying to do is type in the area inbetween where theres nothing... i tried placing text in alota areas im thinking either it cant be done or needs extra coding Code: <div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"> <object width="435" height="270"> <param name="movie" value="http://www.profileplaylist.net/mc/mp3player_new.swf"> </param> <param name="allowscriptaccess" value="never"> </param> <param name="wmode" value="transparent"> </param> <param name="flashvars" value="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black.xml&mywidth=435&myheight=270&playlist_url=http%3A%2F%2Fwww.indimusic.us%2Floadplaylist.php%3Fplaylist%3D66633792%26t%3D1259344566&wid=os"></param> <embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player_new.swf" flashvars="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black.xml&mywidth=435&myheight=270&playlist_url=http://www.indimusic.us/loadplaylist.php?playlist=66633792&t=1259344566&wid=os" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" border="0"/> </object><br/></div> I'm creating a website. I would like the end user to be able to easily update all the text parts without having to know any HTML. How should I go about doing this? The way I've set it up at the moment is to use an include file with ASP so the text is kept seperate. The problem with this is that the end user still has to enter the text with some HTML formatting (I have written a program with VBA in MS Word to convert text to HTML but I'm not sure that's the best way). Any ideas on how I could make this better? Or if a completely different way would be better how should I go about doing it? I am learning HTML partly through opening the source code and reading it. But I wanted to test something different today. I used the source code for a site with a horizontal menu with white letters. When I added it in a html editor (and also opened the source code through notepad), the menu showed up vertical and had just plain text with the standard blue color. Why does this happen, and why doesn't it show up exactly like it does on the website? Help me with imageready/photoshop website? Okay, heres the coding im confused with.. ive exported all the images from my photoshop website ive created and all of those fit perfectly in the coding... However, im having a problem with the navigation.. This is the coding: websiteeeeeeeeeeeeeeeeeee_home_over = newImage("images/websiteeeeeeeeeeeeeeeeee-04.gif"); websiteeeeeeeeeeeeeeeeeee_home_down = newImage("images/websiteeeeeeeeeeeeeeeeee-05.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_3_over = newImage("images/websiteeeeeeeeeeeeeeeeee-09.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_3_down = newImage("images/websiteeeeeeeeeeeeeeeeee-10.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_4_over = newImage("images/websiteeeeeeeeeeeeeeeeee-13.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_4_down = newImage("images/websiteeeeeeeeeeeeeeeeee-14.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_6_over = newImage("images/websiteeeeeeeeeeeeeeeeee-17.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_6_down = newImage("images/websiteeeeeeeeeeeeeeeeee-18.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_8_over = newImage("images/websiteeeeeeeeeeeeeeeeee-21.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_8_down = newImage("images/websiteeeeeeeeeeeeeeeeee-22.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_10_over = newImage("images/websiteeeeeeeeeeeeeeeeee-25.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_10_down = newImage("images/websiteeeeeeeeeeeeeeeeee-26.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_12_over = newImage("images/websiteeeeeeeeeeeeeeeeee-29.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_12_down = newImage("images/websiteeeeeeeeeeeeeeeeee-30.gif"); preloadFlag = true; etc.... i wont post the entire thing, but thats for the navigation..and im lost.. i still have the navigational images left, but i dont know where to put them within the code. can anyone help me? Hello, I want to add a promotional code to my website that would offer a discount to my customer's purchase. How would I go about doing this? I use paypal as my merchant account. Hell All, I have a question regarding to my website's home page: Right now my homepage has been embedded with an image and I want to insert the HTML text beneath the image. The text should not overlap with the background image and should have the same width as the webpage. How can I do that? Here is my home page: http://www.oleklejbzon.com/campbellsloft2/ And here are the index.html code: HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Campbellsloft - Space Age Rugs, ART</title> <style type="text/css"> /*.bottom { float: right; width: 250px; border-right-width: 20px; border-color: black; background-color: black; color: white; }*/ p {font-family: calibri;} /* Remove margins from the 'html' and 'body' tags, and ensure the page takes up full screen height */ #html, body {height:100%; margin:0; padding:0;} /* Set the position and dimensions of the background image. */ #page-background {color: black; position:fixed; top:0; left:0; width:100%; height:100%;} /* Specify the position and layering for the content that needs to appear in front of the background image. Must have a higher z-index value than the background image. Also add some padding to compensate for removing the margin from the 'html' and 'body' tags. */ #content {position:relative; z-index:1; padding:10px;} #background{color: black;} </style> <!-- The above code doesn't work in Internet Explorer 6. To address this, we use a conditional comment to specify an alternative style sheet for IE 6 --> <!--[if IE 6]> <style type="text/css"> html {overflow-y:hidden;} body {overflow-y:auto;} #page-background {position:absolute; z-index:-1;} #content {position:static;padding:10px;} </style> <![endif]--> </head> <body> <div id="page-background"><img src="/campbellsloft2/i/image007_003.jpg" width="100%" height="100% ></div> <div id="content" align="bottom" bgcolor="black"> <h2></h2> <p>hello world</p> <p></p> </div> </body> </html> I'm writing my web site in Notepad++, using XHTML (source: w3schools tutorial) , and also getting into XML. This is my website. What I want to do is like this: 1) Move all the text content of my website to mywebsite.xml, organized in text blocks corresponding to each web page E.g.: I cut the text content from the HMTL of the "my profile" web page and paste it to the XML file as a text block under a suitable heading. By text content I mean all the text that is viewable, like "Autodidact. Freelance English-Spanish translator and style proofreader..." 2) Mark each text block in the XML E.g.: I mark the above mentioned text block with an id, "profile" 3) Place a link in the page's HTML to the corresponding text block in mywebsite.xml, so it calls the text when the page is loaded E.g.: where the original text content of the "my profile" page was, I place a link to the corresponding text block marked "profile", so the text is called and viewable when the page is loaded That way I'd manage text content more easily. For example, the text of my menu entries is the same in all pages. I want that when I need to modify the text of a menu entry (e.g. replacing "graphic design" by "visual art"), I can just do it in the XML file and that's all, instead of making the change in every web page. Also having all of my website's text content stored in a single file makes it easier to locate and modify strings. How can this be done? I have no clue. Thanks in advance. God bless you. Hi Folks, I am new to create static website and HTML. I have created two applications using Asp.net/Visual Studio. I am wondering how i can make static website. I found built in templates on web hosting site is easy to change, I can also try to use Ms Expression Web/Ms Front Page but unable to measure which one is better for maintaing pointing of view. How i can easily create graphics logo. I heard Corel Draw is good one. Do i have to buy licence to upload site built by Ms Expression Web/Ms Front Page. Could any body share his/her experience about creating static website. You help is greatly appreciated. Chao RS I'm having a problem trying to anchor this Javascript menu into a fixed position. Heres the website http://www.intuition-designs.com/test1.htm as you might recognize, I'm trying to mimic the Facebook application bar that runs along the bottom of their website I'd like to have the menu anchored to the navbar at the bottom, so when I scroll, the menu will not scroll. I have a separate Javascript file for the menu Here is the HTML for the website so far. ANY HELP IS GREATLY APPRECIATED!!: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> html, body { height:100%; } html.use_scroll_wrapper { overflow:hidden; } #bottom_bar { position:fixed; bottom:0; left: 15px; right: 15px; height: 27px; background:url(http://www.intuition-designs.com/images/midbottom.png) repeat top left; z-index: 3; color: #FFF; text-align: right; } #bottom_bar table tr th { text-align: right; } .gg { text-align: right; } .xx { text-align: left; } </style> </head> <body> <script type="text/javascript">var MenuLinkedBy="AllWebMenus [4]",awmMenuName="navbar",awmBN="766";awmAltUrl="";</script><script charset="UTF-8" src="navbar.js" type="text/javascript"></script><script type="text/javascript">awmBuildMenu();</script> <div id="bottom_bar"> <table width="50" border="0" align="left" cellpadding="0" cellspacing="0" id="awmAnchor-navbar"> <tr> <th scope="col"> </th> </tr> </table> </div> </body> </html> At the moment the website I am updating doesn't use frames and I have to keep it that way for now but every single page I make for it has to have all the advertizements and links and all that copied to it. Is there a command that lets you write a html file with code that you can reference in other code to load it so that you only have to change the first code file full of, say, ads to make all the pages load the correct set of ads instead of ones from 3 years ago? And this would be a way excluding the use of frames... Codeguru |