User : dayseye49
|Pixel to EMs Guide||dayseye49||CSS||
em = px/base - is the formula for getting the em size. "px" is the pixel amount you're converting to ems. "base" is whatever the body font-size is. By default the body font-size is 16px but by making it 62.5%, it's making the body's font-size 10px. (It makes converting pixels to ems easier).
Ex: 12px/16px base = 0.75em or 12/10=1.2em. See more examples below...
|Ajax Request and Handler using jQuery & JSfiddle||dayseye49||jQuery||
This is how to make an Ajax request using jQuery. This code is meant to be tested in JSfiddle, however it can easily be adapted for anyone's needs.
1) Makes an AJAX request & tell it where to grab the data from. 2) If request has failed, a message will displayed. 3) If the request was successful, gets the data and then it displays the filtered data.
1) Makes an AJAX request. 2) Deals with the request & code for handling it. 3) Where to grab the data from. 4) Do you need to send back any data?
|Testing jQuery & Make it Non-Conflicting||dayseye49||jQuery||
|June 13, 2012|
|HTML5 Embed Code for SWF Files||dayseye49||HTML||
A simple code for embedding a flash SWF file to a page with custom width and height, using HTML5.
|June 13, 2012|
|Simple A-Tag Image||dayseye49||CSS||
Turn an a-tag into an image.
|June 12, 2012|
|Vertically and Horizontally Centered A-Tag Img||dayseye49||CSS||
This is an a-tag that is an image which is centered vertically and horizontally in a surrounding div. Demo: http://tinkerbin.com/dxJeWRcI
|June 11, 2012|