XUL:New Widgets

From MozillaWiki
Revision as of 01:07, 21 April 2005 by Asqueella (talk | contribs) (html:a)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Slider

XUL:Slider Tag

Description of a <slider> tag. XUL already has one as part of the scrollbar but it needs a useful API and theme styling (especially native-theme styling). (NeilRashbrook) Note that the Mac still uses native scrollbars.

Link

Widget similar to HTML <a> element. Currently this can be/is implemented in a rather ugly way (in Extension Manager code): styling the label element in a special way + making it focusable and implementing oncommand/onkeypress.

Answering NeilRashbrook's question, <html:a> can't be used as is because:

  • it isn't even visible when used used as <html:a href="about:">some text</html:a>
  • not styled properly, if you get it to show by enclosing it in a <html:p> tags
  • and opening the link in the same (often chrome) window when clicked.