Re: [svg-developers] Bizare JavaScript problem

2006-01-26 Thread Richard Pearman
Hi, I've figured this out! I'd forgotten to put the priest2 element into the new file. What was confusing was that it complained about this before executing begin() and gave a line number in the error message which also implicated begin(). I suppose the message is that a JavaScript error

Re: [svg-developers] Bizare JavaScript problem

2006-01-24 Thread Andre M. Winter - Carto.net
hi richard, the line number in an error message generally is related to the begin of the script block. in external script-files line 1 is really line 1, in scripts within script-tags, your line 1 is the one after the script-tag. you need to add the number of lines your header takes. the third

[svg-developers] Bizare JavaScript problem

2006-01-23 Thread Richard Pearman
Hi, This is driving me nuts because it makes no sense. In a complicated SVG file, I have the following function: function f26p(evt) { alert('f26p') begin(evt,'f24z') hide(evt,'priest2') hide(evt,'priest3') hide(evt,'priest4') f24(evt) show(evt,'frame26') of=1