| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
redirect to another web site
Im a beginner so please understand my ignorance . Question: what is the code for a hyperlink to redirect to another web site. my home page is on my own server ie localhoast I want to redirect to a site http://www.outsidemylocalhost.com
Phil FIXED .. it was the firewall stopping it |
|
#2
|
|||
|
|||
|
Well ;;;; its very easy & simple
look.. <a href="http://www.outsideyourlocalhost.com"> Your Link </a> when u click it wil be redirect to the site.....try it |
|
#3
|
|||
|
|||
|
<script Language="JavaScript">
var browser_type=navigator.appName var browser_version=parseInt(navigator.appVersion) //if NS 4+ if (browser_type=="Netscape"&&browser_version>=4) window.location.replace(http://your web address) //if IE 4+ else if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4) window.location.replace(http://your web address) //Default if is neither netscape or explorer 4+ else window.location=http://your web address </script> this code should auto redirect you to the page given |
|
#4
|
|||
|
|||
|
why get too complicated.. this will work as well..
<meta http-equiv="refresh" content="0;url=http://outsidemylocalhost.com"> put that in between <head> and </head> |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > redirect to another web site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|