Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 291 292 293 294 295 ... 553
3 3045 posted 15 years ago by ax4413
The AJAX Libraries API is a content distribution network and loading architecture for the most popular, open source JavaScript libraries.
1 1400 posted 15 years ago by jonkemp
The Location object is part of a Window object and is accessed through the window.location property. It contains the complete URL of a given Window object, or, if none is specified, of the current Window object.
0 1215 posted 15 years ago by jonkemp
Returns the number of published posts in the given category.
0 1586 posted 15 years ago by mihael
Although $(document).ready is incredibly useful, it occurs during page render while objects are still downloading. You can reduce CPU utilization during the page load by binding your jQuery functions to the $(window).load event, which occurs after al...
2 1236 posted 15 years ago by jonkemp
Use chaining in jQuery to reduce the code size and gain better performance.
0 1214 posted 15 years ago by jonkemp
This function returns the slug fot the given post...
0 1627 posted 15 years ago by mihael
This snippet just updates your tables which infected "<script> </script>" code blocks. You must update all columns one by one.
2 1786 posted 15 years ago by emregulcan
You can convert a string to hex or vice-versa with this methods. Example for real world; You want set / get some data from URL, but if your data has some special chars (like ^$ %) it'll be problem... In this case, you can use this methods and conve...
2 2997 posted 15 years ago by emregulcan
Get the FireQuery (http://firequery.binaryage.com/) extension for firefox and then use this snippet to auto set prices for the merchandise tab.
0 1124 posted 15 years ago by chetmac
This is a simple way to scroll to the top of the page, when an anchor tag has been clicked. Note that we must "return false," in order to disable the default browser action.
1 2220 posted 15 years ago by Nettuts
Reference for WordPress conditional tags with code example.
1 1122 posted 15 years ago by jonkemp
0 1120 posted 15 years ago by MikeyLikesIt
1 1494 posted 15 years ago by electblake
0 3433 posted 15 years ago by m-pokrovskii
This took me a while to create so thought I would share. Can be used with <a href="http://www.textfixer.com/resources/country-dropdowns.php">HTML dropdown lists</a>.
1 2479 posted 15 years ago by gilbitron
0 3415 posted 15 years ago by ChrisCantley
1 1974 posted 15 years ago by pauloiam
0 1068 posted 15 years ago by freude-code
0 910 posted 15 years ago by MartinJanda
Hey, I just thought I would share something I made that I tested in IE6, IE8, Firefox 3.6, and Chrome 4. It allows you to resize a client-side image map based on the size of the image, so when your image resizes, your map still works how you want...
0 1423 posted 15 years ago by xtknight
1 2083 posted 15 years ago by ptejada
Создание процедуры с переменным числом параметров и обработка этих параметров
0 1068 posted 15 years ago by makeev
1 ... 291 292 293 294 295 ... 553