Re: show if date < expiry date
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44986
interpreted = N
texte = Sorry...Would it go along the lines of...[showif [math]{[date]}[/math]<[math]{[11/11/02]}[/math]]onLoad=MM_openBrWindow('silas_voucher.html','voucher','width=340,height=200') [/showif]I'm not sure if the date format is correct though....Alanon 8/11/02 2:24 pm, Alan White at alan@streethreds.com wrote:> Hi Everyone> > I am still new to WC etc and was wondering if someone could maybe give me a> quick fix for something? At the moment we have an 2 adds running on certain> pages of our site that we need to run for 48hrs and 72hrs, I figured that> this could be achieved on the fly using WC or webDNA to be exact using the> good old [showif date < expirydate] [/showif] (The code is based in the body> tag of the site for launching a pop up with the advert in it by the way).> > The problem is I am still not fluent in this whole new language as I have> been bogged down maintaining several hundred pages of static html whilst> waiting for our new site to be coded. I was looking for the answer using> JavaScript and then remembered that we can actually use webDNA if we like as> we have bought it and installed it on our server.> > Anyway, any advice would be appreciated as this would solve the headache of> having to come in over the weekend to remove the adverts.> > Thanks> > Alan> > > > -------------------------------------------------------------> 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://search.smithmicro.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Sorry...Would it go along the lines of...[showif [math]{[date]}[/math]<[math]{[11/11/02]}[/math]]onLoad=MM_openBrWindow('silas_voucher.html','voucher','width=340,height=200') [/showif]I'm not sure if the date format is correct though....Alanon 8/11/02 2:24 pm, Alan White at alan@streethreds.com wrote:> Hi Everyone> > I am still new to WC etc and was wondering if someone could maybe give me a> quick fix for something? At the moment we have an 2 adds running on certain> pages of our site that we need to run for 48hrs and 72hrs, I figured that> this could be achieved on the fly using WC or webDNA to be exact using the> good old [showif date < expirydate] [/showif] (The code is based in the body> tag of the site for launching a pop up with the advert in it by the way).> > The problem is I am still not fluent in this whole new language as I have> been bogged down maintaining several hundred pages of static html whilst> waiting for our new site to be coded. I was looking for the answer using> JavaScript and then remembered that we can actually use webDNA if we like as> we have bought it and installed it on our server.> > Anyway, any advice would be appreciated as this would solve the headache of> having to come in over the weekend to remove the adverts.> > Thanks> > Alan> > > > -------------------------------------------------------------> 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://search.smithmicro.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://search.smithmicro.com/
Alan White
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:
Queertrons? (1997)
Fwd: 502 Bad Gateway (1998)
remote install on RH9 (2004)
Dynamic Generation of PDFs? (2003)
Table Trouble... (2005)
Error 11 (1996)
Grep all content between twp p tags (2006)
multiple record replace (2001)
idear about how to get SMSI to speak. (2006)
Protect and Serve (1999)
error message (2000)
Public beta 5 of WebCatalog 4.0 is now available (2000)
Date Sorting (1997)
WC Database Format (1997)
WebSTAR/WebCatalog losing files (2000)
Webstar 1.3.1 PPC (1997)
Multiple Users.db Possible? (1997)
command line in webDNA 5?! (2003)
State DB & TIme Zones (2003)
Rhapsody? (1997)