Closed
Bug 271188
Opened 20 years ago
Closed 20 years ago
Javascript menus work in new window but not in old
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: db, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; sv-SE; rv:1.7.3) Gecko/20041020 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; sv-SE; rv:1.7.3) Gecko/20041020 The javascript menus work when I go to the page in a new window, but if I go there from an old window then it does not work. Something is not reseted as it should when one jump to a new page in an old window. Reproducible: Always Steps to Reproduce: 1. Open a NEW window. 2. Enter the adress http://www.dustin.se/DacsaPortal/ 3. Notice that the javascript menus at the "top" works. Try for example the menu "Kundservice" and then "Kontakta oss". It works, and you get a page with adresses back. You don't need to use the menu in this step to trigger the bug. 4. In the same windows, enter the adress http://www.dustinhome.se/DacsaPortal/ 5. Now try the menu as in step 3 and you will notice that it will not work. 6. Open a NEW window 7. Enter the adress http://www.dustinhome.se/DacsaPortal/ 8. Now the menus work I'm afraid I don't have any more details at the moment. Some sort of simpler testcase would be nice to have to isolate the bug. I run mozilla from Fedora Core 3, and the company have tested on Firefox (some version) and it's the same in both. Someone should however try to verify in a newer version. My version is fairly new, but just in case.
One more observation. When you use the menus in the new window, then the result of using the menus shows up in the first window. So the menu kind of work, but the result comes up in the wrong window. I can't tell if this can be caused by "correct" javascript or not, but the result at least is not what I want as a user. I tried in a version of Opera I have and there the menus doesn't work at all but instead the menu header work as a link. I don't have any IE around but I assume that the company have tested the site on IE and that it does not behave like that there (that doesn't say if it's right or wrong, but it would give some more info about the bug).
I'm sad to say that I got the reproduction steps all messed up. The problem is when one have an old window open and and you use the menus in the new window. 1. Go to http://www.dustin.se/DacsaPortal/ 2. Open another new window and go to http://www.dustin.se/DacsaPortal/ 3. Use the menus in the last window and the result comes up in the first Sorry for the confusion.
Comment 3•20 years ago
|
||
I see what you mean. It seems a bit variable. The first time, I tried with tabs and it all worked OK. Then I tried with two new windows, and I saw what you say: the click in the first one opened in the frame in the first window. I tried again with two new windows, and then the menu didn't work at all in the second one. I notice this is all frames based. If the name of the frame is the same, isn't this what you'd expect? (Are frames supposed to work across windows?)
If there are several frames with the same name I would expect it to use the one in the same window first (if that is what happens, I've not looked at the code).
Comment 5•20 years ago
|
||
worksforme in a current build (with the bug 103638 fix in it).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•