Re: Is there an easier way?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21400
interpreted = N
texte = Try this:To make things even simpler, you could remove the _off suffix from that set of images, and just do -Dave At 4:19 PM 11/30/98, charles kline wrote: >Hi everyone. > >I am using this code here and was wondering if there was an easier way to >accomplish the same thing. I would realy like to so something like this: > >[if [S_NAME]=ListHome][else]src=someimage.gif>[/if] > > >this is what I do have though... > > >border=0>
>[hideif [S_NAME]=ListHome]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=ListHome]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=SearchHomes]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=SearchHomes]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=NewHomeComm]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=NewHomeComm]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomePlans]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=Mortgages]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomeEqLoan]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=HomeEqLoan]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomeIns]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=HomeIns]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomeWrnty]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=HomeWrnty]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=TitleIns]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=TitleIns]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=FindContr]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=FindContr]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=CreditRep]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=CreditRep]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=CompHome]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=CompHome]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=RealEstateNews]src=images/l_nav_realestate_off.gif width=132 height=13 >border=0>
[/hideif] >[showif [S_NAME]=RealEstateNews]src=images/l_nav_realestate_off.gif width=132 height=13 >border=0>
[/showif] >[hideif [S_NAME]=OtherServ]width=132 height=13 border=0>[/hideif] >[showif [S_NAME]=OtherServ]width=132 height=13 border=0>[/showif] > > >_______________________________________________________________ >Charles Kline ckline@macsultants.com > > >MacSultants >Professional Solutions for Computer Systems > >Phone# 609-273-3255 >Fax# 609-273-3721 o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: Is there an easier way? (Kenneth Grome 1998)
  2. Re: Is there an easier way? (PCS Technical Support 1998)
  3. Re: Is there an easier way? (GSwenson@DigitalSynergy.com (Greg Swenson) 1998)
  4. Re: Is there an easier way? (Ronro123@aol.com 1998)
  5. Re: Is there an easier way? (Kenneth Grome 1998)
  6. Re: Is there an easier way? (Kenneth Grome 1998)
  7. RE: Is there an easier way? (Olin Lagon 1998)
  8. Re: Is there an easier way? (Dave MacLeay 1998)
  9. Re: Is there an easier way? (Josh 1998)
  10. Re: Is there an easier way? (PCS Technical Support 1998)
  11. Is there an easier way? (charles kline 1998)
Try this:To make things even simpler, you could remove the _off suffix from that set of images, and just do -Dave At 4:19 PM 11/30/98, charles kline wrote: >Hi everyone. > >I am using this code here and was wondering if there was an easier way to >accomplish the same thing. I would realy like to so something like this: > >[if [S_NAME]=ListHome][else]src=someimage.gif>[/if] > > >this is what I do have though... > > >border=0>
>[hideif [S_NAME]=ListHome]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=ListHome]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=SearchHomes]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=SearchHomes]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=NewHomeComm]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=NewHomeComm]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomePlans]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=Mortgages]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomeEqLoan]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=HomeEqLoan]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomeIns]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=HomeIns]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=HomeWrnty]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=HomeWrnty]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=TitleIns]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=TitleIns]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=FindContr]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=FindContr]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=CreditRep]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=CreditRep]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=CompHome]width=132 height=13 border=0>
[/hideif] >[showif [S_NAME]=CompHome]width=132 height=13 border=0>
[/showif] >[hideif [S_NAME]=RealEstateNews]src=images/l_nav_realestate_off.gif width=132 height=13 >border=0>
[/hideif] >[showif [S_NAME]=RealEstateNews]src=images/l_nav_realestate_off.gif width=132 height=13 >border=0>
[/showif] >[hideif [S_NAME]=OtherServ]width=132 height=13 border=0>[/hideif] >[showif [S_NAME]=OtherServ]width=132 height=13 border=0>[/showif] > > >_______________________________________________________________ >Charles Kline ckline@macsultants.com > > >MacSultants >Professional Solutions for Computer Systems > >Phone# 609-273-3255 >Fax# 609-273-3721 o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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] SOAP support (2014) The max=0 issue is a bug ... CALL TO ACTION (2000) [WebDNA] Webserver does not respond occasionally (2018) serial number generation (1997) How to search for fields with 10 or more characters? (2004) WebCatalog can't find database (1997) Re:quit command on NT (1997) WebSTAR 2.1 freezes my Mac (1997) WebCat2: Formulas.db question (1997) do you have a webcatalog tool you want to sell? (1999) WebCat2 - [SendNews] (1997) Site Builder & IE Mac (2004) Looking for WebCat web hoster in Chicago/Illinois/Midwest (2000) carriage returns in data (1997) [WebDNA] Only one request at a time? (2011) [isfile] ? (1997) Updating a database once per day - An example (1998) Possible Bug in 2.0b15.acgi (1997) Setting up shop (1997) search across ip/domain addresses? (1998)