[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/js/ -> image.js (sommaire)

Horde Image Javascript Provides the javascript to help during the uploading of images in Horde_Form.

Poids: 61 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 fonctions

  showImage()
  getResizeSrc()

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

showImage(src, target, no_cache)   X-Ref
Changes the src of an image target, optionally attaching a time value to the
URL to make sure that the image does update and not use the browser cache.

param: string src              The srouce to inserted into the image element.
param: string target           The target element.
param: optional bool no_cache  If set to true will append the time.
return: bool  False to stop the browser loading anything.

getResizeSrc(src, target, ratio)   X-Ref
Adds to the given source the height/width field values for the given target.

param: string src           The srouce to append to the resize params.
param: string target        The target element.
param: optional bool ratio  If set to true will append fix the ratio.
return: string  The modified source to include the resize data.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7