You are here

function _purr_messages_defaults in Purr Messages 7

Returns the default javscript options

Return value

A string containing options.

2 calls to _purr_messages_defaults()
purr_messages_settings in ./purr_messages.module
Implements hook_settings(). Configuration settings page.
purr_messages_status_messages in ./purr_messages.module
Checks options and determines which type of message to return to the theme layer.

File

./purr_messages.module, line 321
Purr Messages A jQuery based override of Drupal's core message system

Code

function _purr_messages_defaults() {
  return "\$(notice).purr({\n  fadeInSpeed:1200,\n  fadeOutSpeed:2000,\n  removeTimer:5000,\n  usingTransparentPNG:true\n});";
}