function addchart(string,chart,width,type) {
if (type === "escaped") {var lt = "<"; var gt = ">"}
else {var lt = "<"; var gt = ">"}
var anchor = lt + 'a href="' + chart + '" imageanchor="1"' + gt
var chart = lt + 'img src="' + chart + '" style="width:' + width + '" /' + gt
string = string + anchor + chart + lt + '/a' + gt}
No comments:
Post a Comment