Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Request for XBL2 examples
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ian Hickson  
View profile  
 More options Oct 5 2006, 5:13 pm
Newsgroups: mozilla.dev.tech.xbl
From: Ian Hickson <i...@hixie.ch>
Date: Thu, 5 Oct 2006 21:13:52 +0000 (UTC)
Local: Thurs, Oct 5 2006 5:13 pm
Subject: Re: Request for XBL2 examples

On Fri, 1 Sep 2006, Sean Hogan wrote:

> I'd like to see more examples of solutions that XBL2 provides for common
> UI patterns.

I've added some examples that you suggested.

> e.g.
> 1. show/hide button.  The button should not be part of the html source
> code for the page (should be added by XBL)

The <details> example does this:

   http://www.w3.org/TR/xbl/#simple-shadow-example

> nor should it necessarily be part of the tree that it will be
> hiding/showing (rather it should be anchored to some uniquely
> identifiable part of the page).

I don't really understand what you're asking for here. Could you give an
example of what you mean by "anchored" and "part of the page"? An example
of a page with this effect (though of course not using XBL) would be
really useful.

> 2. switch and tabbox

Not sure what you mean by "switch", but I added a tabbox example to the
xblSetInsertionPoint section.

> 3. document-map

Not sure what you mean by this.

> 4. user-selectable form-layout, e.g.
> - vanilla html form
> - vanilla html form + pop-up help boxes
> - wizard mode

Added a couple of examples for this in the HTML Forms section.

> 5.  pop-up footnotes.  Backwards compatible source code:
> <a href="#footnote1">[#1]</a> ... <a id="footnote1">Footnote 1</a>

Hm, tough one. I mean, you could do that one with XBL, but it would be
pretty ugly -- you'd basically just do it by a bunch of JavaScript,
without really using the XBL features at all.

Thanks for your feedback,
--
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google