Developer's manual

Potential javascript conflicts

The menu script is incredibly well encapsulated, and uses only two permanent global variables - "um" and "umTree", and two global functions - "umIni" and "umNav". The chances of conflict are very low, in fact I'm only aware of two potential issues:

Mac/IE5 and window.onload

Internet Explorer 5 for Mac doesn't support the way the script initializes, using a DOM element as a trigger reference. So for this browser (or if the trigger element can't be found), the script will fall-back on a regular window.onload handler.

But it's as sensitive as it can be to whether your page already contains this handler, as it uses a closure around any existing onload functions before adding its own, thereby ensuring that all such handlers will be honoured.

In practise this means that if you're using window.onload, and you want both it and the menus to work correctly, then your event-handler must come before the udm-dom.js script include. If it comes after, the menu will not initialise for this browser or failsafe situation. You can always use a <body onload> handler safely, since it will inevitably be before the menu script.

<li> event-handling attributes

If you add custom event-handlers to the menu list-items they will probably not work, because the script already uses most of the common events as expando properties of those items. Add your event-handlers to links instead, or use the UDM API.


UDM4 mentions at TweetObserver

Android Depok coba di sini gan http://t.co/Crdz7kOp RT @officiallyjun: @depokdroid min minta link game HD dongs..for samsung wonder :))
22 hours ago     

Marlene Boatwright Watch live tv on ps3. Software Downloads.: Online TV Live lets you watch 3645+ free Internet TV, on demand video... http://t.co/lNuJ1rAz
1 day ago     

Robert P Reibold Autocad drawing studio. Software Downloads.: AutoCAD to PDF Converter is a batch converter that allows you to co... http://t.co/emqHDpA2
2 days ago     

Tony N FYI... Software testing vga Software Downloads http://t.co/Fh28NO40
2 days ago     

Jeraldine Nadler Robot email sound Software Downloads http://t.co/bTRvdf7s @EmailResponder
3 days ago     

NFL Football News #NFL Powered By PhpBB Nfl Football Radio usage on homepages: Powered By PhpBB Nfl Football Radio is related to: ... http://t.co/SsK2G9wt
3 days ago     

KwikTIK Powered By PhpBB Nfl Football Radio usage on homepages: Powered By PhpBB Nfl Football Radio is related to: ... C... http://t.co/NuFNf7TQ
3 days ago     

Nfl Seat Powered By PhpBB Nfl Football Radio usage on homepages: Powered By PhpBB Nfl Football Radio is related to: ... C... http://t.co/maZHNTA9
3 days ago     

Search

Software Updates

UDM4 is used at:

We would like your feedback! Take the UDM4 Survey!

UDM 4 is valid XHTML, and in our judgement, meets the criteria for WAI Triple-A conformance.

-