Ok. What your looking at works to a degree.. What it does is loads the top frame which is important on the click through. BUT what does no work is the bottom page. I want it to be setup like a Please wait for a second in a page called “Redirect” to load and then redirect to the proper link. Take AOL.com for instance. Im fresh out of school and i got this far. Could someone Who can Hammer this down help out. Also idk if you can pass “<script LANGUAGE=’JavaScript’> function redirect:: with the ” around javaScript? am i missing any lines or just not lining it up right?
Thanks Guys.. You think you can Figure this one out?
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″>
<title>This is the Pits unless it works.</title>
<SCRIPT LANGUAGE=”JavaScript”>
function loadFrames(page1, page2) {
// / Everything below this until the window.document.write code is what gets written on the fly for the next window.
framecode =
//**call redirect funtion set timeout call the go_now function
“<script LANGUAGE=’JavaScript’> function redirect () { setTimeout(‘go_now()’,10000); }”
//page2 is called because of the LoadFrames funtion above.
+
“function go_now () { window.location.href = page2;}” + ” </script” + “>”
“<frameset rows=’110,100%,’ border=0>”
“<frame src='” + page1 + “‘scrolling=no>”
// this link right here says what the page should originally be.
// It should be like an orbitz thing.
// Where it says please wait a minute to find results.
“<frame src=’redirect.html’ name=bottom >”
“</frameset>”;
window.document.write(framecode);
}
// End –>
</script>
</head>
<body>
<!–This Splits the link in the a tag…. into variables declaired uptop–>
<a href=”javascript:loadFrames(‘
</body>
</html>