...

View Full Version : syntax for frame target



bpaulsen2000
10-21-2003, 07: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>

bpaulsen2000
10-21-2003, 08:28 AM
already solved--calling routine needed correct frame name and
self.location=TargetUrl in the redirect code.

Thanks for any looksees.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum