ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old November 24th, 2003, 04:10 PM
deogee151 deogee151 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 deogee151 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old November 24th, 2003, 11:04 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,626 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 6 m 34 sec
Reputation Power: 53
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>

Reply With Quote
  #3  
Old November 25th, 2003, 08:07 AM
deogee151 deogee151 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 deogee151 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy

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....

Reply With Quote
  #4  
Old November 25th, 2003, 03:28 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,626 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 6 m 34 sec
Reputation Power: 53
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > ColdFusion / Frame Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway