First, I would recommend starting with a sample that uses the latest version of the API: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_dynamic.htmlNext, it looks like you need a class="tundra" attribute on your body tag. Also make sure you're using the proper layer type for you map service. Is your local service tiled/cached? If it's not, you need to use ArcGISDynamicMapServiceLayer(), not ArcGISTiledMapServiceLayer().
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.