The browser goes to
"DIR_A/index.html"
but I want it redirected to to:
"DIR_B/topic/index.html"
What do I put in "DIR_A/index.html" to make it so ?
Here is my code and it does not work. What am I doing wrong ? I
just get a blank white page.
I've tried
top.location.href="./../DIR_B/topic/index.html";
and
<body onload="doInit()"?
instead, but no joy either.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="javascript">
<!--
window.onload=doInit
function doInit(){
location.href="./../DIR_B/topic/index.html";
}
//-->
<title>Page B index</title>
</head>
<body bgcolor="#ffffff">
</body>
</html>