$allowNoSelection = false
[line 117]
should it be possible to remove the selection from all options? if so, set this to true. then a click on an already selected option will remove the selection.
Tags:
$captionAsTitleText = false
[line 168]
if set to true then the caption will be used as title text only on the radio icons.
in bs4.5 this has been renamed from captionAsAltText, but it's backward compatible.
Tags:
$constructor =
[line 883]
$cssClass =
[line 178]
the css class to use. not specified = none.
if you want different classes for different options, add some functionality to this code. :-)
Tags:
$cssStyle =
[line 188]
the css style to use. not specified = none.
if you want different styles for different options, add some functionality to this code. :-)
Tags:
$disabled = false
[line 96]
no change can be made.
if set to true then this overwrites the settings of all options.
Tags:
$guiNochange = false
[line 107]
if set to true then the user cannot change things by clicking.
changes through the api functions (for the coder, you) are still possible. if set to true then this overwrites the settings of all options.
Tags:
$iconType = 'image'
[line 256]
how the different radio icons should be made.
'image' => default, old fashion: for every mode there is an image. 'css' => styles: only one image, and 'active', disabled' etc are done using css.
when using css, the disabled mode only works (visually) in ie because moz does not support the 'filters'.
Tags:
$imgDir = '/_bsJavascript/components/radio/img/bobby/'
[line 133]
directory where the images are. feel free to create your own
images, put them into another directory (by using the same file names, etc.)
Tags:
$imgHeight = '12'
[line 157]
the height of the radio icon.
Tags:
$imgType = 'gif'
[line 141]
the image type, 'gif' (default), 'jpg', 'png' or whatever.
Tags:
$imgWidth = '12'
[line 149]
the width of the radio icon.
Tags:
$invertActive = false
[line 241]
inverts the currently active icon.
uses microsoft filters, thus for ie only.
see example 6: http://www.blueshoes.org/_bsJavascript/components/radio/examples/example6.html
this.iconType has to be 'css', otherwise it makes no sense.
Tags:
$options = new Object()
[line 76]
the options of this radio button.
you may directly overwrite this var with your own array, or use this.addOption() to add one option after another.
data structure: hash where the key is the value of the options, and the value is another hash with the keys: caption hide activateable deactivateable furtherOptions
Tags:
$pixelate = 0
[line 225]
pixelate the available options that are not currently selected? uses microsoft filters, thus for ie only.
set to a number, eg 10, play with the values.
see example 6: http://www.blueshoes.org/_bsJavascript/components/radio/examples/example6.html
this.iconType has to be 'css', otherwise it makes no sense.
Tags:
$radioFieldName =
[line 124]
name of the radio form field. if not set until draw() is called then one will be made up.
Tags:
$useMouseover = false
[line 208]
you may use the built in onMouseOver event to switch the icon.
note: if you use this one, it's wise to create all icons, even those which are never used. consider just using spacer-gif's for them. because if an icon does not exist, the server returns a 404 not found. and then the client (the users browser) goes and re-requests those files again and again, on each click (radio status change), to see if they're now available, even if never used. btw, i'm speaking of the "inactive" icons.
this.iconType has to be 'image', otherwise it makes no sense.
Tags:
$value = null
[line 86]
the value of the currently checked option.
null for no value.
Tags: