Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
JavaScript
ASP.net & MS AJAX: Enabling WebKit support (chrome, safari) in MS AJAX (fixing webkit browser detection)
Load this Javascript after the MS AJAX files have been loaded. In the example I am using jQuery to call the patchMicrosoftAjax() method, but you can use any method you desire.
0
1690
posted 15 years ago by jink
Via: [http://www.touchdesk.nl/2009/04/full-menu-tree-with-active-trail-in-drupal-6/](http://www.touchdesk.nl/2009/04/full-menu-tree-with-active-trail-in-drupal-6/)
0
981
posted 15 years ago by Ateneatech
requires Rails libraries. could be rewritten to just use core Ruby libs, but I'm too lazy right now and I use this entirely in my Rails apps.
0
1114
posted 15 years ago by mepatterson
I recently had to remove some files from a svn repo.
should work pretty much out of the box, just fill in blatantly exampleish text and read the comments
0
1018
posted 15 years ago by spreelanka
For some reason, Snipplr has decided not to HTML-encode <code><</code> and <code>></code> signs (i.e., replacing them with `<` and `>`) that a user inputs into a comment box, and instead strips anything that looks like a tag from the comm...
0
1244
posted 15 years ago by wizard04
This code appends a class of external to all all outbound links
It includes a fix for Safari which does not recognise internal links that use a different port
1
1066
posted 15 years ago by flicity