PrototipSettings |
PrototipBehaviour.getSettings() |
|
PrototipSettings |
PrototipSettings.setClassName(String className) |
you do not need to include the ' '
|
PrototipSettings |
PrototipSettings.setCloseButton(String closeButton) |
either false or true
|
PrototipSettings |
PrototipSettings.setDelay(String delay) |
seconds before tooltip appears eg 0.2
|
PrototipSettings |
PrototipSettings.setDuration(String duration) |
duration of the effect, if used eg 0.3
|
PrototipSettings |
PrototipSettings.setEffect(String effect) |
you do not need to include the ' '
false, appear or blind, or others if they get enabled
|
PrototipSettings |
PrototipSettings.setExtraOptions(String extraOptions) |
Futureproofing - this allows you at add any string as an option (note you will need to take
care of ' and { } yourself
|
PrototipSettings |
PrototipSettings.setFixed(String fixed) |
eg false or true
|
PrototipSettings |
PrototipSettings.setHideAfter(String hideAfter) |
false or a number eg 1.5
|
PrototipSettings |
PrototipSettings.setHideOn(String hideOn) |
any event eg mouseout or false
|
PrototipSettings |
PrototipSettings.setHideOn(String element,
String event) |
eg: { element: 'element|target|tip|closeButton|.close', event: 'click|mouseover|mousemove' }
|
PrototipSettings |
PrototipSettings.setHook(String target,
String tip) |
Set the hook, where you want
eg:
{ target: 'topLeft|topRight|bottomLeft|bottomRight|
topMiddle|bottomMiddle|leftMiddle|rightMiddle', tip:
'topLeft|topRight|bottomLeft|bottomRight| topMiddle|bottomMiddle|leftMiddle|rightMiddle' }
for false use setHookFalse()
|
PrototipSettings |
PrototipSettings.setHookFalse() |
|
PrototipSettings |
PrototipSettings.setOffset(String offset_x,
String offset_y) |
Set both x and y offsets
|
PrototipSettings |
PrototipSettings.setOffset_x(String offset_x) |
|
PrototipSettings |
PrototipSettings.setOffset_y(String offset_y) |
|
PrototipSettings |
PrototipSettings.setShowOn(String showOn) |
|
PrototipSettings |
PrototipSettings.setTarget(String target) |
|
PrototipSettings |
PrototipSettings.setTitle(String title) |
|
PrototipSettings |
PrototipSettings.setViewpoint(String viewpoint) |
|