jake_604
12-07-2002, 10:15 AM
hi, pls can sumbody pls tell me the code for the <META> tag that refreshed the page, and can you make it so that the TARGET="_top"?
|
Click to See Complete Forum and Search --> : META Tags help! jake_604 12-07-2002, 10:15 AM hi, pls can sumbody pls tell me the code for the <META> tag that refreshed the page, and can you make it so that the TARGET="_top"? Zach Elfers 12-07-2002, 11:11 AM <meta http-equiv="Refresh" content="10;url=somepage.html"> That will just refresh the current page. I do not know how to change the target in that HTML code, but maybe it would go like this: <meta http-equiv="Resfresh" content="10;url=somepage.html;target=_top"> Rick Bull 12-08-2002, 06:33 AM I just wanted to add that you should always provide a plain link in the page to the page you are refreshing to, as not all browsers support that meta tag. Or better still send a header if you have a server-side language like PHP. Also to target frames you should be able to do it with JavaScript: <script type="text/javascript"><!-- window.top.location.href = 'new_page.htm'; //--></script> <!--VITAL FOR USERS WITHOUT JS:--> <noscript><p> <a href="new_page.htm">new_page.htm</a> </p></noscript> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |