Welcome to WebmasterWorld Guest from 54.226.246.160

Forum Moderators: open

Message Too Old, No Replies

JS Error: Expected Hexadecimal Digit

     

Allen

9:53 am on Apr 30, 2003 (gmt 0)

10+ Year Member



Hi all,

I spent hour doing a lovely javascript for Actinic to get it to list subsections on the front page. Now it's broken and the client isn't happy :(

The only clue as to what is possibly wrong is the error 'Espected Hexadecial Digit' with reference to line 56, character 56.

This is line 55:
section_tree[1].pChild[3].pChild[1].sImage = "100x100\ult2001_small.gif";
The actual line 56 and line 57 occur earlier in the JS file, so I don't think it's them.

Oh, and it works perfectly in Mozilla, it's only IE that seems to have a problem.

Can anyone please point out the problem?

TIA

Allen

Allen

10:00 am on Apr 30, 2003 (gmt 0)

10+ Year Member



Gah found it.

\u is escpae code for a hex digit!

Doh!

Allen

 

Featured Threads

Hot Threads This Week

Hot Threads This Month