HTML - Redirecting In Same Window
Hello,
I am a novice at HTML and need help with redirecting. How do you make a redirect using HTML so that it opens in the same window and not in a new window? I have a page I am making for a test logoff scrren and I need the page to redirect to another web site after a certain period or upon a click on a link. Every time I set it up, it pops open a new window. I know I must be missing something, but I cant figure out what. I am using transitional DTD, if that helps. Thank you for your time! Similar TutorialsHi, im quite good at html, doing php, and a bit of javascript, but i need to find out how to make a page redirect by itself. With a time limit so that you go to the page, and in 5 second it goes to a different page. I hope you can help me as it is quite urgent. Thanks alot anyone who can help. Oh, and it has to be pure html, NO Javascript Thanks Coggz I'm working on an adult site for a client that needs to use an age verfication form before allowing visitors into the adult sections. I have the age verification form in place, but it only directs you to one page upon proper adult verification. What I would like to have happen is, a visitor clicks on a specific adult topic (there are several to choose from), have their age verified only once (I think this can be done with cookies), then be directed to the specific section they selected in the first place. I'd like to know, 1.) What should I use for the cookie code? 2.) Any ideas on how I can set it up that they're directed to the right spot after they're verified? Thanks! I've been through a few sites about redirecting traffic from your MySpace to another site, but I'm not sure how it really works. I know there is some flash involved but I also know that MySpace dissallowed some flash code on the site. What can I do here? I have a form with several buttons, once the buttons are clicked I want them to redirect the user to another page, with the exception of one button which after being clicked, I want it to not redirect anywhere. Is it possible to do this? Any help is much appreciated. Hey guys, I'm sure this had been asked a thousand times, and I know I can search Google and find answers. Which I have found some, but I seem to get a more straight forward answer when the people answering my question know my exact situation. So anyways: I have my bands website: www.aqueousband.com And let's say that I acquire www.aqueous.com. I have a hosting plan with godaddy for www.aqueousband.com and all of my files are on that hosting plan and I want to keep that domain name. So it would make the most sense to just make www.aqueous.com redirect to www.aqueousband.com ... right? So how would I do this? I was reading about 301 redirect, am I on the right track? I started to think, if I just bought a domain name I would just have the domain name and no hosting. So how do I put an index file on a domain name that has no hosting attached to it? There's gotta be a way! Hey I am fairly new to the whole webmaster and html coding. My current situation is that I have a html file that works for an old domain. I have recently move to a new subdomain that is hosting my website. I uploaded my html file to the host and everything is working smoothly except for the fact that none of the links work! Please help. Thankyou how do i redirect an iframe from outside of the iframe like home +------------------------------------------------------------------------+ about |IFRAMEIFRAMEIFRAMEIFRAMEIFRAMEIFRAMEIFRAMEIFRAME| contact |IFRAMEIFRAMEIFRAMEIFRAMEIFRAMEIFRAMEIFRAMEIFRAME| contact +------------------------------------------------------------------------+ redirect the iframe on the click of the links on the left, without refreshing the whole page cheers, Rory Please help. For a site I am creating, there is a signup feature. When someone clicks to register, a form pops up. Once they click "Send" the information gets sent to the email address (which I have outlined in the php), I want to redirect it to another window which says thanks for registering. So far, the information does get sent to the email address, but the form stays as is. So the form works fine, I just need to figure out how to redirect it or a way I can show text saying "Thanks your info as been sent". Please help with any tips! Here is the code for what I have so far: PHP Code: <?php //grabs posted information $name=$_POST['name']; $email=$_POST['email']; $phone=$_POST['phone']; $city=$_POST['city']; $country=$_POST['country']; $submit=$_POST['submit']; //formats email $sendTo="emailaddy@gmail.com";//recipient email $subjectheader="Response from Website"; //subject line $message="Name: $name\n Email: $email\n Phone Number: $phone\n City: $city\n Country: $country "; //message body $header="From: ".$name."<".$email.">"; //sender's email if(isset($_POST[submitted])){ //checks to see if comment textarea has content if(!empty($_POST[name])){ //sends the email mail($sendTo, $subjectheader, $message, $header); //visually confirms if email has been sent if(mail){ echo"Information Sent. Thank you for your help"; }else{ echo"Failed to send message"; } //end confirmation }else{ echo"Please fill out all the fields"; } //end of empty } //end of isset ?> Hi all, I am wondering if anyone know how to have a link, once clicked, open a popup window WHILE also changing the page in the existing window. I know how to code them separately, but I do not know how to combine the two actions. HTML Code: <A HREF="javascript:popUp('popup.html')">link name</A> My site currently uses the above code to open popup windows. Any help would be much appreciated, David Hello, I use some of pages of my website as IFRAME. My question is: I want Google to crawl IFRAME contents but when the IFRAME url is typed in browser directly in browser or when a visitor clicks on the IFRAME url in search results, I want the visitor to be redirected to main page of my website. Is it possible? If it is possible, how can I do that? Here is the case. I have an HTML page that opens a pop-up. Within the popup I need upon click to open a new window. The code is as it should be according to all references: <a href="some url" target="_blank">text</a> Everything is ok with IE6 and IE7 - a new window is being opened. What happens in Firefox is very strange - tabs are shown and the currently opened popup becomes one of the tabs and the new window opens in a new tab of the pop-up window instead in a new normal window. Did anybody encounter the same problem? Any solutions? Hi everyone, How diffecult is the code where it checks if user has Flash Player installed on their computer before directing them to the appropriate web page. i.e. I want to build a site in Flash but dnt want people who cant view Flash to see nothing, so will also build a more basic version in HTML. I know its possible, just not sure how. Any help will be gratefully appreciated. Regards, liam Hi Just wondering if there is a non -java way of detecting a user's browser width and then redirecting to the appropriate version of my site? Cheers Shaun Hi all, I have two html file (first.html and second.html) i called the first.html from batch Command file, then the batch file calls the second.html file. what i want is that while loading the second.html it will close the first.html using script. If its a parent then i can use top.close() or parent.close() but its not a parent window. Here no parent file. please help me to do this. Thanks Jay I have constructed an html window within a window thusly: <object type="text/html" data="x/FE-000-EN.html" style="width:460px; height:800px; margin-left:20px;" width="24" height="24"></object> on the same page outside of that window I would like to place buttons which change the content of the window within a window. I use a basic hyperlink button, to click this link below and change the content of the window above I...? <a href="001.htm">001</a><font color="#FFFFFF">: S.S.H.U.T.</font><br> Thanks for your assistance =) You may view the complete site here if needed: http://fragmentearth.netfirms.com/ Hi, I have the following situation. I want when the user types http://locahost/abc.html or http://locahost/xyz.html he should be automatically redirected to the http://locahost/login.html page User can only access http://locahost/xyz.html page when he clicks a link on http://locahost/abc.html and not by directlty typing it in the browser. By this i want only authorized users to have access to my web pages. My web portal is hosted on apache server on linux OS. How can i do this? Any help would be greatly appreciated. Hi, I have a java script function like this to open one child window form main window. Its working properly. function billingMain() { top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/billingMain.jsf','window1', 'width=950,height=400' +',menubar=0' +',toolbar=0' +',status=0' +',scrollbars=1' +',resizable=0' +',location=0') top.consoleRef.document.close() } But when my child window opened, i want to open another child window from previous child window. and here is the script follows for this, function UB92Main() { top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/claimInformation.jsf','UB92', 'width=450,height=250' +',menubar=0' +',toolbar=0' +',status=0' +',scrollbars=1' +',resizable=0' +',location=0') top.consoleRef.document.close() } here the second child window is not opening. How to resolve this. Thanks, Vinutha. Hello, and thank you for granting me access to such a wonderfull Forum. Well here goes .... I have a code snippet which happens to be an affiliate banner. Once inserted into the web site code it is effective however: when clicked from a viewers perspective it engages as a 'pop-up' opposed to a new window (which is what i need). I am not yet wise in the ways of html yet but have just chosen 'blank' in DW to set that on other objects. This does not give me that option though - Im sure its just a matter of inserting target="_blank" somewhere, but I cannot figure out where. Can someone please tell me how to fiddle with this code to make it open in a new window instead of a pop-up? : <div class="style33" id="idALTxCOMxxJOINxFORxFREExx" style="position:absolute; top:2095px; left:140px; width:728px; height:90px; z-index: 0;"> <object name="cm728doschicas" id="cm728doschicas" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="728" height="90"> <param name="allowscriptaccess" value="always" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="transparent" /> <param name="movie" value=http://banners.alt.com/banners/alt/27066/cm728doschicas.swf?go_url=http://alt.com/go/g1003239-ppc /><param name="quality" value="high" /> <embed name="15671_27066_175x131_01" src=http://banners.alt.com/banners/alt/27066/cm728doschicas.swf?go_url=http://alt.com/go/g1003239-ppc quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="728" height="90"></embed> </object> <script language="javascript"> document.cm728doschicas.SetVariable('go_url', 'http://alt.com/go/g1003239-ppc'); </script> </div> Thank you so much Hey i need a bit of help, how do i have a thumbnail link to a new page and have it pop up smaller then the original window? Hey! This is my first post here btw. I want to ask silly thing: I need to make a simple POP UP window as link from an image. Can any1 explain me this thing, using easy words, please don't give me links to other websites, I've been everywhere cheers, ne3ga |