When I run the JavaScript code below in Mozilla Firefox, the menu bar does not show:
window.open(location.pathname + "?print=print",
"print-window",
"toolbar=yes,location=no,scrollbars=yes,menubar=yes");
What is going wrong here?
Note that I'm opening the same file (in another window), I'm just adding a parameter value to it. I don't know whether this matters.
Strangely enough, if I call:
window.print();
on the new window, the menu bar does show.