User : dayseye49
![]() |
Title | User | Language | Tags | Description | Date |
|---|---|---|---|---|---|---|
|
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... |
March 10 | |
|
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. |
December 7 | |
|
Ajax Request & Handler using just Javascript | dayseye49 | JavaScript | 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? |
December 7 | |
|
Testing jQuery & Make it Non-Conflicting | dayseye49 | jQuery | When you want to test to see if jQuery is working, this simple code is all you need. Plus it shows two different examples on how to write jQuery without just the $, due to issues that will conflict with other JavaScript based libraries. |
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 | |

