>

Quick Reference

The Polymath's DHTML Library

Handle divs like this:
div(divname).function()
div(place in div listing).function()
divnameObj.function()
Functions:
.x() : .x(x)
.y() : .y(y)
.z() : .z(z)
.write("text")
.move(x,y)
.width() : .width(width)
.height() : .height(height)
.resize(width,height)
.show()
.hide()
.toggle()
.shown()
.bgColor("color")
.clip("t:r:b:l") : .clip(top,right,bottom,left)
.slide(x : xArray,y : yArray,incerment : incermentArray,speed : speedArray,"command")
.moveto(xArray,yArray,speed : speedArray,"command")
.wipe(top : topArray,right : rightArray,bottom : bottomArray,left : leftArray,phases : phaseArray,speed : speedArray,"command");
.scrollBuild(width,height)
    .scroll(x,y)
        .scrollDown(incerment)
        .scrollUp(incerment)
        .scrollLeft(incerment)
        .scrollRight(incerment)
        .scrollStop()
.drag()
.drag("div")
.drag(x,y,width,height)
.dragStatic()
.onTop("divname")
.loadPage("url")
.slideStop()
.moveStop()
.wipeStop()
.scrollStop()
function loaded(){}
function mouseDown(x,y){}
function mouseMove(x,y){}
function mouseUp(x,y){}
function keyDown(Ascii value,"keyboard value"){}
function keyUp(Ascii value,"keyboard value"){}
function keyPress(Ascii value,"keyboard value"){}
function dragging("div being draged"){}
function dragStart("div being draged"){}
function dragStop("div being draged"){}
function loadedPage(){}
function scrolling("div name",x,y){}
ie
n4
screenWidth
screenHeight
divlist
draglist
create("divname","properties","inner HTML");
.remove()
anArray=deleter(value,anArray)