[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/rsc/js/ -> form_extensions.js (sommaire)

This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.

Author: fplanque: Francois PLANQUE.
Author: fsaya: Fabrice SAYA-GASNIER / PROGIDISTRI
Copyright: (c)2003-2006 by Francois PLANQUE - {@link http://fplanque.net/}
Version: $Id: form_extensions.js,v 1.15 2006/11/26 01:42:10 fplanque Exp $
Poids: 358 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 14 fonctions

  get_form()
  check()
  check_all()
  uncheck_all()
  cancelClick()
  surround_check()
  surround_unchecked()
  surround_checked()
  unsurround_all()
  init_check_all()
  clear_form()
  focus_on_first_input()
  check_combo()
  input_decorated_help()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

get_form( object )   X-Ref
Takes an object and returns the parent form

param: object the child object
return: form the parent form of the child object

check( object, action )   X-Ref
Toggles all checkboxes of the current form

param: form the form
param: integer force set/unset

check_all( e )   X-Ref
Event function
check all checkboxes of the current form


uncheck_all( e )   X-Ref
Event function
uncheck all checkboxes of the current form


cancelClick( e )   X-Ref
Pas de description

surround_check( e, class_name, check_val )   X-Ref
Surround or unsurrond all' surround_check' span restrict to check_val
used to surround all check_all checkboxes


surround_unchecked( e )   X-Ref
Suround all not checked checkboxes


surround_checked( e )   X-Ref
Suround all checked checkboxes


unsurround_all( e )   X-Ref
Unsuround all checkboxes


init_check_all()   X-Ref
Pas de description

clear_form( object )   X-Ref
Clear the form the current object belongs to

param: object the object whose form must be cleared

focus_on_first_input()   X-Ref
focus on the first form input text


check_combo( el_ID, value, class_name )   X-Ref
Handle Combo Boxes
Display the input text when value is 'new'
and hide the input text for all other values

param: string ID of the select list
param: string value selected
param: string class name for the input text

input_decorated_help( id, hvalue )   X-Ref
Decorate an input field with a "help value", which gets
removed onfocus and re-added onblur (if the fields real
value is still unchanged).

param: string ID of the input field
param: string "Help value"



Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics