Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
jQuery
Cross Browser CSS sprites (for hovers, clicks, active state change via background position change)
Creating sprite buttons often had problems with different browsers.
This is a solution to get background positions in each browser for further manipulation.
1
955
posted 12 years ago by bernhardb
Add the following to your Wordpress theme's functions.php file. The jQuery paths/URLs might need to be changed to suite your circumstances.
0
1279
posted 12 years ago by f6design
How to make numbers update with a smooth animation with jQuery
1
788
posted 12 years ago by claudiowebdesign
Change the text of the jquery cycle pager element. By default is is 1, 2, 3 etc but you can change this to text via a variable
1
931
posted 13 years ago by i-am-andy
A quick snippet that removes the 'px' when accessing a value through jquery, and converts it into an integer.
0
694
posted 13 years ago by cessnajumpin
If not have access to edit json, setting url possible is:
url: 'http://graph.facebook.com/4/?callback=getDatosUsuario'
0
872
posted 13 years ago by nicolaspar
This can be put into a utility class in your ASP.NET project and put onto the page with ScriptManager.RegisterStartupScript(). The script alters the ASP.NET __VIEWSTATE value which somehow validates requests; if you leave it out the popup wont work.
0
687
posted 13 years ago by Krummelz
This is inspired by jQuery autotabs plugin by Keywan Ghadami. I've made a few changes to allow for more versatility and to add button navigation.
0
855
posted 13 years ago by Neener54