[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/js/ui/ -> common.js (sommaire)

(pas de description)

Poids: 383 lignes (11 kb)
Inclus ou requis:0 fois
Référencé: 3 fois
Nécessite: 0 fichiers

Définit 23 fonctions

  help_window()
  resource_list_window()
  userPictureSelectWindow()
  resetUserPicture()
  resetBlogId()
  emptyList()
  fillList()
  changeList()
  addText()
  returnResourceInformation()
  openScreenshotWindow()
  openTemplateChooserWindow()
  blogTemplateSelector()
  toggleNotificationArea()
  _toggle()
  toggleSection()
  toggleAll()
  moveElement()
  listSelectAll()
  editBlogRemoveSelected()
  MM_jumpMenu()
  getPostEditFormElements()
  getFlashPlayerHTML()

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

help_window(helpurl)   X-Ref
opens a window with some help information

param: helpurl The destination url
return: nothing

resource_list_window( type )   X-Ref
opens a window pointing to the list of resources so that we can easily add one to our current
article

param: type
return: nothing

userPictureSelectWindow()   X-Ref
Pas de description

resetUserPicture()   X-Ref
resets the user picture/avatar in the profile page


resetBlogId()   X-Ref
resets blogid in the general setting page


emptyList( box )   X-Ref
empties a drop-down list

param: box The form object representing the drop-down list
return: nothing

fillList( box, numElems )   X-Ref
fill a list with data

param: box
param: numElems
return: nothing

changeList( box )   X-Ref

param: box
return: nothing

addText( input, insText )   X-Ref
Adds some text where the cursor is.

Works in IE and Mozilla 1.3b+
In other browsers, it simply adds the text at the end of the current text

returnResourceInformation(resId, url)   X-Ref
Used in the' user profile' screen where users can pick an image from their collection
and set it as their 'avatar'

param: resId
param: url
return: nothing

openScreenshotWindow( destUrl )   X-Ref
opens a window to see an screenshot from a template

param: destination url

openTemplateChooserWindow()   X-Ref
opens the window where users can choose their own template. The destination url is hardcoded


blogTemplateSelector( templateId )   X-Ref
tells the parent window which template we chose


toggleNotificationArea()   X-Ref
in the "newBlogUser" screen, shows and hides the 'notification area', a textbox
where users can type some text that will be included in an email sent to the user that is
going to be invited to the blog


_toggle( sectionId )   X-Ref
Pas de description

toggleSection(sectionId)   X-Ref
Pas de description

toggleAll( enabled )   X-Ref
Pas de description

moveElement(srcList, dstList)   X-Ref
generic function for moving elements from one list to another!


listSelectAll(listId)   X-Ref
automatically selects all the elements of a list


editBlogRemoveSelected()   X-Ref
Pas de description

MM_jumpMenu(targ,selObj,restore)   X-Ref
Pas de description

getPostEditFormElements( formId )   X-Ref
Pas de description

getFlashPlayerHTML( url, height, width )   X-Ref
Returns the HTML code required to embed the Flash MP3 and video player, given
a URL to a playable media file.

param: url
return:



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics