Forum Moderators: open

Message Too Old, No Replies

Doorway page

onLoad Event Script

         

Jordy

10:32 pm on Apr 15, 2001 (gmt 0)



Hi there!
I’m using cloak software to protect my doorways pages. I’ve been warned as MSN claims to ban sites that employ cloaking technology to gain the upper hand against companies that attempt to employ cloaking software to hide their HTML code.
I’m planning to employ frameset to doorways pages submitted to engines such MSN or Inktomi, but I need an onLoad event script to use in the BODY tag.
Would someone please provide me one?
Is there someone to clarify?

I welcomed any comment or advice.
Thanks

Brett_Tabke

8:07 am on Apr 16, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hit your favorite search engine on "onload". There a thousands of "onload" code snippets out there.

Jordy

5:09 am on Apr 17, 2001 (gmt 0)



Hi there!
I’ve done search on SE and found a script below. Would it be appropriate for onload frameset?
Would please someone provide guideline on setup?
Thanks

<HTML>
<HEAD>
<TITLE>Frame simple document.write() Test</TITLE>

<SCRIPT>

function doit(win){
var d=win.document;
d.open();
d.write('<BODY bgcolor=green><H1>The test succeeded if you see this</H1></BODY>');
d.close();
}//End doit()

</SCRIPT>
</HEAD>

<FRAMESET rows="*,100">
<FRAME src="blank.htm">
<FRAME src="init.htm">
</FRAMESET>
</HTML>

<!--/*
[blank.htm]
*/-->
<HTML><HEAD></HEAD>
<BODY></BODY>
</HTML>

<!--/*
[init.htm]
*/-->
<HTML>
<BODY bgcolor=red onload=top.doit(self)>
<H1>This should disappear automatically</H1>
</BODY>
</HTML>