wow - that is really neat. Thanks for sharing Sean.
Now, if there was only a Farcry Store that could e accessed from Farcry Webtop On 21 September 2011 05:34, Sean Coyne <[email protected]> wrote: > To all: > > I have created a slider formtool for a client and thought it could be > useful to others in the community. You can find the source for it here: > https://gist.github.com/1230366 > > To use, simply download the CFC, and place it in your projects > /farcry/projects/projectname/packages/formtools directory. Once there, you > specify the metadata in your custom types as you would use any other > formtool. > > <cfproperty ftLabel="Num. of Apples" name="numApples" type="integer" > ftType="slider" ftMin="1" ftMax="100" ftStep="1" ftOrientation="horiztonal" > /> > > The formtool is an extension of the numeric formtool found in core, so you > can use any of the features found from that formtool in the slider > (ftPrefix, ftSuffix, etc). > > The slider formtool adds 4 new metadata options. ftMin, ftMax, ftStep, and > ftOrientation. Min and Max are the lowest and highest values allowed for the > field. ftStep is the increment factor the slider will use. If you specify > one, each slide of the slider will move the value by 1, if you specify 0.5, > it will increment it by 0.5 (1, 1.5, 2, etc). ftOrientation can be either > "horizontal" or "vertical" and it will orient the slider either horizontally > or vertically. > > Your users can either type a value into the text box or use the slider to > select a value. > > This uses the jQuery UI Slider widget (http://jqueryui.com/demos/slider/) > so you can use it with FarCry 6+ since core ships with jQuery UI built in. > > If you find it useful, missing a feature, broken, etc please let me know. > Consider it released under a "do whatever you want with it" license. > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- *AJ Mercer* <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org community="Open" /> <http://webonix.org> http://twitter.com/webonix Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/> -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
