htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
Pop-up Window resize


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


petermcdonald
Novice

Sep 2, 2002, 2:37 PM

Post #1 of 2 (3714 views)
Shortcut
Pop-up Window resize Can't Post

Here's what I'm trying to do:

-Launch the Insert Image dialogue box at 400X200 (already done).

-Have another button in the dialogue box (already done)

-When the new button is clicked, it will resize the dialogue box to 500x200 (this what I can't figure out)

I tried window.resizeTo(500,200), but it wouldn't work. Any ideas?



Thanks,

Peter


Dave
Staff / Moderator


Sep 4, 2002, 3:48 PM

Post #2 of 2 (3681 views)
Shortcut
Re: [petermcdonald] Pop-up Window resize [In reply to] Can't Post

Dialogues work a little different than regular popup windows. Try:

window.dialogWidth = '500px';
window.dialogHeight = '200px';

For a list of window properties that apply to dialog windows check here:
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp

Dave Edis - Senior Developer
interactivetools.com

 
 
 


Search for (options)