[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
This file implements general Javascript functions. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.
Author: | blueyed: Daniel HAHLER |
Author: | fplanque: Francois PLANQUE |
Copyright: | (c)2003-2006 by Francois PLANQUE - {@link http://fplanque.net/} |
Version: | $Id: functions.js,v 1.30 2007/09/16 22:06:37 fplanque Exp $ |
Poids: | 507 lignes (14 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
addEvent( elm, evType, fn, useCapture ) X-Ref |
Cross browser event handling for IE5+, NS6+ an Mozilla/Gecko author: Scott Andrew |
setstatus( message ) X-Ref |
Browser status changed. Warning: This is disabled in modern browsers. |
resetstatus() X-Ref |
Pas de description |
pop_up_window( href, target, width, height, params ) X-Ref |
Opens a window, centers it and makes sure it gets focus. |
toggle_display_by_id( text_id, target_id, text_when_displayed, text_when_hidden ) X-Ref |
Shows/Hides target_id, and updates text_id object with either text_when_displayed or text_when_hidden. It simply uses the value of the elements display attribute and toggles it. return: false |
toggle_clickopen( id, hide, displayVisible ) X-Ref |
Open or close a clickopen area (by use of CSS style). You have to define a div with id clickdiv_<ID> and a img with clickimg_<ID>, where <ID> is the first param to the function. param: string html id of the element to toggle param: string CSS display property to use when visible ('inline', 'block') return: false |
textarea_replace_selection( myField, snippet, target_document ) X-Ref |
Pas de description |
textarea_wrap_selection( myField, before, after, replace, target_document ) X-Ref |
Textarea insertion code. |
toggle_filter_area( filter_name ) X-Ref |
Open or close a filter area (by use of CSS style). You have to define a div with id clickdiv_<ID> and a img with clickimg_<ID>, where <ID> is the first param to the function. param: string html id of the element to toggle return: false |
asyncRequest( url ) X-Ref |
"AJAX" wrapper What this really is actually, is just a function to perform an asynchronous Request to the server. There is no need to have any XML involved. param: string url urlencoded |
asyncResponseHandler() X-Ref |
Pas de description |
swapSection( data ) X-Ref |
Pas de description |
b2evo_Callbacks() X-Ref |
Pas de description |
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |