54 abstract public function _add_event($element, $js, $event, $preventDefault =
false, $stopPropagation =
false, $immediatly =
true, $listenerOn=
false);
65 public function blur($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
66 return $this->
_add_event ( $element, $js,
'blur', $preventDefault, $stopPropagation,
true, $listenerOn );
81 public function change($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
82 return $this->
_add_event ( $element, $js,
'change', $preventDefault, $stopPropagation,
true, $listenerOn );
99 public function click($element =
'this', $js =
'', $ret_false = TRUE, $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
100 if (! is_array ( $js )) {
107 $js [] =
"return false;";
110 return $this->
_add_event ( $element, $js,
'click', $preventDefault, $stopPropagation,
true, $listenerOn );
125 public function contextmenu($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
126 return $this->
_add_event ( $element, $js,
'contextmenu', $preventDefault, $stopPropagation,
true, $listenerOn );
141 public function dblclick($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
142 return $this->
_add_event ( $element, $js,
'dblclick', $preventDefault, $stopPropagation,
true, $listenerOn );
154 public function error($element =
'this', $js =
'') {
155 return $this->
_add_event ( $element, $js,
'error' );
170 public function focus($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
171 return $this->
_add_event ( $element, $js,
'focus', $preventDefault, $stopPropagation,
true, $listenerOn );
184 public function hover($element =
'this', $over =
'', $out =
'') {
185 $event =
"\n\t$(" . Javascript::prep_element ( $element ) .
").hover(\n\t\tfunction()\n\t\t{\n\t\t\t{$over}\n\t\t}, \n\t\tfunction()\n\t\t{\n\t\t\t{$out}\n\t\t});\n";
186 $this->jquery_code_for_compile [] = $event;
202 public function keydown($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
203 return $this->
_add_event ( $element, $js,
'keydown', $preventDefault, $stopPropagation,
true, $listenerOn );
218 public function keypress($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
219 return $this->
_add_event ( $element, $js,
'keypress', $preventDefault, $stopPropagation,
true, $listenerOn );
234 public function keyup($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
235 return $this->
_add_event ( $element, $js,
'keyup', $preventDefault, $stopPropagation,
true, $listenerOn );
250 public function load($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
251 return $this->
_add_event ( $element, $js,
'load', $preventDefault, $stopPropagation,
true, $listenerOn );
266 public function mousedown($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
267 return $this->
_add_event ( $element, $js,
'mousedown', $preventDefault, $stopPropagation,
true, $listenerOn );
282 public function mouseout($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
283 return $this->
_add_event ( $element, $js,
'mouseout', $preventDefault, $stopPropagation,
true, $listenerOn );
298 public function mouseleave($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
299 return $this->
_add_event ( $element, $js,
'mouseleave', $preventDefault, $stopPropagation,
true, $listenerOn );
314 public function mouseenter($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
315 return $this->
_add_event ( $element, $js,
'mouseenter', $preventDefault, $stopPropagation,
true, $listenerOn );
330 public function mouseover($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
331 return $this->
_add_event ( $element, $js,
'mouseover', $preventDefault, $stopPropagation,
true, $listenerOn );
346 public function mouseup($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
347 return $this->
_add_event ( $element, $js,
'mouseup', $preventDefault, $stopPropagation,
true, $listenerOn );
362 public function unload($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
363 return $this->
_add_event ( $element, $js,
'unload', $preventDefault, $stopPropagation,
true, $listenerOn );
379 public function resize($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
380 return $this->
_add_event ( $element, $js,
'resize', $preventDefault, $stopPropagation,
true, $listenerOn );
396 public function scroll($element =
'this', $js =
'', $preventDefault =
false, $stopPropagation =
false, $listenerOn=
false) {
397 return $this->
_add_event ( $element, $js,
'scroll', $preventDefault, $stopPropagation,
true, $listenerOn );
blur($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library blur event.
mouseenter($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library mouseenter event.
click($element='this', $js='', $ret_false=TRUE, $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library click event.
mouseover($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library mouseover event.
dblclick($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library dblclick event.
keydown($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library keydown event.
hover($element='this', $over='', $out='')
Outputs a javascript library hover event.
change($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library change event.
keypress($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library keypress event.
scroll($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library scroll event.
unload($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library unload event.
mousedown($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library mousedown event.
_add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false, $immediatly=true, $listenerOn=false)
mouseup($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library mouseup event.
mouseout($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library mouseout event.
focus($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library focus event.
error($element='this', $js='')
Outputs a javascript library error event.
keyup($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library keydown event.
load($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library load event.
mouseleave($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library mouseleave event.
contextmenu($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library contextmenu event.
resize($element='this', $js='', $preventDefault=false, $stopPropagation=false, $listenerOn=false)
Outputs a javascript library resize event.