RE: Is there an easier way?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21401
interpreted = N
texte = Hi Charles,This saves a little bit of coding:
Aloha, Olin> -----Original Message-----> From: charles kline [mailto:ckline@macsultants.com]> Sent: Monday, November 30, 1998 11:20 AM> To: WebDNA-Talk> Subject: Is there an easier way?>>> 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>>>
Associated Messages, from the most recent to the oldest:
Hi Charles,This saves a little bit of coding:
Aloha, Olin> -----Original Message-----> From: charles kline [mailto:ckline@macsultants.com]> Sent: Monday, November 30, 1998 11:20 AM> To: WebDNA-Talk> Subject: Is there an easier way?>>> 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>>>
Olin Lagon
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:
New Command prefs ... (1997)
WebMerchant 1.6 and SHTML (1997)
Public beta 6 for WebCatalog 4.0 is now available (2000)
[ShowIf] and empty fields (1997)
[WebDNA] Filtering exact numbers (2008)
More questions about serial number dishing (1997)
Not really WebCat - need HTML Grider (1997)
File commands and Wild Cards ?? (1998)
Erotic Sites (1997)
Nested Loops and SHOWIFs (1997)
Rendering out a page-test results (1997)
WebCatalog & Mac OS X (client) vs. Redhat Linux (2001)
How To question on setting up downloads (1997)
4.0.2b4 (2000)
PCS Frames (1997)
upgrade? (1997)
Copyright ? (1997)
Ampersand is breaking search context (1999)
Stumpted Again (1997)
Search Questions (2000)