|
i was playing around with the add-on idea. i
remember that a while back it was mentioned that things like the calculator and
calendar might/should be moved to be add-ons. so i gave it a try to move
clc to become an add-on. here are the steps i tried and then my failed
result. any help?
1. created directory under addons called
clc
2. moved clc.xml and calculate.js into that
directory
3. removed "<script src="calculate.js"></script>" from
search.htm
4. placed "<script src="calculate.js"></script>" into
clc.xml
5. reloaded toolbar and entered "2+4"
but then i got a javascript error on search.htm in
line 166 which is:
"if (mathexp(t)) return false;"
this function mathexp(t) is defined in
calculate.js. so somehow it appears that search.htm is not aware of the
function in calculate.js
what step(s) did i miss? am i going about
this all wrong?
thanks,
JB
|
- Re: [DQSD-Users] playing around with add-ons John W. Bairen, Jr.
- Re: [DQSD-Users] playing around with add-ons Glenn Carr
- Re: [DQSD-Users] playing around with add-ons John W. Bairen, Jr.
- Re: [DQSD-Users] playing around with add-... Glenn Carr
- Re: [DQSD-Users] playing around with ... John W. Bairen, Jr.
- Re: [DQSD-Users] playing around with add-ons John W. Bairen, Jr.
