Web development

Some useful links I try to save here to help me with web development and hopefully other developers out there!

Tuesday, September 22, 2015

Get your easings animations right.

Link here.
Posted by Unknown at 7:47 AM No comments:
Email ThisBlogThis!Share to XShare to Facebook
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Contributors

Unknown
View my complete profile

Internet Defense League

Member of The Internet Defense League

Quick tips

It's faster to use .length rather than .size() in jquery as .size() function return .length of the element itself.
Selectors
In css, browsers read the selectors from the right to left. And, as a rule, try to not to use selectors that are type selectors like li, p etc.
z-index will only work on an element whose position property has been explicitly set to absolute, fixed, or relative.
In a function declaration in javascript, the function stands on its own and does not need to be assigned to anything.
eg-
function multiple(a, b) { return a * b; } // Note, no semi colan is needed
IE Hack
When creating a good, solid markup, at times when IE does not seem to play nicely, try applying the css property { zoom : 1; } and see if this fixes the issue. 90% of the times it fixes the display problems in IE. This css only works for IE.

Total Pageviews

Site Archive

  • ▼  2015 (2)
    • ▼  September (1)
      • Get your easings animations right.
    • ►  July (1)
  • ►  2014 (13)
    • ►  December (2)
    • ►  August (2)
    • ►  July (1)
    • ►  March (5)
    • ►  February (2)
    • ►  January (1)
  • ►  2013 (80)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (7)
    • ►  June (10)
    • ►  May (12)
    • ►  April (8)
    • ►  March (12)
    • ►  February (11)
    • ►  January (14)
  • ►  2012 (119)
    • ►  December (15)
    • ►  November (9)
    • ►  October (17)
    • ►  September (13)
    • ►  August (11)
    • ►  July (8)
    • ►  June (16)
    • ►  May (9)
    • ►  April (21)

Popular Posts

  • A fun piano using jquery !
    Link here .
  • A checklist of What all to check before starting user testing
    Link here .
  • Make lasers using css
    Link here .
  • Create tooltip type of toolbars!
    Link here .
  • Awesome charting javascript library
    Link here . This javascript library helps to create cool charts like pie charts, bar graphs, data tables etc. The coolest thing is that th...
  • Change url without reloading the page !
    Link here . Yes, it's possible now in all the browsers to change the url of a page with html5 using javascript without using hash-hack...
  • Charts on mobile anyone?
    Link here . If you're looking for simple bar-pie-plot graphs for mobile, take a look at it. Comment if you find anything better. I...
  • Get all files in a single response! ( quickConcat )
    Link here . This is a dynamic concatenator written in php for all the html, css and javascript files with just a single call and a single...
  • Making fitvids, media-element.js or sublime flexible using a little bit of css
    Link here .
  • Saving and accessing javascript values in json even after a page refresh !
    Link here . Yes, now it's possible to access small json key-values in javascript even after a page is refreshed using Lawnchair api. ...