Error - Multiple Popups Crashes IE While Trying To Pass Value Between Two Windows
Mar 20, 2009
I've lost almost half a day to identify/recover this script error.I often got this type of error.
I've parent window with two text field.There user can either enter the value on the field or choose popup option to search & select the value.When user open the popup & selects value, the selected value gets populated to parent window text field & close popup window. Everything working well, but sometimes after closing popup window, it keeps on opening same popup window multiple time until my internet explorer get crashed. It happens only in IE.
Here is the snippet of parent window:
Here is the snippet of popup.html:
View 1 Replies
ADVERTISEMENT
Oct 11, 2005
i'm working on my band's website and I want to be able to make multiple popups on one page. as in, the links you press will all come up in DIFFERENT popup (barless) windows. but no matter what i try, no matter what link you press they all come up in the same popup window. im hoping to make all the links come up in different sized seperate windows! anyone know how to do this?
View 7 Replies
View Related
Jan 21, 2010
I'm trying to have an ordered list, each item with its own image. Then, I'm trying to use JS so that a different popup is generated for each image.
Currently, I'm using CSS classes to define the appropriate popup image, and this seems to work fine as I can see the popup contents in Dreamweaver.
I think the issue is the 'getElementById' thingy. As whichever image I hover over, it always pulls the first hidden popup.
JS
Code:
HTML
Code:
CSS
Code:
Is there a way form me to also pull the class that is referenced in the html, so that the appropriate popup is generated?
I don't think I'm using the code highlighting properly and I intended to link to the page, so you could see what I'm talking about, but apparently that's not allowed.?
View 2 Replies
View Related
Jul 23, 2005
I have a parent window that pushes a new window object onto an Array
with the following code :
OpenChild()
{
//totalNumWindowsCreated is global
totalNumWindowsCreated = totalNumWindowsCreated + 1;
childWnds.push(window.open(link, "child" +
totalNumWindowsCreated,"dependent"));
..
..
..
}
This pops up a new window with every call. In the child window I call
a parent function onbeforeunload, appClose() :
function appClose(){
if (window.opener && !window.opener.closed){
window.opener.CloseChild(getQueryString("application"));
}}
This is in my frameset tag of the child code :
<frameset ... onbeforeUnload='appClose()'>
The window.opener.CloseChild() function is called perfectly when I have
one child window open, but as soon as I create another child window
both of the open child windows don't ever call it. They do both go
into the onbeforeunload appClose() function, but do not call the
window.opener.CloseChild() function inside of this routine.
Anyone have any ideas why when I have two child windows open I can't
access the window.opener functions?
I have tried taking each new window out of the array and used the
following code in CloseChild() :
CloseChild()
{
//win and totalNumWindowsCreated are both global
totalNumWindowsCreated = totalNumWindowsCreated + 1;
var win = window.open(link, "child" +
totalNumWindowsCreated,"dependent");
..
..
..
}
View 1 Replies
View Related
May 25, 2006
This is my first post to this forum. When a button in parent window is clicked multiple times, more than one popup window is opened. This problem is occurring in linux firefox and mozilla browsers. In windows the code is working fine. Is there any option in window.open() method to open a popup window once. s there any known issue regarding this case?. Need a workaround to fix this issue.
View 1 Replies
View Related
May 24, 2006
hen a button in parent window is clicked multiple times, more than one child window is opened. This problem is occurring in linux. In windows the code is working fine. Is there any option in window.open() method to open a child window once.
View 8 Replies
View Related
Jul 31, 2009
In search_results.php I have a variable named $path which display something like: C:/documents/personal/home.doc
I would like to create a button that link to a new window which is going to display: C:/documents/personal/home.doc
Right now is being displayed in search_results.php like this: echo "<td align=left bgcolor=$bgcolor id='title'> <font face='Verdana' size='2'>$path</font></td>";
View 9 Replies
View Related
Nov 27, 2002
I have a web page with several thumbnail images displayed. These are linked to the full size images that appear in pop up windows.
I have two questions:
Firstly, is it possible to size the pop up windows the same dimensions of the images within? If not, how can I center the image displayed in the pop ups?
Also, I have tried and failed to get the pop up to appear in the centre of the screen.
View 5 Replies
View Related
Jul 20, 2005
I've a problem I hava a page with different popup windows, when I hit a link the first one pops up and with the first open i would like to hit the second link in the parent page so the second links pops up a window in the first popup. The way I have it now is working but with each link the
size of the popup window should be different but that doesnt happen how can I solve that problem?
this is my code:
View 5 Replies
View Related
Nov 21, 2006
I need to open multiple windows via javacript. The for-loop is willing to do that for me:
function open_multiple(){
for(i=1; i<=10; i++){
window.open(ƈ.htm', 'myWindow'+i)
}
There's no problem in using the var i in the naming of the windows.
What I'm struggling with is the var i in the positioning:
function open_multiple(){
for(i=1; i<=10; i++){
var x=30*i;
var y=30*i;
window.open(ƈ.htm', 'myWindow'+i, 'top='y', left='x);
}
}
As you can see, I've put the vars outside the string as part of the solution I allready found out. Obviously, as I'm still posting this; it doesn't work yet. :o I must be overlooking something.
if (anyone can point out my mistake here){
document.write("thanks a million")
}
View 2 Replies
View Related
Nov 3, 2010
I have a JavaScript that allows you to open 5 additional windows when you click on the button. It works properly when using Mozilla, but when you use IE7, only 1 window pops up not 5.
Code:
View 3 Replies
View Related
Mar 24, 2006
I have 2 jsp pages which are loaded from the same browser window.
Inside these jsp pages, I have created 2 windows to write client side
log. I have used different id for 2 windows as follow.
In JSP1 page I create one window & second window is created in jsp2
page.
Win1 = window.open('Log1', 'win1',
config='right=0,top=60,toolbar=0,width=300,height= 300,resizable=1,scrollbars=1,location=no,status=no
');
Win1.document.writeln(yyyy + '-' + mm + '-' + dd + ' ' + hh + ':' + mn
+ ':' + ss + ',' + ms);
Win2 = window.open('Log2', 'win2',
config='right=0,top=60,toolbar=0,width=300,height= 300,resizable=1,scrollbars=1,location=no,status=no
');
Win2.document.writeln(yyyy + '-' + mm + '-' + dd + ' ' + hh + ':' + mn
+ ':' + ss + ',' + ms);
When the page loads I can see 2 pop-up windows just fine. But then all
the writeln statements(from page1 & page2) go to the win2. Even the
writeln statements from page1. I would like to have page1 log go to
win1 & page2 go to win2. What I am doing wrong?
View 1 Replies
View Related
Feb 9, 2009
I'm not much of a programmer so I've difficulties getting the yellow windows at the following web address: [url] to drag and collapse correctly. Currently, the only window that works is the one with the red header. All the other windows should also be draggable and be allowed to close down.
So, basically I need to create the variable for this thing so that the nav windows work correctly. Problem is, everything I've tried has failed miserably to date.
code:
View 3 Replies
View Related
Mar 24, 2009
I'm developing chat application using Ajax,jsp,HTML,java. I have strucked in opening multiple windows to chat with diff users by clicking on roster window.I want to be open a window tat looks like a chat window in gmail.I have created one window like tat using div's but I'm not able to open multiple divs with diff user names.
View 2 Replies
View Related
Aug 4, 2011
I am currently designing a website for our public library. I have added a card catalog search bar on the side of every page. Our catalog software company has supplied the code. After embedding it, I previewed each page to make sure it was working properly. At the time, it worked fine. Since then, I have added other elements to the homepage such as a Twitter feed and a Flickr slideshow. Now, when I attempt to search in the catalog search bar on the homepage, it opens two tabs, but only in Firefox.
Our IT person from the software company suggested I make a copy of the page and strip the code down to see what the problem is. After doing this, I have made no headway. Even with the catalog as the only code left on the page, other than text, it still opens two tabs.
[Code]...
View 3 Replies
View Related
Jul 23, 2005
Are there other ways to open multile windows at once?
<SCRIPT language="JavaScript">
function open1() {
var open1 =
window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600
,width=800,resizable=yes');
}
function open2() {
var open2 =
window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600
,width=800,resizable=yes');
}
function open3() {
var open3 =
window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600
,width=800,resizable=yes');
}
// -->
</SCRIPT>
<A href="javascript:open1();open2();open3();">Click Here to open all</A>
Here is what I have now, but I need something which can pass HTTP_REFEREER.
The window.open does not do that.
View 2 Replies
View Related
Apr 22, 2009
A while ago I queried how to count total characters in an output document and never really got anywhere. this query builds on from that. basically what I need to do is as follows.
- Using a basic input form, gather information.
- Populate strDoc with the info.
- When the button is clicked, the strDoc is populated and formatted and displayed in a popup window using:
What I'm trying to do is create a function that will count all characters in the strDoc (including spaces/LF/CR etc). If the total of the output doc is > 3800 characters, then the function will separate the doc into chunks no greater than 3800 characters and display each chunk in either a different window or a single window labled in order of chunk (ie. 1, 2 or 3).
This is way beyond me at this stage, but is critical to a project I'm working on at the moment.
View 8 Replies
View Related
Apr 22, 2011
I am having trouble running multiple windows.onload functions and having trouble how to implement them.
Here are the two functions I'm trying to load:
View 4 Replies
View Related
May 17, 2011
In our organisation we are developing a website which makes heavy use of javascript.Right now we have jquery 1.4.2 as js library.The problem is,on a few pages, we get the 'script stopped working' error and we just cannot find out what exactly causes the error.
This is what we know:It occurs in chrome and firefox, under windows, linux and mac.In FF 2 it happens on every pageload of a certain testpage whereas in FF >= 3.6 it only happens'randomly'If we take out all the js includes from that page and load it up in FF 2, there is no error, obviously.if i set the'dom.max_script_run_time'value in FF 2 to 11 seconds,the error vanishes, and if i set it to 10 sec (the standard) it occurs on every page load. If i set the value to one second in FF 4 it still doesnt occur regularly.There seems to be a correlation between slow computers and fast computers, with more errors on the slow computer side.
how to debug that error at all? Or how we can find a testcase, something with which we can reproduce this error in every combination.
View 3 Replies
View Related
May 28, 2003
I have a DHTML script which crashes IE 5.0 on MAC. How can I solve it...?
View 4 Replies
View Related
Jul 20, 2009
A problem with these code in IE7
<select id="testSelect">
<option value="one">1st option</option>
<option value="two">2nd option</option>
</select>
[code]...
When :
1. select option 2
2. select option 1
3. press remove button
Internet Explorer 7 crashes without saying why.
View 5 Replies
View Related
May 14, 2009
I am using the following script which keeps crashing IE7. It works fine in Firefox.
Code:
var httpdetail = createRequestObject();
function loadProductDetail(id){
[code]....
View 7 Replies
View Related
May 13, 2010
<code>
<script type="text/javascript">
function interval_setting(){
var clear = 0;
clear =setInterval("xmlhttpPost11('index.cgi','tracker_shower','Latest_frame','Tracker_loader',clear,'','','')",20000);}
</script>
</code>
cant i pass variable clear like this ? Cause in xmlhttpPost if i give single quote to that variable it gives 'clear' not 0;
View 4 Replies
View Related
Jun 9, 2009
i'm doing a site that uses tabs and cycle together, cycle inside the tabs.. In Firefox (every version), opera, safari works... But when i go with IE6 into the page "Ambientes", the IE6 Crashes... and is not everytime... i am sending a link with a screenshot...
Here is the SS:
<a href="http://img192.imageshack.us/img192/9825/ie6u.jpg">http://img192.imageshack.us/img192/9825/ie6u.jpg</a>
--
[Code].....
When i 'turn off' the cycle, everything works... when i 'turn off' the tabs, everything works too..
View 1 Replies
View Related
Sep 22, 2011
Ive made a website for a client using an existing skin. He is using pretty old computers and browsers to view the site, although he isnt currently able to tell me which exact browser he is using.
This is the site: [URL]
He tells me that when clicking on a menu item on the top blue bar, his browser crashes. Is this possible, and does it sound like a javascript issue, because I beleive the menu has some jquery in it for the dropdown and I wouldnt have through straight html could crash a browser, even if it is old.
View 1 Replies
View Related
Nov 13, 2006
I run multiple IE standalones simultaneously on my PC for CSS testing purposes (see this page for more).
I have discovered that, if you have a version of IE 5 running (tested with 5.0 and 5.5), and, in IE 7, run a popup window script that uses window.open, IE 7 will crash.
Not really a problem - I can always quit the 5.x browsers when I need to test javascript - but thought it was worth passing along.
View 1 Replies
View Related