// PUBLIC PROPERTIES (Default options)
// Assign default options to the class prototype
$.extend($.jk.SimpleCaptcha.prototype, {
allowRefresh: true, // Boolean Whether the user should
see a UI element allowing them to refresh the captcha choices
scriptPath: '
http://deachrysalis.cc/simpleCaptcha.php', // String Relative path to the script file to use (usually simpleCaptcha.php).
numImages: 5, // Number How many images to show
the user (providing there are at least that many defined in the script
file).
introText: "<p>Если ты не долбоёб, то кликни на <span class='captchaText'></span>.</p>",
// String Text to place above
captcha images (can contain html). IMPORTANT: You should probably
include a tag with the textClass name on it, for example: <span
class='captchaText'></span>
refreshButton: "<img src='
http://deachrysalis.cc/refresh.png' class='refreshButton' alt='Refresh' title='Refresh captcha options' />",
// String Html to use for the
"refresh" button/content. Note that you can make this whatever you like,
but it will be placed AFTER the "introText", and a click handler will
be attached to initiate the refresh, so best to make it something
"clickable".
refreshClass: 'refreshCaptcha', // String Class to use for the captcha refresh block (if there is one)
inputName: 'captchaSelection', // String Name to use for the
captcha hidden input, this is what you will need to check on the
receiving end of the form submission.
introClass: 'captchaIntro', // String Class to use for the captcha introduction text container.
textClass: 'captchaText', // String Class to look for to place the text for the correct captcha image.
imageBoxClass: 'captchaImages', // String Class to use for the captchas images container.
imageClass: 'captchaImage', // String Class to use for each captcha image.
node: null // Node | String The node (or
selector) to use for the captcha UI. If not set, the current node
selected bu $(...).simpleCaptcha(); will be used
});
introText: "<p>Если ты не долбоёб, то кликни на <span class='captchaText'></span>.</p>",