Re: Browser based content...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59575
interpreted = N
texte = Do you maybe have your T and F values reversed? You are setting showgoodmenu to T if it the browsername contains MSIE & Mac_PowerPC, while your comments indicate you want to hide the good menu for that browser. - brian On Oct 8, 2004, at 7:24 AM, Alan White wrote: > Hi Eveyone > > I know I have posted about this before and was told I could do it but > can anyone see what is wrong with this piece of code? I want to > display one menu for all other browsers and one for mac i5.2 because > it is the spawn of satan. > > [if (("[browsername]"^"MSIE")&("[browsername]"^"Mac_PowerPC"))] > [then][text]showgoodmenu=T[/text][/then] > [else][text]showgoodmenu=F[/text][/else] > [/if] > > [hideif [showgoodmenu]=F] > Good Menu > [/hideif] > > Example : http://www.hanon-shop.com/testarea/testmenu.html > > TIA > Alan -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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: Browser based content... ( Alan White 2004)
  2. Re: Browser based content... ( Brian Fries 2004)
  3. Re: Browser based content... ( "Dan Strong" 2004)
  4. Browser based content... ( Alan White 2004)
Do you maybe have your T and F values reversed? You are setting showgoodmenu to T if it the browsername contains MSIE & Mac_PowerPC, while your comments indicate you want to hide the good menu for that browser. - brian On Oct 8, 2004, at 7:24 AM, Alan White wrote: > Hi Eveyone > > I know I have posted about this before and was told I could do it but > can anyone see what is wrong with this piece of code? I want to > display one menu for all other browsers and one for mac i5.2 because > it is the spawn of satan. > > [if (("[browsername]"^"MSIE")&("[browsername]"^"Mac_PowerPC"))] > [then][text]showgoodmenu=T[/text][/then] > [else][text]showgoodmenu=F[/text][/else] > [/if] > > [hideif [showgoodmenu]=F] > Good Menu > [/hideif] > > Example : http://www.hanon-shop.com/testarea/testmenu.html > > TIA > Alan -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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/ Brian Fries

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:

Summing fields (1997) Email Scavengers (2003) Changing price for a SLU based on options (size, etc.) (1997) strange [date] behavior (2001) FoundItems (2000) AOL and referrers on target=_blank (2000) Running _every_ page through WebCat ? (1997) [WebDNA] 30 Minute Cookies (2016) using showpage and showcart commands (1996) Need help with emailer- 2 issues (1997) Problem with ShoppingCart.tpl refresh (2000) Passing radio check box value to itself... (2000) problems with 2 tags shakur (1997) Instructions for Digest (1997) [WebDNA] Triggers.db wiped completely blank (2011) [BoldWords WordList]Any Text[/BoldWords] (2000) Doesn't change (WebCat 4.0) (2000) PR: WebCatalog Affiliates Program Announced -- Share the revenuefor promoting WebCatalog (2000) keeping carts... (2005) NT challenges default admin/admin password (2000)