I just check to see what browser the user has and go from there.

For example ...

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
if(document.layers){
        document.write("<FRAMESET ROWS='90,*' FRAMEBORDER='0' FRAMESPACING='0' 
BORDER='0'><FRAME NAME='header' FRAMEBORDER='0' FRAMESPACING='0' 
MARGINWIDTH='0' MARGINHEIGHT='0' NORESIZE SCROLLING='NO' 
SRC='global_includes/dspHeader.htm'><FRAME NAME='body' FRAMEBORDER='0' 
FRAMESPACING='0'  MARGINWIDHT='0' MARGINHEIGHT='0' NORESIZE SCROLLING='AUTO' 
SRC='main.cfm'></FRAMESET>")
}

if(document.all){
        document.write("<FRAMESET ROWS='85,*' FRAMEBORDER='0' FRAMESPACING='0' 
BORDER='0'><FRAME NAME='header' FRAMEBORDER='0' FRAMESPACING='0' 
MARGINWIDTH='0' MARGINHEIGHT='0' NORESIZE SCROLLING='NO' 
SRC='global_includes/dspHeader.htm'><FRAME NAME='body' FRAMEBORDER='0' 
FRAMESPACING='0'  MARGINWIDHT='0' MARGINHEIGHT='0' NORESIZE SCROLLING='AUTO' 
SRC='main.cfm'></FRAMESET>")
}

//-->
</SCRIPT>

Hope this helps,
Tim


>From: "Jerry Tolentino" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Dynamic Framesets
>Date: Tue, 12 Sep 2000 15:50:06 -0400
>
>Is there a way to determine the dimensions of an HTML document.
>
>Reason: attempting to create a dynamic-sized frameset.
>
>
>------------------------------------------------------------------------------
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to