mixin button and code fox for media