Forum:Mobile compatibility

Hello, I just saw my home page with my mobile phone (Nokia 5800) and there were some display errors since the scripts weren't loaded correctly, maybe it's because it's not a new smartphone but is there a way to make a version especially for mobile phones? Or exclude templates / page parts from being displayed in mobile phones? Other suggestions for smart phones compatibility?