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:

Grouping Fields in Context (1999) AutoReload? RequireComment? InterpretAll? (1999) CAPTCHA system in webDNA (2005) A little syntax help (1997) How Many SKU's is enough? (1997) Encrypt Users.db problem (1998) Credit card processing - UK (1997) [WebDNA] Clean URLS job - will pay (2010) Summing fields (1997) Shipping rate x Quantity solution needed (2000) _ in front of field name (1998) General WebCatalog Questions (1997) empty shopping cart message (1997) RE: Checkboxes to add to cart... (1998) [format 40s]text[/format] doesn't work (1997) different show next (1997) A new perspective ... (2005) year 2000 + and webmerch, macauth? (1998) [FoundItems] solved - thanks (1997) Automated FTP from Shell (2004)