Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Este codigo inserta un registro en una base de datos mysql utilizando PHP
0
1133
posted 15 years ago by denker
daily hits on the youtube.video helper methods in 'utility' cls only on //ads
0
982
posted 15 years ago by rowntreerob
you'll need the ack (http://betterthangrep.com/) command line application
0
722
posted 15 years ago by iloveitaly
For a discussion of .NET events best-practices, see [Roy Osherove's blog post](http://weblogs.asp.net/rosherove/articles/DefensiveEventPublishing.aspx) and [this post](http://blogs.msdn.com/ericlippert/archive/2009/04/29/events-and-races.aspx). Be su...
0
1097
posted 15 years ago by pckujawa
## Markup ##
_Using square [ ] brackets for compatibility with Snipplr comment form_
[asp:PlaceHolder ID="StuffHolder" runat="server" ]
<p>Some stuff in here</p>
[/asp:PlaceHolder]
## Code Behind ##
HtmlAttr[] attribu...
1
1434
posted 15 years ago by jasonseney
Adds a class of hasJS to the html element, can be used for CSS styling.
1
1220
posted 15 years ago by 1man
Finally got round going through a sliding door example myself. All fairly straightforward apart from a few IE6 issues (who would have guessed!).
The button is floated so you may need to add overflow: hidden to it's container.
1
1138
posted 15 years ago by 1man
Use inType=0 and feed in a specific Google Maps URL to parse out the GeoCoords from the URL
e.g. http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=53154&sll=37.0625,-95.677068&sspn=52.505328,80.507812&ie=UTF8&ll=42.858224,-88.000832&spn=0....
4
2834
posted 15 years ago by blackf0rk
This is a simple function to test for an internet connection. Originally grabbed from "devbuzz" at the devbuzz forums (see link) and now modified for VB.NET 3.5
0
1420
posted 15 years ago by blackf0rk