Thanks,
Tried that as I was missing one, but that’s still not it..

Oh well, maybe I've just been staring at it too much <grin>

Took those lines out and it works fine..

Just read a site that says you can run vbscript and javascript together, so
maybe I'll try the vbscript as I know it better. 


Virgil Bierschwale
http://www.virgilslist.com
http://www.tccutlery.com
http://www.bierschwale.com
http://www.bierschwalesolutions.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Tracy Pearson
Sent: Wednesday, December 20, 2006 2:10 PM
To: [email protected]
Subject: RE: [NF] Any JavaScript Pro's out there 

I'm not up on functions, however, it looks like you don't have enough
matching brackets { }

Tracy

> -----Original Message-----
> From: Virgil Bierschwale
> Sent: Wednesday, December 20, 2006 2:42 PM
>
> This should be working, but its not..and to top it off,
> response.write('svcBranch') and response.end doesn't show me that its 
> getting there.
>
> It also is the only changes I've made to code that was working before 
> so I'm sure this has to be the problem, but at this point, who knows ? 
> <grin>
>
>
> var svcBranch = new String( Request.Form("state") )
>
> {
>       if (svcBranch == 'VA')
>               {
>            map.setCenter(new GLatLng( 37.7,-97.3), 5);
>               }
>
> {
>       if (svcBranch == 'FL')
>               {
>            map.setCenter(new GLatLng( 37.7,-97.3), 3);
>               }
>
>
> {
>       if (svcBranch == 'TX')
>               {
>            map.setCenter(new GLatLng( 37.7,-97.3), 7);
>               }
>
> The code in operation is at http://www.virgilslist.com/branch.asp
> Click on navy, click on ff-1059 then select any state size and I want 
> it to change the zoom levels and center of state which is what the 
> above mentioned code does.
>
> Thanks,
>
> Virgil Bierschwale
> http://www.virgilslist.com
> http://www.tccutlery.com
> http://www.bierschwale.com
> http://www.bierschwalesolutions.com




[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to