jsblame

Javascript library.  It contains functions for manipulate html objects over the page.  Release: $Name: $

Edit by: $Author: mcbig $ Edit Date: $Date: 2007/01/02 16:13:11 $ Version: $Revision: 1.3 $

Summary
Javascript library.
returns real left offset from left side, without regard to his position in html tree
center object on html page (Form for example) id - html object id
Roll down object in high r - step id - object id lnOHeight - real object heigh
Roll up object in high r - step id - object id lnOHeight - real object heigh
Animate object down from hide to full visible id - object id Be carefull, when you change steping algorithm in RollHeightDown, firefox has so slow javascript engine.
Animate object up from full visible to hide id - object id Be carefull, when you change steping algorithm in RollHeightUp, firefox has so slow javascript engine.
object can be visible by two variants, via visibility attribute or via animation (see code).
Show submenu div.
Set visibility hidden.
Set visibility hidden.
Hides object on page, to it could be roll down via AnimateDown
Simple change visivility of id object

Functions

GetLeftFromDocument

function GetLeftFromDocument(DomObject)

returns real left offset from left side, without regard to his position in html tree

Center

function Center(id)

center object on html page (Form for example) id - html object id

RollHeightDown

function RollHeightDown(r,
id,
lnOHeight)

Roll down object in high r - step id - object id lnOHeight - real object heigh

RollHeightUp

function RollHeightUp(r,
id,
lnOHeight)

Roll up object in high r - step id - object id lnOHeight - real object heigh

AnimateDown

function AnimateDown(id)

Animate object down from hide to full visible id - object id Be carefull, when you change steping algorithm in RollHeightDown, firefox has so slow javascript engine.

AnimateUp

function AnimateUp(id)

Animate object up from full visible to hide id - object id Be carefull, when you change steping algorithm in RollHeightUp, firefox has so slow javascript engine.

Show(id)

function Show(id)

object can be visible by two variants, via visibility attribute or via animation (see code).

MShow

function MShow(DomObject,
id)

Show submenu div.  When DomObject has MainMenuBar parent, then left is reltive to it’s item.  See menu.php or generated html with menu for mor details.

Hide

function Hide(id)

Set visibility hidden.

MHide

function MHide(id)

Set visibility hidden.  This function is duplicate for submenu.

CloseHeight

function CloseHeight(id)

Hides object on page, to it could be roll down via AnimateDown

ChangeVisibility

function ChangeVisibility(id)

Simple change visivility of id object

function GetLeftFromDocument(DomObject)
returns real left offset from left side, without regard to his position in html tree
function Center(id)
center object on html page (Form for example) id - html object id
Form class can generate form with some functions like be center on page as normal window.
function RollHeightDown(r,
id,
lnOHeight)
Roll down object in high r - step id - object id lnOHeight - real object heigh
function RollHeightUp(r,
id,
lnOHeight)
Roll up object in high r - step id - object id lnOHeight - real object heigh
function AnimateDown(id)
Animate object down from hide to full visible id - object id Be carefull, when you change steping algorithm in RollHeightDown, firefox has so slow javascript engine.
function AnimateUp(id)
Animate object up from full visible to hide id - object id Be carefull, when you change steping algorithm in RollHeightUp, firefox has so slow javascript engine.
function Show(id)
object can be visible by two variants, via visibility attribute or via animation (see code).
function MShow(DomObject,
id)
Show submenu div.
function Hide(id)
Set visibility hidden.
function MHide(id)
Set visibility hidden.
function CloseHeight(id)
Hides object on page, to it could be roll down via AnimateDown
function ChangeVisibility(id)
Simple change visivility of id object
Library for with trees and menus.