Hi,
I am new to this forum. I found it while searching in Google for a name to add to my Script.

I am self-taught so I may not use technical words accurately. I figgured out how to have a link open in a separate window. I usually size it at width=600 and height=500, add scrollbars... But today I wanted to add a resize option (the maximize button) but can not come up with the right name (the window opens with only minimize-button and x-button). I tried to add various name combinations to the script, such as
'maximizebutton=yes,resize=yes,resizebuttons=yes'... but nothing worked.

If someone knows the name to add to the script, please let me know.

Thanks,
Vesna

Dani AI

Generated

Short answer: the feature that exposes a popup's resize control is resizable. There is no standard option called maximizebutton or resizebuttons, so the strings tried by will not work. 's example points in the right direction by enabling the resizable feature; 's suggestion to inspect generator output is a good way to learn which options are actually available.

A few important caveats and troubleshooting notes. Whether a maximize box actually appears is controlled by the browser and the operating-system window manager, not just the feature string. Some APIs (for example modal/dialog types) create fixed-size windows without resize handles. Modern browsers may ignore or override many window feature flags for security and UX, and popup blockers can prevent or alter the created window. That explains why a popup that looks right in one browser can behave differently in another.

Practical alternatives and workflow. If consistent resizing is required across environments, prefer an in-page resizable panel (CSS resize on a container, or a lightweight JS library such as jQuery UI's resizable) or implement a “fullscreen”/expand control inside the page (or use the Fullscreen API) rather than relying on OS chrome. If a separate window must be used, test across the target browsers and avoid modal/dialog variants that lock size. Use online popup generators (as mentioned) to compare feature strings and behaviour.

Reference notes: supplied the typical window feature approach; suggested generators for exploration; ’s sitemap comment is off-topic and correctly recommended a separate thread for unrelated questions.

Recommended Answers

All 4 Replies

Welcome to the TTF! Hope you come back! Anyways, here's how I would do it. Modify according to your needs:

window.open(page,"somepage","width=570,height=560,location=no,scrollbars=yes, menubar=yes,toolbar=yes,resizable=yes");

how to make a sitemap

... vesna ...
If you look around on the net, there are sites with little tools for this sort of thing... pop-up window makers etc.
The better ones will give you the choice of toolber y/n, scrollbar y/n, modal, display,movable etc... all the optiosn that you can use.
Simply look at the code they generate and the options are usually self explanatory.

So, try;
http://javascript.internet.com/generators/popup-window.html

:)


... farmaan ...
? What ahs the sitemap question got to do with JS window controls ?

farmaan.. is just lazy, start a new thread if you'd like assistance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.