Thanks Diego. I'll think about this for a little bit and see what shakes out
of the tree.

I sort of like the recipe being more explicit and have meaningful labels for
the checkboxes. I'm not sure how I could do that with "#tests div" without
adding/assuming stuff about the HTML DOM.

Brian.

On 4/22/07, Diego A. <[EMAIL PROTECTED]> wrote:


Rather then manually starting up the control panel by defining each
individual item...
$.jVariation({...});

it would be nicer to simple say...
$('#tests').jVariation({ /* settings here */});
...where jVariation would automatically take (say), every div within
#tests and create the controls for it... But that's a whole new can of
worms!

Thanks for sharing. I'll definitely find it useful...

On Apr 21, 9:21 pm, "Brian Cherne" <[EMAIL PROTECTED]> wrote:
> jVariations is a developer tool that generates a control panel (with
> checkboxes and radio buttons) to show and hide variations (aka corner
cases)
> in a single HTML template.
>
> Why? When providing HTML templates to server-side engineers I got tired
of
> having separate files to show variations... think error messages,
> alternative messaging, varying number of tab sets, etc. Using
jVariations,
> you can provide simple variations in one file and use the convenient
control
> panel to toggle visibility.
>
> <http://cherne.net/brian/resources/jquery.variations.html>
>
> I haven't actually used this in a real-world situation... so I'm not
sure if
> it'll actually be useful. But I wanted to share it with the community in
> case other's could find a use for it.
>
> Cheers,
> Brian.


Reply via email to