Welcome To Snipplr


Everyone's Recent Snippets



1 ... 426 427 428 429 430 ... 554
closes opened tags in text piece. original code slightly modified to supress PHP warnings NOTE: need to fix the order of closing tags to get standards compliance
0 1013 posted 16 years ago by kossmoss
Great little snippit to add a <tr> to the bottom of a table. Note the use of the context in the jQuery e.g var n = $('tr:last td', this).length; Will have to use this in the future, very good to know!
4 2059 posted 16 years ago by 1man
Returns last word of a string (words separated by blanks). if string does not have any blanks, it will return the whole string.
1 1146 posted 16 years ago by fischkopp
1 980 posted 16 years ago by wdso
2 898 posted 16 years ago by spark9
Will return a string that has any matched URLs wrapped in `<a>` tags. Example: `"This is a link to http://foobar.com . Please visit !"` Becomes: `"This is a link to <a href='http://foobar.com'>http://foobar.com</a> . Please visit!"` Note: Op...
2 5170 posted 16 years ago by jasonseney
0 1049 posted 16 years ago by cbetta
Lets you get YouTube video scene images by video id or youtube video url using only javascript OR jQuery.
5 2268 posted 16 years ago by Uzbekjon
include this snippet in your sites to force InternetExplorer 8 to display your site like InternetExplorer 7 In summary, IE7 compatibility support looks as follows: IE=7 Display in IE7 Standards mode; Already supported in the IE8 Beta 1 relea...
3 1535 posted 16 years ago by tobaco
4 1095 posted 16 years ago by iTony
Here is a small function [[lobo235](http://www.netlobo.com/javascript_tooltips.html "Javascript Tool-tips")] wrote that will parse the window.location.href value and return the value for the parameter you specify. It does this using javascript's buil...
1 2866 posted 16 years ago by nelsnelson
0 918 posted 16 years ago by lucastex
0 659 posted 16 years ago by remilauber
This works with the standard video player component in Flash CS3. Throw this actionscript in the first frame. Name your video player "videoPlayer" within Flash. Then in the HTML markup object tag: param name=FlashVars value="url=PathToVideo.flv...
0 906 posted 16 years ago by relaxasaurus
0 888 posted 16 years ago by lucastex
Super simple output of browser version. Redundantly outputs the same info using both asp and javascript.
0 1089 posted 16 years ago by squaretone
A quick and easy function that will output table column names and loop through your SQL recordset results outputting it into a HTML table.
2 1472 posted 16 years ago by neal_grosskopf
0 912 posted 16 years ago by lucastex
1 ... 426 427 428 429 430 ... 554