[ Index ]
 

Code source de DokuWiki 2006-11-06

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

title

Body

[fermer]

/lib/scripts/ -> script.js (sommaire)

Some of these scripts were taken from wikipedia.org and were modified for DokuWiki

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

Définit 21 fonctions

  updateAccessKeyTooltip()
  isset()
  getElementsByClass()
  findPosX()
  findPosY()
  jsEscape()
  escapeQuotes()
  prependChild()
  showLoadBar()
  hideLoadBar()
  addTocToggle()
  toggleToc()
  checkAclLevel()
  fnt()
  initSizeCtl()
  sizeCtl()
  toggleWrap()
  closePopups()
  scrollToMarker()
  focusMarker()
  cleanMsgArea()

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

updateAccessKeyTooltip()   X-Ref
Rewrite the accesskey tooltips to be more browser and OS specific.

Accesskey tooltips are still only a best-guess of what will work
on well known systems.

author: Ben Coburn <btcoburn@silicodon.net>

isset(varname)   X-Ref
Pas de description

getElementsByClass(searchClass,node,tag)   X-Ref
Select elements by their class name

author: Dustin Diaz <dustin [at] dustindiaz [dot] com>

findPosX(object)   X-Ref
Get the X offset of the top left corner of the given object


findPosY(object)   X-Ref
Get the Y offset of the top left corner of the given object


jsEscape(text)   X-Ref
Escape special chars in JavaScript

author: Andreas Gohr <andi@splitbrain.org>

escapeQuotes(text)   X-Ref
This function escapes some special chars


prependChild(parent,element)   X-Ref
Adds a node as the first childenode to the given parent


showLoadBar()   X-Ref
Prints a animated gif to show the search is performed

Because we need to modify the DOM here before the document is loaded
and parsed completely we have to rely on document.write()

author: Andreas Gohr <andi@splitbrain.org>

hideLoadBar(id)   X-Ref
Disables the animated gif to show the search is done

author: Andreas Gohr <andi@splitbrain.org>

addTocToggle()   X-Ref
Adds the toggle switch to the TOC


toggleToc()   X-Ref
This toggles the visibility of the Table of Contents


checkAclLevel()   X-Ref
Pas de description

fnt(id, e, evt)   X-Ref
insitu footnote addition

provide a wrapper for domTT javascript library
this function is placed in the onmouseover event of footnote references in the main page

author: Chris Smith <chris [at] jalakai [dot] co [dot] uk>

initSizeCtl(ctlid,edid)   X-Ref
Add the edit window size controls


sizeCtl(edid,val)   X-Ref
This sets the vertical size of the editbox


toggleWrap(edid)   X-Ref
Toggle the wrapping mode of a textarea

author: Fluffy Convict <fluffyconvict@hotmail.com>
author: <shutdown@flashmail.com>

closePopups()   X-Ref
Handler to close all open Popups


scrollToMarker()   X-Ref
Looks for an element with the ID scroll__here at scrolls to it


focusMarker()   X-Ref
Looks for an element with the ID focus__this at sets focus to it


cleanMsgArea()   X-Ref
Remove messages




Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7