Re: JS version of this

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69359
interpreted = N
texte = Got it !!! if(navigator.userAgent.indexOf("Firefox")!=-1){ var versionindex=navigator.userAgent.indexOf("Firefox")+8 if (parseInt(navigator.userAgent.charAt(versionindex))>=1) document.write("Firefox") } else { document.write("OTHER") } On 18 Oct 2007, at 12:49 PM, Stuart Tremain wrote: > Hi > > Can anyone please help me with a JS version of this: > > [If ("[BROWSERNAME]"^"firefox")] > [Then] > [/Then] > [Else] > [/Else] > [/If] > > > Thanks !! > > Regards > > Stuart Tremain > idfk web developments > 114a/40 yeo street neutral bay 2089 australia > t +612 9908 2134 > f +612 9908 4837 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: JS version of this ( Stuart Tremain 2007)
  2. Re: JS version of this ( Matthew Bohne 2007)
  3. Re: JS version of this ( Stuart Tremain 2007)
  4. JS version of this ( Stuart Tremain 2007)
Got it !!! if(navigator.userAgent.indexOf("Firefox")!=-1){ var versionindex=navigator.userAgent.indexOf("Firefox")+8 if (parseInt(navigator.userAgent.charAt(versionindex))>=1) document.write("Firefox") } else { document.write("OTHER") } On 18 Oct 2007, at 12:49 PM, Stuart Tremain wrote: > Hi > > Can anyone please help me with a JS version of this: > > [If ("[browsername]"^"firefox")] > [Then] > [/Then] > [Else] > [/Else] > [/If] > > > Thanks !! > > Regards > > Stuart Tremain > idfk web developments > 114a/40 yeo street neutral bay 2089 australia > t +612 9908 2134 > f +612 9908 4837 > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Delete tag (2000) Problems passing [SKU] with $Replace in 2.0 (1997) Setting up WebCatalog with Retail Pro data (1996) Re[2]: 2nd WebCatalog2 Feature Request (1996) Quickie question on the email templates (1997) Problems with [Search] param - Mac Plugin b15 (1997) OT - SMSI complaint (2001) Up and running ... at last !! (1997) Protecting a folder (2000) [WebDNA] HTTP crashes (2010) WC Database Format (1997) Permissions / Restart WebDNA? (2005) date formatting for CC card expiration date check (1998) Timeout question .. (2003) Encrypt broken on Mac 3.05b13?? (2000) Before I Can Begin . . . (1998) Re:Remote stockroom ? (1998) Couple of techno questions (1999) Can't add a field (1998) Emailer setup (1997)