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 thatset of images, and just do

-DaveAt 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-3721o--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+
Associated Messages, from the most recent to the oldest:
Try this:

To make things even simpler, you could remove the _off suffix from thatset of images, and just do

-DaveAt 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-3721o--------------- 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:
Errata: WCS Newbie question (1997)
Authenticate and IIS (1997)
Banners (1997)
Archives... (1997)
problem serving foreign languages text (1997)
Field name-subcategory (1997)
GuestBook example (1997)
Review comparison by PC Magazine: Open for On-lineBusiness (1997)
Set Cookie Problem (2008)
[WebDNA] Converting minutes to hours (2008)
WebCat2: Items xx to xx shown, etc. (1997)
formulas.db problem solved (1998)
Languages (1997)
More than one db with the same namn (was: WC2f3) (1997)
[OT] Help Webcat 213 win (2000)
A Global Variable (1997)
Spawning Holdup? (2000)
SKU Question (1999)
WebCatalog can't find database (1997)
E-Mail (1998)