var show_tips = function(tip_class) { var custom_tips = $$(tip_class); custom_tips.each(function(element,index) { var content = element.get('title').split('::'); element.store('tip:title', content[0]); element.store('tip:text', content[1]);}); var tip = new Tips(custom_tips, { className: 'custom_tip'
});}