HTML - Re-direction Based On Ip Address
Hello,
I'm a bit stuck with how to code this so if anyone can rattle this off in seconds I'd really appreciate them doing so: Rather than have visitors to my site click on a flag to visit a page based on their country of residence I want them to click one URL, then the code on this page work out if they are from UK, USA, or any other country and re-direct them to either page 1, page 2 or page 3. Is there a way for this to be done? Thanks. Similar TutorialsI need to know how to make an html/javascript based script to make a VERY simple address bar that acts exactly like the address bar on all web browsers. When you type in where you want to go.. well.. It takes you to the url you just typed in! No restrictions are needed (anti-porn for example) and I'm hoping it can be in the shape of a regular old form script that is easily editable. Please don't ask why the hell I would need one but I just do. Thanks in advance Hello all, I have a few questions regarding html forms. Now I have been using HTML for years creating very basic sites. I know how to create the interface for forms, radio buttons, text boxes etc. However I have NO IDEA how to properly get them working. I'm working on a page that has a few elements I'm not sure how to create. I basically need a page where you submit a line of data consisting of drop down boxes, radio, free text... and when you click submit it appears on the page. (Please see attached for a better explanation) I also want to be able to view, edit and delete submissions as appropriate. Any idea how I could go about doing this? I'm currently designing a website for my local business. Right now I'm designing everything is Adobe Photoshop. When I'm done, I'll import it into Adobe Fireworks, then cut it up and I export it into .html. It's going to be a pretty basic and small website but I need help with one thing. I plan to have coupons and reference numbers (for different forms of advertising). I want to have an input box for a customer to enter into the box then click a button. I want that button to redirect them to a different page depending on the input. In other words, if the code is 000628 then I want it to redirect them to www.myurl.com/000628.html. How would I go about doing this? Is this something I can even do using simply html? Thanks for the help!! I am learning web design and I need to know what I need to learn. Let me see if I can explain the concept that I would like to learn: I want to have a site where a customer fills out a form and then the information on that form gets placed on its own page. Does that make sense? I remember once seeing a CGI script for a website that would self generate new pages, but I can't remember what this concept is called. Thanks so much! Marie Hi All. I am building my first website from scratch. The layout is basically broken down into 5 divs: header, top menu, left menu, content and footer. You can see a rough draft which I made using Joomla he http://www.petiot.dnsalias.com/LRL/ (hope the page is reachable) I came to ask myself very very basic and general question for which I need directions more than detailed answers really: What is the normal approach for website content display? 1 - having as many web pages as their are possible menu configurations (e.g. mainlink1/sublinkA mainlink1/sublinkB mainlink2/sublinkA mainlink2/sublinkB etc etc) and load them according to which link the user click? 2 dynamically changing the content of part of the page (i.e. left menu and content) according to the link the user click in the top and left menu respectively. I feel the second approach is the right one, but I think I am missing something. I know how to change the text content of a HTML tag using javascript. I also read about frames that allow to load a page within another page, but I understand that frames are not so popular. I guess my question is: Is it possible to dynamically change the content of a div by loading the html code contained in a separate html/css files? (so for instance I could only update the left menu and content div when the user click on a top men link) if not what is the right way of achieving the same result? Any links or even general keywords I could google would be welcome! Many thanks, Hello. I am pretty new at this, so any help would be appriciated. I want to put a custom text in an address bar of user's browser, so that any page on my site shows www.mydomain.com instead of www.mydomain.com/mypage.html or www.mydomain.com/asubpage.php. I don't want users to see the titles of subpages of my site. My server supports PHP, so I could write this in either HTML or PHP, but don't know how. Is this possible to achieve and if so, how? Hello. I just joined the forums because I want to start making websites again. I used to do it about 3 years ago ( nothing hardcore), but i knew enough to make basic websites. Now, I want to learn the more indepth stuff. Such as Mysql, perl,css,java, javascript etc... i dont even know what someof those are. So heres my question. WHERE SHOULD I START? I want to start from scratch. I dont even rememeber some of the html stuff, so where do you guys think i should start? what are the fundamentals i need to know in order to move on to the more difficult stuff. One last thing, can someone tell me the difference between html/xhtml/xml.. im kinda lost... hello, i want to be able to add an address bar on to a html webpage that can send the user to a link that they type in. any help would be great thanks sir nerdalot Hi, How can I make a logo appear in the address field in the browser? Normally a little "E" sign appears next to the URL. Can somebody help? Thanks How we can put image with web address like this image + http://www.yahoo.com I've begun to notice that most websites now, up on the address bar, have a logo, to the left of the "http://..." address. Is it a piece of html code, or something else? My guess is the latter.. i have a domain registered with network solutions, do i have to pay for it? Thanks, -Adam adam79@toast.net Hey does anyone know how to put the 16x16 images in there address bar ive heard all kindes of ways i just want the right answer, any help very much appreciated cheers Hi I've tried to search for this but no luck so far I've been trying to hide the real location of my page I have a domain that's being redirected into a folder of a hosting I have the domain is something like www.*mydomain1*.com where really is being hosted is www.*mydomain2*.com/mydomain1 well, if I go to www.*mydomain1*.com the address bar switches to: www.*mydomain2*.com/mydomain1 I would preffer to hide mydomain2 and show only www.*mydomain1*.com in the address bar I don't mind if that gets fixed and doesn't reflects the page I'm browsing Thanks Regards GQ I have designed a website in pure HTML coding and uploaded it on to my hosting server. When i visit the site the full URL is not displayed e.g. http://google.com instead of http://www.google.com PLEASE HELP this is doing my nut in !!!! Hi, In most of the web sites nowadays we can see an icon appearing before the URL in the address bar. What is the technique behind it ? Even in this web site it appears. Hey, I'm a bit of a newbie at this, and I have a question for the experts.... I want to set up a textbox within a page that will act as an address bar. Basically, I want to be able to enter a web address into the textbox, and have the page open in another frame. I have a page with 2 frames right now - one containing the textbox, the other that will be the main browsing window. Do I need some CGI script to pull this off? Is there some way that I can restore the text entered in the box into the action= of the form? Thanks in advance for the replies. Sorry if this is the wrong section to post in but as I have explained I'm new to this & I don't fully understand what everything means. But my question is this: A long time ago somebody told me of a method in which I was able to make a nwe forum topic via the address bar. There were spaces to put the message, topic title, topic icon etc. But being slow I forgot it. I was just wondering if anyone could help me with this as I would like to use it to make multiple topics on my new message board & I don't want to type the whole topic out again everytime I post. Again I'm sorry is this is the wrong place to post a quaestion like this. Thanks, Jonny. Does anyone know a html or javascript code that displays the users computer (network adapter's) mac address? I heard about how e-mail address are getting spammed and I read that if the address is in an image, it is less likely to get spammed. I have a image with a "mail-to" code added to it, it that what they mean by embedding an address in an image? It is located on link below in the Pink "dealer wanted" image. http://www.nomagicneon.com thanks Hello, Is there a way to hide the address bar of a pop-up window? I need to hide it for IE and Firefox. I imagine some client-side scripting will be required, which is fine, but I'm wondering if anybody has any ideas. Thank you. |