Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb IE form controls replacement project

    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?)
    *this message will self destruct in n-seconds*

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #3
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.)
    *this message will self destruct in n-seconds*

  • #4
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...
    *this message will self destruct in n-seconds*

  • #5
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •