set effect on a tag