Preserved Topic: frame whoas.... (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted |
posted 06-22-2000 13:31
Hello all. Let me see if I can explan this, I do not have a copy online. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-22-2000 15:59
Interesting. It sounds as though the window is not correctly named, although you've probably checked that already. If neither the links nor the JavaScript work on it... wait, try this; if there are frames outside of the 2 frames you're working with, then this should fix it (it should be done this way regardless): use parent.content.location rather than top.content.location. |
Maniac (V) Inmate From: under the bed |
posted 06-22-2000 18:00
Yeah -- that's my only suggestion: parent.content.location rather than top.content.location |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 06-22-2000 18:49
Here's another possibility. "content" might be a protected word in some situations, reserved for the javascript compiler. If the parent.content.location thing doesn't work, try changing your frame name to something more personal, like "XYzzY" or something unlikely to show up in part of the language. |
Neurotic (0) Inmate Newly admitted |
posted 06-23-2000 00:03
Hey all. |
Neurotic (0) Inmate Newly admitted |
posted 06-23-2000 01:49
OK, o I was wrong, well sort of. IE accepts parent.stuff, but netscape states that parent.stuff has no properties...(sigh) |
Neurotic (0) Inmate Newly admitted |
posted 06-23-2000 03:07
FINALLY!!! Ok, I figured it out. I used the parent.frames[0].name property to reveal the damn name of the frame AFTER the script had run. It turned out that the frame name was changing to the password. This happened because the variable that I used for the password was "name", therefore changing the frame "name" property to whatever was entered in the text field. I am sure glad this damn thing is over with. The struggle was worth the result, and I just learned from one more mistake. Thanks for your help!!! |
Maniac (V) Inmate From: under the bed |
posted 06-23-2000 09:08
Don't you just love it? <img border=0 align=absmiddle src="http://www.ozones.com/forum/mad.gif"> |
Neurotic (0) Inmate Newly admitted |
posted 06-23-2000 11:36
I love it only when the result is positive <img border=0 align=absmiddle src="http://www.ozones.com/forum/biggrin.gif">, which in time anything and everything will be. I actually enjoy the struggle of figuring these things out because it forces me to learn more..... |