473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

javascript is opening 2 pop up windows

9
Hi,
I am using window.open() in my code to open a pop up window. This code works fine on IE but on Mozilla it opens 2 pop up windows. The first one is blanks and the open one has the needed data in it.
I cant figure out why this is happening. Can some one please help?

Thanks,
Himzi
Sep 18 '08 #1
2 1177
gits
5,390 Expert Mod 4TB
please post the code that makes this problem ...

kind regards
Sep 18 '08 #2
Himzi
9
[HTML]<html>
<frameset cols="20%,*" frameborder="NO" border="0" framespacing="0" rows="*">
<frame name="logoFrame" scrolling="NO" noresize src="logoframe.htm">
<frame name="topMenu" src="/servlet/Menu">
</frameset>
</html>
[/HTML]

the code of bott.html is :


[HTML]<frameset cols='<%=size%>%,*' frameborder='NO' border=\'0' framespacing='0' rows='*'>
<frameset rows='245,*' frameborder='NO' border=\'0' framespacing='0' rows='*'>
<frameset rows='*,18' frameborder='NO' border='0' framespacing='3' rows='*'>
<frame name='settings' scrolling='no' noresize src='test.html'>
<frame name='leftTopFrame' scrolling='no' noresize src='new.html'>
</frameset>
<frameset rows='*,40' frameborder='NO' border='0' framespacing='0' rows='*'>
<frame name='leftFrame' scrolling='yes' noresize src='record.html'>
<frame name='leftBottFrame' scrolling='no' noresize src='blank.html'>
</frameset>
</frameset>
<frame name='report' src='newpage.html'>
</frameset>

[/HTML]
In the logoframe.htm there is a form , whose target i set as "report" frame.

document.form1.target="report";


But instead of opening in the report frame in the same window it just opens another window.
Please help.

Thanks,
Himzi
Sep 18 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.