jBox.boxoff()

Manjiri Andhare mandhare at STATE.PA.US
Tue Dec 7 10:49:21 EST 2004


Hi!
I'm working on MapServer 4.2 and using the jBox applet for drawing the zoom
rectangle. And it works fine for the zoom in. But when i tryed to fine tune
it with the boxoff method of jBox, it doesn't work. If i write a code into
javascript function like:
document.frmtroutmap.jBox.boxoff();
and then call this function onclick event of Zoom out radio button, i get
the error as:
document.frmtroutmap.jBox is null or not an object
Also, while writing the javascript code(i'm using front page for editing
html code), i didn't get the list of jBox methods in the dropdown to select.
And if i write that line of code, i get above error.
Any sugeswstions whats goin wrong with it?
Thanks,
Manjiri Andhare



More information about the mapserver-users mailing list