View Full Version : target=parent
yellow_van
06-08-2005, 05:27 AM
how can I use target=_parent in a javascript function? thanks in advance
Horus_Kol
06-08-2005, 05:49 AM
can we have a bit more info?
showing us the function you have may help - or at least what you are trying to achieve
yellow_van
06-08-2005, 06:21 AM
Here is the code:
<SCRIPT LANGUAGE="JavaScript">
function delayer(){
document.location = "../log_out.jsp";
}
</script>
<body bgcolor="#FFFFFF" onLoad="setTimeout('delayer()', 2000)">
<table align="center"><tr bgcolor="#0066CC"><td colspan="2"><div align="center" class="style1">Time-out Exceded! Sign-up again! Redirecting...</div></td></tr></table>
</body>
i need to do this <a href="..." target="_parent"> but inside a javascript function
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.