asp.net mvc 5.1 - mvc 5 browse icon missing on window phone 8 -
i created blank mvc 5 app - changed nothing. after publishing everthy works fine - except no "navigation icon" on wp8 device. (small font) full navigation bar on wp7 device. icon on galaxy tab.
but on wp8 device (tested mobile desktop setting in ie) nothing. if switch landscape see "about" , "contact" links not "register / login". when turn portrait - "about" , "contact" visible till refresh page. gone again.
the device tested lumia 1020 wp8 (8.0.10517.150) german (768 x 1280). got screenshots results:
as can see - no "menu box" on right. checked lumia 920 (wp8) - same results.
i found working solution. after finding link http://timkadlec.com/2013/01/windows-phone-8-and-device-width/ checked other (there linked)article @ http://mattstow.com/responsive-design-in-ie10-on-windows-phone-8.html
adding (found @ "update: january 15 2013) script
(function() { if ("-ms-user-select" in document.documentelement.style && navigator.useragent.match(/iemobile\/10\.0/)) { var msviewportstyle = document.createelement("style"); msviewportstyle.appendchild( document.createtextnode("@-ms-viewport{width:auto!important}") ); document.getelementsbytagname("head")[0].appendchild(msviewportstyle); }
})();
fixed problem me.
Comments
Post a Comment