Board Logo

Error on page.
[email protected] - 9/7/2002 at 03:48 PM

I'm trying use HTML tags in links caption, it works but then I'm getting error on page warning.
is there a way to fix it?
in the error message sais that it's in left.htm page error, but I'm sure it's in tree.js
I'm using format like this:

var TREE_ITEMS = [
['Home', 'main.htm',
['Luxembourg', '', //this one doesnt open anything, it's just a folder
['Yummy treat', '_uimages/RumiEnjoyingATreat.jpg']

if I click on 'Yummy treat' link it open the picture, and there is no error displayed. when I roll over cursor on Luxembourg or Home it will show error on page and wont show captions in status bar. I belive it's because of <> HTML there a way to fix it?

[email protected] - 9/7/2002 at 03:49 PM

is this a forum bug? I didnt mean make all my thread as

tigra - 9/9/2002 at 06:31 AM

HTML within item captions is ok, just make sure you escape quotes correctly.

In your case ther is something wrong with format. Comment all items and uncomment them one by one to see which of them causing problems.

Use null instead of '' where there is no link for item.

Regarding the forum thing: Yes it is the bug. It looks like we have to recode everything on the net to make it more or less usable.

Back to forum: