Click to See Complete Forum and Search --> : What is 'EANITHING' for?


arothman
11-04-2003, 03:05 PM
I've seen a ton of "window.open" scripts that use an argument of "EANITHING". I can't seem to find any reference to it anywhere but within popup window script tutorials. Is it something that someone put into a script way back and now people have just copied it into theirs because they don't know what it is?

Drew (http://www.arothman.com)

Khalid Ali
11-04-2003, 05:27 PM
Yes Its something that some one put in there,although you did not mention it,my guess is this is in the window's name param...or if you want a specific ansewer then show us the code

arothman
11-04-2003, 10:43 PM
Just go to Google and search for "eanithing"... you'll find 144 results, all of which are variations of the following:

function NAME_IT() {

window.open('popup.htm','EANITHING','toolbar=no,location=no,directories=no,s
tatus=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,width=450,he
ight=150');
}

I suspect that 'EANITHING' is the name of the window, but somewhere along the line someone didn't make their tutorial clear enough and hundreds of amateur web designers have assumed that it was an integral part of the code.

Just curious... guess I understand now!

:)
Thanks,

Drew

Khalid Ali
11-05-2003, 07:23 AM
Originally posted by arothman

window.open('popup.htm','EANITHING','toolbar=no,location=no,directories=no,s
Drew

Yep I was correct,its the name parameter for popup....I guess there are more copy and pasters then developers..lol