I have a page that I'd like to be able to have people access, which is kind of deep in my site structure. Problem is, I use frames and want them to be able to access the page with all the frames intact. When I send them a link to access it, it would look like:
The following code checks to see if the variable is defined, which seems to work OK. If it is, then it passes that value to mainFrame. If it isn't defined, it displays the standard start page. the page.cfm part above doesn't work. I just get a Cannot Display Page browser error. Am I missing something apparent here? I appreciate any advice I can get. Thanks.
I coded this into my cfm page:
<cfif IsDefined("URL.URL"
>
<frameset rows="93,574*" cols="154,785*" frameborder="NO" border="0" framespacing="0">
<frame name="cornerFrame" scrolling="NO" noresize src="Upperleftcorner-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="topFrame" scrolling="NO" src="topframe.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="leftFrame" scrolling="NO" src="Leftmenu-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" noresize>
<frameset rows="466,84" cols="*">
<frame name="mainFrame" src="#URL.URL#" scrolling="AUTO" marginwidth="30" marginheight="20" frameborder="NO">
<frame src="Bottomlinkframe.htm" name="bottomlinkframe" scrolling="NO" frameborder="NO">
</frameset>
</frameset>
<cfelse>
<frameset rows="93,574*" cols="154,785*" frameborder="NO" border="0" framespacing="0">
<frame name="cornerFrame" scrolling="NO" noresize src="Upperleftcorner-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="topFrame" scrolling="NO" src="topframe.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="leftFrame" scrolling="NO" src="Leftmenu-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" noresize>
<frameset rows="466,84" cols="*">
<frame name="mainFrame" src="Main-Frame.htm" scrolling="AUTO" marginwidth="30" marginheight="20" frameborder="NO">
<frame src="Bottomlinkframe.htm" name="bottomlinkframe" scrolling="NO" frameborder="NO">
</frameset>
</frameset>
</cfif>
The following code checks to see if the variable is defined, which seems to work OK. If it is, then it passes that value to mainFrame. If it isn't defined, it displays the standard start page. the page.cfm part above doesn't work. I just get a Cannot Display Page browser error. Am I missing something apparent here? I appreciate any advice I can get. Thanks.
I coded this into my cfm page:
<cfif IsDefined("URL.URL"
<frameset rows="93,574*" cols="154,785*" frameborder="NO" border="0" framespacing="0">
<frame name="cornerFrame" scrolling="NO" noresize src="Upperleftcorner-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="topFrame" scrolling="NO" src="topframe.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="leftFrame" scrolling="NO" src="Leftmenu-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" noresize>
<frameset rows="466,84" cols="*">
<frame name="mainFrame" src="#URL.URL#" scrolling="AUTO" marginwidth="30" marginheight="20" frameborder="NO">
<frame src="Bottomlinkframe.htm" name="bottomlinkframe" scrolling="NO" frameborder="NO">
</frameset>
</frameset>
<cfelse>
<frameset rows="93,574*" cols="154,785*" frameborder="NO" border="0" framespacing="0">
<frame name="cornerFrame" scrolling="NO" noresize src="Upperleftcorner-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="topFrame" scrolling="NO" src="topframe.htm" frameborder="NO" marginwidth="0" marginheight="0" >
<frame name="leftFrame" scrolling="NO" src="Leftmenu-frame.htm" frameborder="NO" marginwidth="0" marginheight="0" noresize>
<frameset rows="466,84" cols="*">
<frame name="mainFrame" src="Main-Frame.htm" scrolling="AUTO" marginwidth="30" marginheight="20" frameborder="NO">
<frame src="Bottomlinkframe.htm" name="bottomlinkframe" scrolling="NO" frameborder="NO">
</frameset>
</frameset>
</cfif>