Re: Hiding Brands
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57389
interpreted = N
texte = Alan White wrote:>>>
Link>>>>Other than
having an extra slash, it looks fine. ; )> > > This is for xhtml, you have to close any tags that do not have a closing tag> in this way for it to validate xhtml.Look at your code above. You _do_ have an extra slash in the
tag, just not the one you were thinking it was...> Couple of quick questions:-> > a) What is the pipe symbol for that surrounds [ID]?A delimiter.> b) If the pipe represents an OR control statement then should the parameters> not be surrounded with inverted commas? (my experience of the if then else> in WebDNA)No, it isn't an OR.This is a really old trick. By placing delimiters on both sides of the search term (right side) and between each element of the search (left side), you require the contains '^' operator to match not only the search term, but also the two delimiters on either side. This is so you can prevent substring matches.For example:[hideif |a|ab|abc|abcd|^|[id]|]will not fire if [id] is 'bcd'.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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:
Alan White wrote:>>>Link>>>>Other than
having an extra slash, it looks fine. ; )> > > This is for xhtml, you have to close any tags that do not have a closing tag> in this way for it to validate xhtml.Look at your code above. You _do_ have an extra slash in the
tag, just not the one you were thinking it was...> Couple of quick questions:-> > a) What is the pipe symbol for that surrounds [ID]?A delimiter.> b) If the pipe represents an OR control statement then should the parameters> not be surrounded with inverted commas? (my experience of the if then else> in WebDNA)No, it isn't an OR.This is a really old trick. By placing delimiters on both sides of the search term (right side) and between each element of the search (left side), you require the contains '^' operator to match not only the search term, but also the two delimiters on either side. This is so you can prevent substring matches.For example:[hideif |a|ab|abc|abcd|^|[id]|]will not fire if [id] is 'bcd'.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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/
John Peacock
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:
Problem with version 4 browsers (1998)
Variable prices and Formulas.db (1997)
Orderfile context problem (1998)
WebCat2 several catalogs? (1997)
Sorry I didn't pay attention-but ??? (1997)
PCS Emailer's role ? (1997)
Simple way to create unique SKU (1997)
Prices coming up 0.00 (2001)
simple answer? [hideif] (1997)
Multiple Sendmail Tags on One Page (2008)
EIMS Problems (1997)
MATH (1998)
Two submit buttons ? (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
MacAuthorize and WebMerchant (1997)
lineitem variables (1999)
Help! WebCat2 bug (Ben's input) (1997)
5.0 Pricing (2003)
Help!!!! Purchases not going through! FIXED! (1997)
searchable list archive (1997)