It would be great if an existing option could be overwritten, for exmaple:

$options['bt_text_field'] = array(
  'cssSelect' => 'input.form-text',
  'trigger' => array('focus', 'blur'),
  'contentSelector' => "$(this).nextAll('.description:eq(0)').hide().html()",
  'width' => '275px',
  'positions' => array(0 => variable_get('beautytips_position', 'bottom')),
  'preEval' => TRUE,
);

If i wanna change trigger blur to dblclick, i cant cos it is defined by beautytips module. There is no alter function for this and beautytips_add_beautytips looks if a key is set earlier(// Ensure the js settings are not added more than once). Thx

Comments

pifagor’s picture

Status: Active » Closed (outdated)