|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
ColdFusion / Frame Problem
I have a strange problem w/a page I am working on. The site is built in CF and utilizes frames. When a user navigates through the site everything works fine
(ex. URL ) but when I go to a specific URL (ex. URL ) the bottom frame opens into a new window. How do I make it where this frame never opens into a new window? Here is the code that I am currently using: <html> <head> <title>Batson-Cook Home Page</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <frameset rows="*,45" frameborder="0" border="0" framespacing="0"> <frame name="mainFrame" src="/webcams/project_detail.cfm? project=<cfoutput>#project#</cfoutput>" frameborder="no" marginwidth="0" marginheight="0" noresize scrolling="yes"> <frame name="bottomFrame" scrolling="no" noresize src="../bottom_frame.cfm" marginwidth="0" marginheight="0" frameborder="NO" noresize> <frame src="/webcams/UntitledFrame-1"></frameset> <noframes> <body bgcolor="#FFFFFF" text="#000000"> Your browser does not support frames. </body> </noframes> </html> Any help is greatly appreciated and thx in advance... Last edited by deogee151 : November 24th, 2003 at 04:22 PM. |
|
#2
|
|||
|
|||
|
I see this when I view the page source...I'd say this Javascript is the problem:
<script> z = window.open('','bottomFrame'); z.location.href='../bottom_frame.cfm' </script> |
|
#3
|
|||
|
|||
|
That was the same thing that I thought as well but I commented out the script and was still getting the footer file opening into a new window....
|
|
#4
|
|||
|
|||
|
Well when I look at the site, most of it loads the bottom frame correctly. But when I look at the link you gave it still opens in a new window, and I still see this in the source code. It's not commented out...I'm no Javascript guru but this sure looks like it would open a new window to me:
<script> z = window.open('','bottomFrame'); z.location.href='../bottom_frame.cfm' </script> I'm not sure what to tell you except that the problem is absolutely some sort of Javascript or frame issue and is definitely not a CF problem...let us know what you find out. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > ColdFusion / Frame Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|