Welcome to WebmasterWorld Guest from 54.196.214.35

Forum Moderators: open

Message Too Old, No Replies

JS Error: Expected Hexadecimal Digit

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

Junior Member

10+ Year Member

joined:Jan 14, 2002
posts:118
votes: 0


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

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

Junior Member

10+ Year Member

joined:Jan 14, 2002
posts:118
votes: 0


Gah found it.

\u is escpae code for a hex digit!

Doh!

Allen