open inlinemenu with code