View Full Version : IE form controls replacement project

09-27-2004, 02:57 AM
Well, not really... but what's the deal with thoe select/option elements? They fall short in attributes, and styles; especially things like no title property, or font styling for options.

Of course, the default option box could be cancelled and overlayed with either a popup object, or iframe, but something's missing: that behavior related to window size and position, where the options can splash outside the window, when document space is limited. I can only think of using an unadorned modeless dialog (but that's an HTA-only thing)...

How important do you think the window-overflow feature is to a select element? (...or did you even know about that?)

09-27-2004, 03:25 AM
You're thinking of a dynamic replacement - turn select elements into styleable layers which can hook into the classes you use for styling selects in other browsers?

Good idea :) I've thought of that before, but never actually done it. Maybe have a look at createPopup - that can go outside the window.

09-27-2004, 03:35 AM
Yeah, something like that; but the popped up document just gets scrunched down, and doesn't make it outside the chrome... so I'm wondering how important that feature actually is. (Personally, my window never gets that small.)

09-27-2004, 04:38 AM
Oh shoot; it looks like that's a newly disabled feature: the popup cannot go outside the window, when in the SP2 Internet Zone (it only works locally, now).

seems like overkill... :rolleyes:

09-27-2004, 05:27 AM
Right; that Internet Options setting can be found under Miscellaneous:
"Allow script-initiated windows without size or position constraints"
default = Disable

Well, anyway, back on topic:
what could really be missed if the options aren't accessible outside of a window?
At worst, one would have to resize it... isn't that about it?

Who's with me? :)