SV: Re: Hiding Options in Select
"Kenneth Chr. Nilsen" <[email protected]>
| Newsgroups | gmane.comp.web.dom.wdf |
|---|---|
| Organization | Optisoft |
| Message-ID | <001401c5ec54$601b7f70$0a01a8c0@optisoftpower> |
Hi David, you could always simulate the option-selector by using a layer containing what you want. When the user click your "selector"-image/button the layer is revealed below the button. The options could be populated as div's or as li's (ala dropdown menus). This should work with all browsers. Just my 5 cents. mvh / Kind regards, -- Kenneth Chr. Nilsen Optisoft > -----Opprinnelig melding----- > Fra: [email protected] [mailto:[email protected]] > På vegne av Gale, David > Sendt: 18. november 2005 16:04 > Til: [email protected] > Emne: RE: [wdf-dom] Re: Hiding Options in Select > > > John M. Hann wrote: > > Hey Dave, > > > > If you just want to make the option item invisible in IE, set > > style="color: #fff; background-color: #fff;". Unfortunately, this > > leaves blank spaces in the list and does not prevent the users from > > selecting them. > > > > In IE, the SELECT and OPTION ignore just about all style attributes > > except color and background-color. I tried all of the following in > > IE6 and got nowhere: > > - filter: Alpha(opacity=0); width: 0px; /* element must > have "layout" > > */ > > - width: 0px; > > - height: 0px; > > > > -- John > > http://e-numera.com/ > > Darn. That's the answer I was expecting, but not the one I > was hoping for. Ah, well. > > Perhaps I can convince my users to use FireFox...:-) > > Thanks again, > -David ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/9rHolB/TM --------------------------------------------------------------------~-> Unsubscribe [email protected] List info http://www.quirksmode.org/dom/list.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wdf-dom/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/