HTML - Automatic Redirection Target Code
Hello Everyone,
I used to have this site where it had the power to on load redirection one site (If opened) to a certain one. For example; If I had google opened, and then i load my site on a different tab or window onl load of that page google would be changed to the site i put in that code. Now I have lost this code, I asked on another forum and they said something about putting target in my code. This did not work either. Atleast what I tried. Does anybody know this code or have a suggestion for me? -Troy Similar TutorialsHi there I use www.webnode.com to build & maintain the website for our children's orchestra. On my website we have a page were every kid's name, photo and age is showed. I was wondering if there was an automatic age changer system code, so I would not have to check every day if there are birthdays and having to change them manually. Something like this; Name, <age>, photo. That age would be calculated by putting in the birth date. Is that possible? Thx in advance! Martino Hello all. I am making a page about logic gates. Anyway, I need to add a link target to the following code: Code: <center><h1 style="font-family: arial, serif; font-size:24pt; text-align:center; width: 250px; display:block; padding:5px; color:#000000; background-color:#1B3F8B; border: solid #000000 2px">The And Gate</h1> </center> This is bacause I have a pic of logic gates that I have image mapped and I want users to be able to click on a specific gate and be able to instantly jump to where that gate is on the page. I have came up with the following code to set a link target: Code: <a name="And"></a>|<font size="+2">And gate</font> The problem is that I am not sure where to place this code in the first code I posted. Can anybody help? Hi Guys, I have a website which has an iframe and inside that frame is the web content. Now when I want to do a website redirection using the META tag method the new site loads inside the iframe, I dont want this to happen, I want the whole site to goto the new site. How can I do this ? I'm using geocities free btw. I am after the html code to redirect the surfer from an address to a new address so I guess I have an index file with code at site 1 then when surfer goes there it automatically [hopefully without him/her knowing] just diverts to site 2 I am trying to make links on my website like one of the following: example.com/promo All I did was take away the .html from the ftp page. Everything is fine when I access the page with IE, but Fire Fox just displays the html code because it is not .html at the end. How can I make these pages without having to have .html at the end, but with fire fox recognizing it as a html document? Let me know if I need to explain myself better, Thanks Hi! I have a problem. My homepage, what is under construction at the moment, is only viewable without errors with Explorer. I want to insert a javascript to the index.htm file, that redirects the visitors, depending on their browser. I am currently trying this: <script language=Javascript> if ((navigator.appName=="Microsoft Internet Explorer")&(navigator.userAgent.indexOf("Opera")==-1)&(navigator.userAgent.indexOf("Netscape")==-1)&(navigator.userAgent.indexOf("Mozilla")==-1)){document.location.href="good.htm";}else{document.location.href="wrong.htm";} </script> The indexOf stuff is needed, because Mozilla, Netscape and Opera would trick the script, because they make themselves look like Explorer. ...But this still doesn't work right, because now this script redirect every browser to "wrong.htm" (even explorer). I would be very thankful, if somebody would help me out with a working script. See error image: http://img692.imageshack.us/img692/5861/redirection.jpg I have no idea what this means, I can't add a wildcard redirect from my .net to .com domain. It had worked before, the redirect was deleted, and now I can't add it back. See public_html folder: http://img534.imageshack.us/img534/3938/publichtml.jpg Opened a support ticket, the guy doesn't know what he's talking about. He's telling me to go back to the redirect section and add the info (that I already tried). Any ideas? Hi guys im new here , hope this is in the correct place , sry if its not. Im trying to redirect a link . I have an image on another forum in my signature. i have it linked to already using [url=http " web page here "][img] "my signature image here" [/img] So currently when someone clicks my signature image it redirect them to the web page that its linked to. But what im looking for is , when someone clicks my signature image i want it to go to a single web image first ( for a 5 or so second delay) and then automatically redirect to the link. Anyone got any ideas how to do this , thank you all hope you can help me Hi - I'm really new to HTML and web design in general. What I'm trying to do is to set up a website where the home page is a disclaimer (page 1). The user presses the "Accept" button and is taken to the next page (page 2). Lets say a user copies the url for page 2 and emails it to a friend. The friend clicks on the link and bypasses the disclaimer. How can I have that page redirected to the disclaimer on page 1, but not have page 2 redirect to page 1 if the accept button is pushed. I hope I explained that adequately (but I doubt it!). Thanks for the help, I don't want my page to redirect automatically, but I have a link on my old website's URL that says "Click Here to be taken to my new URL" and I was wondering, if my previous website has pages like mywebsite.com/randompost1393 is there a way to link it to newURL.com/randompost1393 but not JUST on that one page, on all of my pages? Like just coding one link on my previous URL so that no matter what page I'm on, it just switches over to the same page but on my new website? Like if its on the home page which is just mywebsite.com/ it should go to newURL.com/ and if its on /page/3 it should go to newURL.com/page/3 I hope this makes sense, sorry if it confuses you. I need to do a redirection without breaking frame...does anyone know the code for this? I am using: <head> <script language="javascript"><!-- location.replace("pagename.html") //--> </script> ...other head section stuff (Title, Description,etc.)... </head> Thanks!!! Hi, We are going to open few vacancies in our website. We create a separate link to apply for each position in website. So for each position, there will be a buton APPLY NOW for example. What we need now is to create a script if possible, that when people apply depends in position, mail goes to certain subfolder in our mailbox. Basically it'll have to do the job of rules in MS Outlook. We don't want to create rules, because people usually don't write in subject line (for example) as we advise them in order rule to function properly Thank you Hi, I webmaster a web page at, lets call the address: www.ourlittledivision.bigcompanydomain.org. Here (at our company) I have all files of the web page, including a functioning favicon. I have also complemented with a more readable web address, lets call it: www.ourlittledivision.com. This second address simply redirects to the first address mentioned above. This domain with its redirection is located at an external web hotel. These two alternative addresses means you can reach the web pages either way by just writing either the first or the second url. My question is that the favicon appears fine if you use the first address, but not if you use the second. The favicon seems to be lost in the redirection, and just IEs default icon is shown. The web hotel should not be blamed. I use it for other web pages where the favicons work, but they are not redirected. My picture favicon.ico lies just next to the index file in the root, not in any of the folders. The code in the index file is simply: <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <link rel="icon" href="/favicon.ico" type="image/x-icon"> So, can anyone mediate...? Somebody out there must have seen this phenomena. I guess there are more than I that could be helped by a solution to this question... Best regards Stonechat I'm having trouble with my site. I can get it looking great in IE7 and FF, but if you try and view it in IE6 or below, it doesn't look right. I have tried everything I can to fix it with no luck so I have given up. What I'm wanting now is for the code to detect if you are using IE6 or below, and if you are I want it to take you to redirect you to a warning page that says something along the lines of "You need to upgrade your browser to IE7, or continue with caution" or just something like that. Can someone direct me to a helpful site or maybe someone has some script already that they can post? Hey guys, i'm just starting up with html, and am having a few problems. I have a php file titled "stats.php" that return results when you direct your url to: /stats.php/default/dricho Its a dynamic sig generator through a php file. I have created a form that allows you to simply add in the details so that it generates the link for you. But i am having an issue. here is the form: HTML Code: <form action="http://www.domain.com/sig/stats.php" method="post"> <select name="background"> <option>maple</option> <option>default</option> </select> Name: <input name="rsn" type="text" /> <input type="submit" /> </form> How can i make it so teh results open a link based on teh items chosen? i.e. if i chose maple and input dricho it would direct the url to: "/stats.php/maple/dricho"? All help is greatly appreciated, Daniel Hello team, I had some great help here last time so this is my first stop to ask another question What i'm trying to do is make: www.mysite.com/whatever (where 'whatever' is the string i give someone i.e 12345 or bobsmith) ...redirect to: http://www.redirectsite.com/print_de...p?pid=whatever so i can tell people to go to, for example, www.mysite.com/bicycle and it will go to http://www.redirectsite.com/print_de...sp?pid=bicycle note that i have no control over 'redirectsite' other than being able to upload my products. is this possible? i'm thinking that somehow i could make a /redirect directory with some sort of graber file where anything that queries /redirect as in www.mysite.com/redirect/bicycle automatically gets forwarded to the new site with the added string on the end of "id=". how tough it that!? tell me it's not impossible please!! thanks for you help in advance!! Hi, this is my first post and I'm pretty new at HTML. Ok, I have been making a script and it works fine, but there's a problem. Most websites I visit (including this one) when you make the window smaller, the stuff you covered up simply goes off screen, but in my script, when you cover it up most stuff shifts down a line and is still visible. This look very messy having things constantly shifting around! : I was wondering if there was some tag or something that causes everything to freeze in place no matter how small the window gets. -Thanks hey all, working on some simple coding that is giving me trouble. here is what i have so far: HTML Code: <div style = 'position:absolute; width:auto; background-color:#DFD2FC;padding:10px;'> <div style = 'position:relative; background-color:#B6FCCC;'> <p>pair</p> <div style = 'position:relative; float:left; background-color:#FCE4B6; margin:5px; padding:5px;'> <p style = 'align-text:left'>1<br>2<br>moo<br>meow</p> </div> <div style = 'position:relative; float:left; background-color:#FCE4B6; margin:5px; padding:5px;'> <p style = 'align-text:left'>3<br>4<br>sdf<br>asdf<br>sdf</p> </div> </div> </div> however, it's not behaving correctly. i'd like the 'green' div to change in size according to the text within the 'yellow' divs. and then the 'purple' div should change size compared to the size of the 'green' div. i hope that's clear... any help? I was wondering if it's possible to automatically copy a file to a website from another site. The reason I ask, is the company I work for wishes to show the newsletters from their partner company but doesn't want to update their website after each letter. So, I know I can create a link to their site rather easily, but I'm wondering if it's possible to actually copy the files that are stored in .pdf format. Ok so I am extremely new to coding and am setting up a small website. Everything I use right now is based off of a few excel spreadsheets and the site I'm making I want some of that info in a more public format rather than sharing a bunch of spreadsheets. One spreadsheet I have imports the html tables from another website and puts it into a google docs spreadsheet. So whenever the source code is changed on the original website it is also changed on my spreadsheet. Now, is it possible to reference a specific spreadsheet cell(s) (instead of the specific data in the cells) so that when the data is changed on the spreadsheet it is also changed on my website. The way I have it now it only shows what was on the spreadsheet at the time the code was entered. So if cell A1 said apples and then a day later cell A1 changed to bananas, my website still shows apples since that was what was originally entered even though the spreadsheet changed to bananas. I'm not sure if I'm too clear on what I'm asking...I tried. If you have a vague answer or a starting point where I should start looking that would be good too. Thanks. |