This is really odd.  I took the exact code you had posted here,
placed it in a normal block on the left side, and it worked fine.
Maybe the problem has something to do with Geeklog incorrectly
detecting whether magic quotes are on or off?

John

-----

Message: 6
Date: Mon, 16 Jun 2003 08:33:24 -0700
Subject: Re: [geeklog-users] including javascript in blocks
Cc: Norman Cohen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Thanks, but I've found another problem. Geeklog is stripping
slashes
from the javascript code in this section:

i=0; document.write("\<a href=\"");
while( t[i] ) document.write("\&\#"+t[i++]+";");
i++; document.write("\" title=\"");
while( t[i] ) document.write("\&\#"+t[i++]+";");
i++; document.write("\"\>");
while( t[i] ) document.write("\&\#"+t[i++]+";");
i++; document.write("\<\/a\>");

When viewing the source, after loading the javascript, all the
backslashes which are escaping the special characters are being
removed. How do I go about preventing that from happening?

Norm
On Monday, June 16, 2003, at 01:13  AM,
[EMAIL PROTECTED] wrote:


Reply via email to