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:

[WebDNA] multi [sendmail] inside [search] (2012) WebCat for mass emailings (1997) [countwords] (2002) remotely creating and populating a stock inventory db - almost there! (1999) WC2b12: Yes, Formulas.db is for real (1997) Nesting format tags (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) mail test (1997) all records returned. (1997) Password and Allow commands (1998) Dummy Credit Card Number for debug? (1997) Safari browser and WebDNA set-cookies (2003) More than one db with the same namn (was: WC2f3) (1997) Help! WebCat2 bug (1997) WebCat2 Append problem (B14Macacgi) (1997) Math Problem - Format? (1997) Anyone using Verisign's Payflow Link for payment processing? (2000) Ads.db (1997) List of WebDNA users - Show of Hands (2002) setting taxable to true (1997)