Project Outline
bind(object)
assignOID(objorid)
setup(config)
addEvent(obj, evt, callback)
removeEvent(obj, evt, callback)
addLoadEvent(obj, callback)
loadImage(img, imgw, imgh)
log(obj, level)
getMapHTML(flags)
_normShape(shape)
_normCoords(coords, shape, flag)
initArea(id, shape)
_setBorder(id, style)
_setopacity(area, bgcolor, pct)
removeArea(id, mass)
scaleArea(rscale, rscale)
_repaint(area, color, x, y)
_recalculate(id, coords)
_polygongrow(area, newx, newy)
highlightArea(id, flag)
blurArea(id, flag)
_getPos(element)
assignCSS(obj, cssText)
fireEvent(evt, obj)
setAreaSize(id, w, h)
trim(str)
«
imgmap

File Index

imgmap.js ..\imgmap.js
Online Image Map Editor - main script file. This is the main script file of the Online Image Map Editor. TODO: -scriptload race condition fix -destroy/cleanup function ? -testing highlighter -cursor area_mousemove in opera not refreshing quite well - bug reported -get rid of memo array -highlight which control point is edited in html or form mode -more comments, especially on config vars -make function names more logical - dumpconfig -prepare for bad input /poly not properly closed? -prepare for % values in coords -prepare for default shape http://www.w3.org/TR/html4/struct/objects.html#edef-AREA
Author:
Adam Maschek (adam.maschek(at)gmail.com)
Version:
2.2
Documentation generated by JsDoc Toolkit 2.1.0b on Sun Jul 26 2009 16:29:55 GMT+0200 (CEST)