crystalized
Programmer
Include files are "pasted" in before code is processed right? At least that is what I thought I had read several times. So then why is this working?
To clarify what I am doing my browserCheck() function just checks for IE browser. So when I view the page in IE I see the heading provided by the include file headingDivs.asp. In NS I do not see the heading (which was the goal). But doesn't this counter the fact that includes are done first then code is processed? Or am I wrong in my interpretation of when the include files are infact included?
Crystal
crystalized_s@yahoo.com
--------------------------------------------------
Experience is one thing you can't get for nothing.
-Oscar Wilde
Code:
<% if not browserCheck() then %>
<form >
<table width="1" border=0 cellspacing=1 cellpadding=1>
<% else %>
<!-- #include file="../MainPagesIncludes/headingDivs.asp" -->
<table id="contentDiv" WIDTH="1" BORDER="0" CELLSPACING="1" CELLPADDING="1">
<% end if %>
To clarify what I am doing my browserCheck() function just checks for IE browser. So when I view the page in IE I see the heading provided by the include file headingDivs.asp. In NS I do not see the heading (which was the goal). But doesn't this counter the fact that includes are done first then code is processed? Or am I wrong in my interpretation of when the include files are infact included?
Crystal
crystalized_s@yahoo.com
--------------------------------------------------
Experience is one thing you can't get for nothing.
-Oscar Wilde