> -----Original Message-----
> From: Will Tomlinson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 24, 2007 11:18 PM
> To: CF-Talk
> Subject: JS errors/ IE7
> 
> I'm visiting a friend's site with IE7, and getting a strange JS error
> from their live chat graphic.
> 
> Don't spend much time on this.... it just kinda bugs me as to what
> would be causing it.

I'm guessing - but the error message may be correct.  At line 122 there's a
string constant with a carriage return/line break in it (right after "of"):

oncontextmenu="alert('Copying Prohibited by Law - HACKER SAFE is a Trademark
of 
ScanAlert'); return false;" /></a>

My guess is that IE isn't liking its string broken up by a cr/lf.

It looks like that code is supposed to prevent right-clicking (which is so
FREAKING ANNOYING!) but it doesn't work.  It doesn't seem to work in FF
either (although I believe FF supports the handler) so it looks like a case
of FF failing to report an error, not a case of it "working" in FF and not
in IE.

(There are actually quite a few HTML errors in the code - running it through
a validator will turn up a significant number of pretty simple fixes.) 

Jim Davis


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284495
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to