Candlejack's public fiddles
-
detect ios safari and opera mini
detecting ios safari and opera mini so that we can detect support for position: fixed.
-
checking iOS version for ipad/iphone/ipod
No-Library (pure JS), HTML, CSS, JavaScript
-
messing wtih css selectors
Using > and all sorts of specific shizzle dizzle.
-
hide div according to content of span tag
for EngageSciences test
-
detecting window resize
do something in javascript when the window resizes
-
grabbing value of href from an <a> tag inside another tag
jQuery 1.8.3, HTML, CSS, JavaScript
-
claudia site
fluid web design with sticky header
-
form validation
No-Library (pure JS), HTML, CSS, JavaScript
-
checking iOS version for ipad/iphone/ipod
No-Library (pure JS), HTML, CSS, JavaScript
-
random result from array of words
jQuery 1.4.2, HTML, CSS, JavaScript
-
requestAnimFrame example
No-Library (pure JS), HTML, CSS, JavaScript
-
maths and css and jquery
trying to work out maths based on the widths of divs in css etc
-
form checkbox agreement
this form cannot be submitted until the user ticks the box of an agreements (eg. terms and conditions)
-
popup div always centred
popup div always centred - no js
-
javascript popup
create a popup div with javascript
-
tablet/mobile check
Mootools 1.4.5, HTML, CSS, JavaScript
-
how to reset a 'file' input field
for forms, resetting an input field with type 'file'
-
form validation
from martin, a suggested way of making form validation more efficient and take up fewer lines of code.
-
checking if element is visible (using css: display)
Trying to work out if I can check if something has been set to display: none or not. See http://stackoverflow.com/questions/178325/testing-if-something-is-hidden-with-jquery
-
checking if input field is empty
Mootools 1.4.5, HTML, CSS, JavaScript