Posts

Showing posts from April, 2014

Default Sizes for Twitter Bootstrap’s Media Queries

/*==============gmkmobqur===============*/ /* Large Devices, Wide Screens */ @media only screen and (max-width : 1200px) { } /* iPad landscape · width: 1024px */ @media only screen and (max-width : 1024px ) { } /* Medium Devices, Desktops */ @media only screen and (max-width : 992px) { } /*Landscape*/ @media only screen and (max-width : 960px) { } /*  Kindel Fire HD 8.9in (800x1280)  Tablets   */ @media only screen and (max-width : 800px) { } /*  iPad (All) (768x1024) Portrait Tablets */ @media only screen and (max-width : 768px) { } /*  Google Nexus 7  603x966 | Samsung Galaxy Tab  600x1024    */ @media only screen and (max-width : 603px) { } /* iPhone 6 landscape · width: 667px */ @media only screen and (max-width : 667px ) { } /*iPhone4 and iPhone5 Galaxy S2 and S3 */ @media only screen and (max-width : 640px) { } /* iPhone 5 Landscape · 320x568px */ @media only screen and (max-width

Microsoft to bring back ‘Start Menu’ in Windows 8.1

Image
At its BUILD Developers Conference in California on Wednesday morning, Microsoft announced that it is bringing back the Start menu in a forthcoming update to Windows. When you start up Windows 8.1, it will load the desktop view (with the Start menu), instead of the live tile view. You will also have the option to add that bottom taskbar to the live tile view, so that you can always find the Start menu, no matter where you are. Though Microsoft would not say when, exactly, the Start menu will return, a portfolio of changes is coming to Windows on April 8, designed to make Windows easier to use for those operating with a mouse and keyboard. The re-addition of the Start menu is not expected to be part of that update. We know it’s coming, but not when. In general, Windows 8.1 features updates that will make it work better with a mouse and keyboard, perhaps foreshadowing an even starker overhaul with next year’s Windows 9. The Windows 8.1 update will be available on April 8 a

10 Mistakes That JavaScript Beginners Often Make

Image
JavaScript is an easy language to get started with, but to achieve mastery takes a lot of effort. Beginners often make a few well-known mistakes that come back and bite them when they least expect. To find which these mistakes are, keep reading! 1. Missing curly braces One practice, which JavaScript beginners are often guilty of, is omitting curly braces after statements like  if ,  else ,  while  and  for . Although it is allowed, you should be extra careful, because this practice can often conceal problems and be the source of bugs. See the below example: JS 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23      // This code doesn't do what the indentation implies!      if ( name   ===   undefined )           console . log ( 'Please enter a username!' ) ;           fail ( ) ;      // The following line is never reached:      success ( name ) ; } function   success ( name ) {