bpaulsen2000
10-21-2003, 06:53 AM
Hi,
Need syntax for code to target frame on redirect. Code
follows (target frame name is "production_stage"):
<script>
<!--
var targetURL="http://www.vehicle411.com/_system/ServiceSlots/index.html"
var countdownfrom=3
var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}
countredirect()
//-->
</script>
Need syntax for code to target frame on redirect. Code
follows (target frame name is "production_stage"):
<script>
<!--
var targetURL="http://www.vehicle411.com/_system/ServiceSlots/index.html"
var countdownfrom=3
var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}
countredirect()
//-->
</script>