Previous Page
dump()

Solar_App_Base_Helper_JsHighlight
jsHighlight()

Next Page
locale()

jsHighlight()

public void jsHighlight ( string $sel, string $color default 'yellow', mixed $speed default 'slow' )

Calls "highlight()" on a CSS-selected element.

Parameters

  • (string) $sel: A CSS selector string.
  • (string) $color: A color by word (e.g., "red") or RGB hex (e.g., "#ff0000").
  • (mixed) $speed: The number of milliseconds for the highlighting (1000ms = 1 sec), or one of these words: (slow|medium|fast).

Returns

  • (void)

Description

Calls "highlight()" on a CSS-selected element.