Re: [WebDNA] Conditional Javascript and WebDNA
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105934
interpreted = N
texte = finally I got it ...the problem was, that my first lines were:after switching the values it worked:Seems like the doctype HAS TO BE the very first line in this case.Bloody IE ...Thierry> You need to stick [raw] around the square brackets as [if] is webdna =reserved.>=20>=20>=20> TC>=20> On 12 Nov 2010, at 09:15, Thierry Almy
wrote:>=20>> Hi all>>=20>> It's been discussed here a while ago, but I'm running into a problem =with it.>>=20>> This code works nice without WebDNA.>> >>=20>> As soon as processing the page with WebDNA using the raw context, IE =wont recognize the custom stylesheet:>> [raw]>> >> [/raw]>>=20>> The code get's written correctly in the source code, but IE just =ignores it (IE 8).>> Is there a possibility to outsource the condition to the custom =stylesheet?>>=20>> Thierry>>=20>>=20>>> [raw]>>>=20>>> >>>=20>>>=20>>> [/raw]>>>=20>>> On Apr 8, 2009, at 4:47 PM, Steve Craig wrote:>>>=20>>>> Hi>>>>=20>>>> Not sure why I've never come across this before now but I have a =small problem with some java that WebDNA is trying to parse. If I put =this...>>>>=20>>>> >>>>=20>>>> ...into the head section of html then obviously webdna tries to =parse the [if and thus breaks the code.>>>>=20>>>> Is there an easy workaround?>>>>=20>>>> Cheers>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>> Steve Craig - Asylum Interactive Ltd>>>> Tel +44 1330 860550 Fax +44 1330 860880>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>> http://www.asylumweb.com>>>> Email: steve@asylumweb.com>>>> Skype: s.craig - iChat: steve.craig>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>=20>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
finally I got it ...the problem was, that my first lines were:after switching the values it worked:Seems like the doctype HAS TO BE the very first line in this case.Bloody IE ...Thierry> You need to stick [raw] around the square brackets as [if] is webdna =reserved.>=20>=20>=20> TC>=20> On 12 Nov 2010, at 09:15, Thierry Almy wrote:>=20>> Hi all>>=20>> It's been discussed here a while ago, but I'm running into a problem =with it.>>=20>> This code works nice without WebDNA.>> >>=20>> As soon as processing the page with WebDNA using the raw context, IE =wont recognize the custom stylesheet:>> [raw]>> >> [/raw]>>=20>> The code get's written correctly in the source code, but IE just =ignores it (IE 8).>> Is there a possibility to outsource the condition to the custom =stylesheet?>>=20>> Thierry>>=20>>=20>>> [raw]>>>=20>>> >>>=20>>>=20>>> [/raw]>>>=20>>> On Apr 8, 2009, at 4:47 PM, Steve Craig wrote:>>>=20>>>> Hi>>>>=20>>>> Not sure why I've never come across this before now but I have a =small problem with some java that WebDNA is trying to parse. If I put =this...>>>>=20>>>> >>>>=20>>>> ...into the head section of html then obviously webdna tries to =parse the [if and thus breaks the code.>>>>=20>>>> Is there an easy workaround?>>>>=20>>>> Cheers>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>> Steve Craig - Asylum Interactive Ltd>>>> Tel +44 1330 860550 Fax +44 1330 860880>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>> http://www.asylumweb.com>>>> Email: steve@asylumweb.com>>>> Skype: s.craig - iChat: steve.craig>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>>=20>>>>=20>>>>=20>>>>=20>>>>=20>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>=20>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Thierry Almy
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 5.0 reference documentation (2003)
Trouble with formula.db + more explanation (1997)
Price problem (1997)
[WebDNA] grep again (2010)
hidden databases (2000)
Sort Order on a page search (1997)
WCS Newbie question (1997)
Greeting Card System (2000)
waitforfile then redirect (2001)
Note added to [sendmail] in Docs (2004)
Help! WebCat2 bug (1997)
OT bookmark my site (1999)
Experience with creating real dynamic solutions?????? (1998)
Replacing a Word (1999)
Yet another frames Question (1999)
multi-paragraph fields (1997)
ShowIf variables (1997)
listfiles-looking for slick solution (1997)
append/replace and allcase=t (2000)
Error .. (2003)