View Full Version : [RESOLVED] popup - invalid argument
scoutt
10-14-2007, 04:51 PM
IE tells me this
line: 373
char: 5
error: Invalid Argument
370. function LeagueDef(lid){
371. var newURL = 'leaguedef.php#'+lid;
372. window.open(newURL,'League Names','toolbar=0,scrollbars=1,location=no,statusbar=0,menubar=0,height=420,width=490');
373. }
What am I missing?? It works in FF, but not IE6
coothead
10-14-2007, 05:42 PM
Hi there Brian,
IE really hates League Names :supereek:
IE absolutely adores...
League_Names :agree:
League-Names :agree:
LeagueNames :agree:
Take your pick. ;)
scoutt
10-14-2007, 05:51 PM
so it hates double names? How stupid can IE really get :D Thanks coot
coothead
10-14-2007, 06:18 PM
Hi there Brian,
How stupid can IE really get
Well, I am not completely convinced that IE is behaving stupidly here. :disagree:
I always use one the three examples that I gave when coding. :agree:
The reason for this, unfortunately, I have long forgotten. :o :o :o
scoutt
10-14-2007, 07:33 PM
As long as the name has quotes around it it really shouldn't matter. so yeah, I still blame IE. If it didn't have quotes, then sure I can see how that could be a problem.
diades
10-15-2007, 06:46 AM
Hi Guys
Naming conventions (http://www.webxpertz.net/forums/faq.php?faq=wxfaq_1_2_1#faq_wxfaq_1_2_1_29) for the id and name attributes should foilow the rules and the window object falls into that category, I am surprised that FF etc did not pick it up as that is the least 'forgiving' of the browsers as regards errors etc., in script/markup.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.