Welcome To Snipplr


Everyone's Recent Snippets



1 ... 81 82 83 84 85 ... 554
Replaces all links within href part of anchor in a HTML-String.
1 3877 posted 12 years ago by rwunsch
Replace the code below in your templates 'media.phtml' file. This has mouseover and mouseout but can be removed it needed.
0 778 posted 12 years ago by TheJasonParker
There are a couple of steps involved to connect to an SAP web service. Really, its about the same as connecting to a regular ASMX web service, using the .ajax() function. Make sure you have a WSDL with the function and connection information. I recom...
0 1405 posted 12 years ago by mattvbiggs
Thank you marcg for posting this on Snipplr http://stackoverflow.com/questions/1379994/detect-when-a-specific-image-has-finished-loading
0 826 posted 12 years ago by focal55
// quick function to cut back on the length of content
0 711 posted 12 years ago by rliverman
Relies on "trunCate" a truncating function.
2 1140 posted 12 years ago by rliverman
0 808 posted 12 years ago by inky76
0 796 posted 12 years ago by inky76
0 771 posted 12 years ago by inky76
0 739 posted 12 years ago by inky76
Thank you Jonathan Sampson for posting this on http://stackoverflow.com/questions/2050789/php-search-a-string-for-a-email-address
0 1368 posted 12 years ago by focal55
I hate manually entering in tons of numbers and tags for numbers, so I made a loop for it.
0 913 posted 12 years ago by JonnyCraze
This piece of code will read a hex argument such as: ff or ab from your command line and stores it as a integer
0 2477 posted 12 years ago by vdevos
A crude script to query the GitHub API for a given Organisation, and backup its repositories and associated members forks.
0 1151 posted 12 years ago by slinky
Groovy Swing Recurse Components
0 922 posted 12 years ago by laurenceosx
To be added to all Landing Pages and other new works
0 730 posted 12 years ago by jburcsik
default theme perfect menu
0 712 posted 12 years ago by webtechdev
Simular submit al hacer enter y tener un boton type="button"
0 778 posted 12 years ago by rickyslow
Add the "no-js" class to your topmost html element, so you can use CSS to style JavaScript-free pages. This snippet will then replace that tag with "js", allowing you to style pages with JavaScript. The excellent [HTML5 Boilerplate](http://html5bo...
0 2301 posted 12 years ago by EvanHahn
Here's how to use this: * To access something in the local storage, type `Evan.local('name')`. You may need to use `JSON.parse()` on this result. Returns `null` if nothing's there. * To assign something in the local storage, type `Evan.local('nam...
1 770 posted 12 years ago by EvanHahn
This prepends a `#` if it's not already there. Useful when doing jQuery selectors.
0 629 posted 12 years ago by EvanHahn
`Object.create(null)` is a more memory-efficient way to make objects, but it's not supported in all versions of JavaScript, so you can do the "old-fashioned" `{}` if that function isn't available.
0 867 posted 12 years ago by EvanHahn
Just came across pure css3 soothing clouds, looks awesome, checkout!
0 858 posted 12 years ago by jimmy101
Writing an PHP array in a javascript file with json_encode.
0 1049 posted 12 years ago by Narayon
Use: <script> $(document).ready(function(){ $("#input").forceNumeric(); }); </script>
1 771 posted 12 years ago by itsmeameer
This snippet will exclude the featured image from the attached images (gallery)
0 701 posted 12 years ago by nerdsane
0 703 posted 12 years ago by errata
1 ... 81 82 83 84 85 ... 554