dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi
background image

Posted by germana - 19 May 2007

pic
 germana
mobiForge Newbie
Posts: 1
Joined: 6 years ago
[offline]

Hi!! I have a Web aplication that implement a Menu, this menu it's displaying using javascript... but now i find out my menu doesnt work in mobile devices..... is it about javascript???? there's a way to make work this menu in mobile devices???? what about wmlscript??? Thanks!!!

Posted by roland 6 years ago

pic
 roland
Mobile Guru
Posts: 74
Joined: 7 years ago
[offline]

Scripting on mobile devices is hard.
Lots of devices and XHTML (MP|Basic)/1.0 has no scripting support.
WMLScript and XHTML is also not possible.

If you have no content adaption software with an user-agent recognition [1] (there are also commercial solutions available, as example the company I'm working for) there are two solutions:
a) use a non scripting menu solution ;-)
b) use simple scripting and follow the W3C Mobile Best Practices [2]

Hope this helps,
Roland

[1] http://pc.dev.mobi/forum/29
[2] http://www.w3.org/TR/mobileOK-basic10-tests/#test_objects_or_script

Posted by ruadhan 5 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 722
Joined: 7 years ago
[online]

We also have a dev.mobi article which covers AJAX and javascript for mobile. You can read it here.

Ruadhan O'Donoghue
Editor, mobiForge