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
971
posted 13 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
1297
posted 13 years ago by f6design
How to make numbers update with a smooth animation with jQuery
1
806
posted 13 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
946
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
706
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
888
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
699
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
868
posted 13 years ago by Neener54