Topic awaiting preservation: Newbie typical question... i think (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Milky Way |
posted 11-25-2001 12:47
Okay, here's what I have: |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 11-25-2001 15:00
nexbie or not.... this thread belongs more in the DHTML/Javascript forum..... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 11-25-2001 16:24
Add the following code to bottom.html file (where your dropdown and iframe are located): |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-25-2001 20:43
document.frames['musicplayer'].location |
Paranoid (IV) Inmate From: Milky Way |
posted 11-26-2001 02:57
Oh, sorry about that, petskull. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 11-26-2001 22:09
Slime, I like to specify object which I'm referring to (document, window, etc.) But, as you said, it is not necessary to specify it. On the other hand I wouldn't suggest you to use frames.musicplayer.location, because that's not how arrays should be accessed. This "simplified" way of accessing arrays actually made people use eval() statement more than necessary, because they didn't know how to access array elements when their names are stored in variables (i.e. people use eval("object."+arrayElement+".property") instead of object.array[arrayElement].property)... |