jBox.boxoff()

Andhare, Manjiri mandhare at STATE.PA.US
Wed Dec 8 09:44:09 EST 2004


No!! That's what I was thinking about. I opened the java code of the
jBox utility and I found that this function is called in jBox.java. And
I didn't define this function nor used it anywhere on my html page. I
assume that jBox is calling this function and due to some reason may be
b'coz of incorrect input parameters or anything like that, its not
getting executed properly.
But if I just ignore the error message and deny to debug it, I see that
the zoom box turns off and I get to click on a single point where I want
to zoom out.
Is there anything that I need to define... this function on the html
page? What I did with jBox is just followed the instructions from jBox
HOWTO 4.2
Thank you,


Manjiri Andahre
GIS co-ordinator
PA Fish & Boat commission
tel: (814)3595182
fax:(814)3595153
 

-----Original Message-----
From: Richard Greenwood [mailto:richard.greenwood at gmail.com] 
Sent: Tuesday, December 07, 2004 6:11 PM
To: Andhare, Manjiri
Cc: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] jBox.boxoff()

On Tue, 7 Dec 2004 15:46:05 -0500, Andhare, Manjiri
<mandhare at state.pa.us> wrote:
> If I do as:
> document.jBox.boxoff();
> Then I get the error message for that line as:
> Failure to reset_handler('jBox',-1,-1,-1,-1)
> I really appreciate the response.

Do you have a javascript reset_handler() function defined within your
page? It doesn't have to do anything, but it's got to be there because
jBox is calling it. For example:

   function reset_handler(name, minx, miny, maxx, maxy) { }

Regards,
-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the mapserver-users mailing list