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:

using showpage and showcart commands (1996) Authenticate Checker - different versions ?? (1998) (1997) WebCommerce: Folder organization ? (1997) Emailer 2.1.1 delivers to bcc twice? (1998) WC + MYSQL + ODBC (2002) wierd crashes for multi-sendmails on NT (1997) sort problems....bug or brain fart? (1997) Opinion: [input] should be called [output] ... (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [referrer] tag (1997) WebCatalog Technical Reference (1997) HELP WITH DATES (1997) The Guru Speaks-Is That Really the Only Manuel? (1998) File dates in WebCatalog .tmpl/.inc (1997) Web Merchant process after credit card clears (1998) Terry's formvariables tip (1998) Authenticate (1997) Multi-processor Mac info ... (1997) WebCatalog Programmer looking for a new job (2001)