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:

Strange search... (2000) system crashes, event log (1997) Protecting webdelivery (1997) Comments in db? (1997) WebDNA CAPTCHA (2008) Re:2nd WebCatalog2 Feature Request (1996) WebCat editing, SiteGuard & SiteEdit (1997) docs for WebCatalog2 (1997) (1997) WebDNA Life Cycle (was Form POSTing with LONG variable) (2007) WebCat2.0 [format thousands .0f] no go (1997) Navigator Parsing (1997) [convertchars] limits (1998) Progress !! WAS: Trouble with formula.db (1997) Great product and great job ! (1997) Newbie Tax Question (1997) !@#$$@@# formulas database, tax and freight. (2002) Here's how to kill a Butler Database. (1997) formatting dates from a field ... (1997) Did you hear about this? (1997)