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




_______________________________________________
Post Messages to: ProFox@leafe.com
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