>- see footer for list info -<
It didn't come thorugh that way at this end. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Smith
> Sent: 20 January 2005 14:32
> To: Coldfusion Development
> Subject: Re: [CF-Dev] OT - JS Error
> 
> >- see footer for list info -<
> unfortunately you lined all of them up....  or was that deliberate??
>   ----- Original Message -----
>   From: Russ Michaels (Snake)
>   To: 'Coldfusion Development' 
>   Sent: Thursday, January 20, 2005 2:19 PM
>   Subject: RE: [CF-Dev] OT - JS Error
> 
> 
>   >- see footer for list info -<
>   And while your at it, please line up your openeing and 
> closes braces,
>   nothing winds me up more than having to plough through code 
> where the braces
>   are not lined up and you cannot tell where a block starts and ends,
>   especially when it's nested. Doing it like this makes 
> debugging so much
>   easier.
> 
>   Function name()
>   {
>   for()
>   {
>   code
>   if()
>   {
>   code
>   }
>   }
>   )
> 
>   Russ
> 
>   > -----Original Message-----
>   > From: [EMAIL PROTECTED]
>   > [mailto:[EMAIL PROTECTED] On Behalf Of 
> Adrian Lynch
>   > Sent: 20 January 2005 11:20
>   > To: 'Coldfusion Development'
>   > Subject: RE: [CF-Dev] OT - JS Error
>   >
>   > >- see footer for list info -<
>   > No, not braces. Semi-colons for statements, although you get
>   > away with not having them most of the time, good habit to 
> get into.
>   >
>   > Braces for loops and conditionals, although they're not
>   > needed if you only intend to execute one statement after the
>   > condition or loop.
>   >
>   > for (...) {
>   > statement1;
>   > statement2;
>   > }
>   >
>   > for (...)
>   > statement1Only;
>   > statement2; //Will run outside of the for loop;
>   >
>   > if (...) {
>   > statement1;
>   > statement2;
>   > }
>   >
>   > if (...)
>   > statement1Only;
>   > statement2; Will run regardless;
>   >
>   > The bit I highlighted might have been a problem because of
>   > the , after ishow=0. Not sure about this exactly.
>   >
>   > var errex=0; ishow=0, imade=0; loading=0;
>   >
>   > Either
>   >
>   > var errex=0, ishow=0, imade=0, loading=0;
>   >
>   > to var scope them all or
>   >
>   > var errex=0; ishow=0; imade=0; loading=0;
>   >
>   > to var scope errex only and the rest just setting values.
>   >
>   > Ade
>   >
>   > -----Original Message-----
>   > From: Paul Swingewood [mailto:[EMAIL PROTECTED]
>   > Sent: 20 January 2005 11:10
>   > To: [email protected]
>   > Subject: RE: [CF-Dev] OT - JS Error
>   >
>   >
>   > >- see footer for list info -<
>   > I take it all these things need curly braces at the start &
>   > finish. I didn't
>   >
>   > write this bit. This code belongs to a template that was
>   > setup by another
>   > guy. Infact the first part of this code is exactly the same
>   > on all of the
>   > pages but it only throws the error on the searchpage.cfm
>   >
>   > More JS nonsense :(
>   >
>   > Regards - Paul
>   >
>   > >From: "Robertson-Ravo, Neil (RX)" 
>   > ><[EMAIL PROTECTED]>
>   > >Reply-To: Coldfusion Development <[email protected]>
>   > >To: Coldfusion Development <[email protected]>
>   > >Subject: RE: [CF-Dev] OT - JS Error
>   > >Date: Thu, 20 Jan 2005 10:56:47 -0000
>   > >
>   > > >- see footer for list info -<
>   > >I also reckon
>   > >
>   > ><script language="JavaScript1.2">dqm__codebase =
>   > >"/bgfl/custom/files_saved/js_menus/" </script>
>   > >
>   > >
>   > >
>   > >-----Original Message-----
>   > >From: [EMAIL PROTECTED]
>   > >[mailto:[EMAIL PROTECTED] On Behalf Of 
> Adrian Lynch
>   > >Sent: 20 January 2005 10:59
>   > >To: 'Coldfusion Development'
>   > >Subject: RE: [CF-Dev] OT - JS Error
>   > >
>   > > >- see footer for list info -<
>   > >This might be it
>   > >
>   > ><script language="JavaScript">var errex=0; ishow=0, imade=0;
>   > >loading=0;</script>
>   > >
>   > >Ade
>   > >
>   > >-----Original Message-----
>   > >From: Paul Swingewood [mailto:[EMAIL PROTECTED]
>   > >Sent: 20 January 2005 10:54
>   > >To: [email protected]
>   > >Subject: [CF-Dev] OT - JS Error
>   > >
>   > >
>   > > >- see footer for list info -<
>   > >I have a page that reports this error ....
>   > >
>   > >Line: 3
>   > >Char: 1
>   > >Error: Syntax error
>   > >Code: 0
>   > >URL: http://www.bgfl.org/cfpages/schools/searchpage.cfm
>   > >
>   > >I don't see the error at all not even a done but with errors
>   > but some
>   > >users are reporting the above.
>   > >
>   > >Can anyone tell me how to find this error please?
>   > >
>   > >Regards - Paul
>   > >
>   > >
>   > >_______________________________________________
>   > >
>   > >For details on ALL mailing lists and for joining or leaving
>   > lists, go
>   > >to http://list.cfdeveloper.co.uk/mailman/listinfo
>   > >
>   > >--
>   > >CFDeveloper Sponsors:-
>   > > >- Hosting provided by www.cfmxhosting.co.uk -<
>   > > >- Forum provided by www.fusetalk.com -<
>   > > >- DHTML Menus provided by www.APYCOM.com -<
>   > > >- Lists hosted by www.Gradwell.com -<
>   > > >- CFdeveloper is run by Russ Michaels, feel free to 
> volunteer your
>   > > >help -<
>   > >_______________________________________________
>   > >
>   > >For details on ALL mailing lists and for joining or leaving
>   > lists, go
>   > >to http://list.cfdeveloper.co.uk/mailman/listinfo
>   > >
>   > >--
>   > >CFDeveloper Sponsors:-
>   > > >- Hosting provided by www.cfmxhosting.co.uk -<
>   > > >- Forum provided by www.fusetalk.com -<
>   > > >- DHTML Menus provided by www.APYCOM.com -<
>   > > >- Lists hosted by www.Gradwell.com -<
>   > > >- CFdeveloper is run by Russ Michaels, feel free to 
> volunteer your
>   > > >help
>   > >-<
>   > >This e-mail is from Reed Exhibitions (Oriel House, 26 
> The Quadrant,
>   > >Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed
>   > >Business, Registered in England, Number 678540.  It contains
>   > >information which is confidential and may also be 
> privileged.  It is
>   > >for the exclusive use of the intended recipient(s).  If you
>   > are not the
>   > >intended recipient(s) please note
>   > >that any form of distribution, copying or use of this
>   > communication or the
>   > >information in it is strictly prohibited and may be
>   > unlawful.  If you have
>   > >received this communication in error please return it to the
>   > sender or call
>   > >our switchboard on +44 (0) 20 89107910.  The opinions
>   > expressed within this
>   > >communication are not necessarily those expressed by Reed
>   > Exhibitions.
>   > >Visit our website at http://www.reedexpo.com
>   > >_______________________________________________
>   > >
>   > >For details on ALL mailing lists and for joining or leaving
>   > lists, go
>   > >to
>   > >http://list.cfdeveloper.co.uk/mailman/listinfo
>   > >
>   > >--
>   > >CFDeveloper Sponsors:-
>   > > >- Hosting provided by www.cfmxhosting.co.uk -<
>   > > >- Forum provided by www.fusetalk.com -<
>   > > >- DHTML Menus provided by www.APYCOM.com -<
>   > > >- Lists hosted by www.Gradwell.com -<
>   > > >- CFdeveloper is run by Russ Michaels, feel free to 
> volunteer your
>   > > >help
>   > >-<
>   >
>   >
>   > _______________________________________________
>   >
>   > For details on ALL mailing lists and for joining or leaving
>   > lists, go to
>   > http://list.cfdeveloper.co.uk/mailman/listinfo
>   >
>   > --
>   > CFDeveloper Sponsors:-
>   > >- Hosting provided by www.cfmxhosting.co.uk -<
>   > >- Forum provided by www.fusetalk.com -<
>   > >- DHTML Menus provided by www.APYCOM.com -<
>   > >- Lists hosted by www.Gradwell.com -<
>   > >- CFdeveloper is run by Russ Michaels, feel free to
>   > volunteer your help
>   > >-<
>   > _______________________________________________
>   >
>   > For details on ALL mailing lists and for joining or leaving
>   > lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
>   >
>   > --
>   > CFDeveloper Sponsors:-
>   > >- Hosting provided by www.cfmxhosting.co.uk -<
>   > >- Forum provided by www.fusetalk.com -<
>   > >- DHTML Menus provided by www.APYCOM.com -<
>   > >- Lists hosted by www.Gradwell.com -<
>   > >- CFdeveloper is run by Russ Michaels, feel free to
>   > volunteer your help -<
>   > 
> 
> 
>   _______________________________________________
> 
>   For details on ALL mailing lists and for joining or leaving 
> lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
> 
>   --
>   CFDeveloper Sponsors:-
>   >- Hosting provided by www.cfmxhosting.co.uk -<
>   >- Forum provided by www.fusetalk.com -<
>   >- DHTML Menus provided by www.APYCOM.com -<
>   >- Lists hosted by www.Gradwell.com -<
>   >- CFdeveloper is run by Russ Michaels, feel free to 
> volunteer your help -< _______________________________________________
> 
> For details on ALL mailing lists and for joining or leaving 
> lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
> 
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to 
> volunteer your help 
> >-<
> 


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to