for(var i = 0, len = arguments.length;i < len; i++)
var e = document.getElementById(arguments[i]).style;
Once again a newbie question... My idea is to create one simple index page which has menu. On each platform you would have that same menu, but I would use jQuery Mobile and CSS @media query capabilities to detect screen size, so links in the menu would direct you on particular webpage based on platform you are using. For instance, on mobile devices, links would direct you on page2_mobile.html, page3_mobile.html etc. I think it would be much easier to maintain, what do you say, master?
From the link above, if you click the "dialog" button, that's the type of dialog I want (but not exactly). In this example you can click the background to hide the dialog. How to make background non-clickable? The dialog would close only by clicking buttons. Any help would be appreciated.