NewsBot
1
Hi there.
I have a function written in JavaScript like
function showZipWindow(obj,key)
{
* var id = obj.id;
* if (typeof(key)=="undefined")
* {
**** key = 0;
* }
* tid = 't'+id.substr(1,id.length);
* hid = 'h'+id.substr(1,id.length);
* zipWind = window.open('zipWindow.php?tid='+tid+'&hid='+hid+'&key='+key,'zipWnd'+key,
'left=20,top=20,width=600,height=650,toolbar=1,resizable=1');
}
When i'm calling it from main window - it works fine, creating popup.
But when i'm calling it from popup (which is created by the same function but with different values for parameters) in IE 6/7 it gives me "Uknown runtime error". In Firefox it works okay.
So, any clues on how is it possible to get it running on IE 6/7 or is there anything wrong in my code?
More...
View All Our Microsoft Related Feeds
I have a function written in JavaScript like
function showZipWindow(obj,key)
{
* var id = obj.id;
* if (typeof(key)=="undefined")
* {
**** key = 0;
* }
* tid = 't'+id.substr(1,id.length);
* hid = 'h'+id.substr(1,id.length);
* zipWind = window.open('zipWindow.php?tid='+tid+'&hid='+hid+'&key='+key,'zipWnd'+key,
'left=20,top=20,width=600,height=650,toolbar=1,resizable=1');
}
When i'm calling it from main window - it works fine, creating popup.
But when i'm calling it from popup (which is created by the same function but with different values for parameters) in IE 6/7 it gives me "Uknown runtime error". In Firefox it works okay.
So, any clues on how is it possible to get it running on IE 6/7 or is there anything wrong in my code?
More...
View All Our Microsoft Related Feeds