Welcome To Snipplr

Everyone's Recent JavaScript Snippets Tagged background

« Prev 1 Next »
Used to stretch a video / image to fill a background without skewing. Attach to resize events
0 107 posted 7 years ago by rickygri
Funció que agafa les mides de la pantalla i redimensiona proporcionalment una imatge per a que s'adapti a ella.
0 70 posted 8 years ago by hectorlorenzo
The canvas drawImage size default is 300 x 150, so it's using the CSS to resize the canvas. Example posted at http://pastebin.me/76aed7005b1b413ea3c479287f4dbd59
0 207 posted 10 years ago by Motty
I just put all the functions in here the validateConfPass function uses the key event and the two text fields to change the background color of the confPassword field when it does not equal the pass field
0 92 posted 11 years ago by jlvallelonga
paste above in HEAD tag
1 57 posted 13 years ago by clapfouine
Stop the background image flickering on IE by including this code in the header of your page. See link for more information.
2 93 posted 13 years ago by 1man
« Prev 1 Next »