pass data and css for menu