Welcome To Snipplr


Everyone's Recent Snippets Tagged link



Simple, It gets the referer and if there wasn't a referer it displays just the home link, but when there is a referer it dispays both back and home, I personaly use this on my 404 page.
1 684 posted 13 years ago by mentaljason
takes a url and appends http to it if http is not present
0 606 posted 13 years ago by vonlof
0 706 posted 13 years ago by Alwaison
0 591 posted 13 years ago by r2cgroup
Action do form com onClick, porque o clickmap do catalyst não identifica input e não contabiliza clique
0 433 posted 13 years ago by mnezes
links (full <a href="#"> element) to Show Edit Destroy Delete records in view *.erb must be in the record loop:
0 963 posted 13 years ago by brandonjp
This script generates an expiring link to an Amazon S3 file
0 544 posted 13 years ago by esundahl
This will remove dotted outline from focused or active links.
0 549 posted 13 years ago by blueocto
0 622 posted 13 years ago by cougarbreath
Instead of writing the link in the HTML, just write the email address inside any tag you want (p, spam, div...) with the class "email", and put "[at]" instead "@". This script replace the "[at]" and create the link outside the spam robot sight
1 737 posted 13 years ago by thefricky
0 984 posted 13 years ago by irmantas
Easy "back to top" scroll link
1 716 posted 13 years ago by benwellby
This one worked for me and I thought I'd share it with the rest of you!
2 893 posted 13 years ago by e11world
0 498 posted 13 years ago by ichnoweb
Using the CssRegistration control is the proper way to register CSS in a SharePoint master page/layout page, but it has drawbacks. Namely, no matter what order you put them on the page the server loads them in a seemingly arbitrary order, making it...
2 660 posted 13 years ago by rumremix
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath &lt;form&gt;
0 691 posted 13 years ago by rumremix
A simple PHP application for counting how many views a page gets.
0 567 posted 13 years ago by FelixT
uses JavaScript to check DOM for proper clean linkback to widget source
1 534 posted 13 years ago by cartercole
This will automatically tag external links and prefix the URL with '/outgoing' for tracking in Google Analytics. The pageTracker is assumed to be added to the page elsewhere in the markup. By default it is applied to all links contained in the BODY t...
0 658 posted 13 years ago by rgsmith007
0 423 posted 13 years ago by silverskymedia
Link to pdf or normal link as3
1 565 posted 13 years ago by mdavidwalker
Put in a .vncloc to create a clickable link to a VNC host. Opens up in Screen Sharing.app
1 572 posted 13 years ago by oskarhagberg
1 1188 posted 13 years ago by ptejada
0 684 posted 13 years ago by metoikos
parse every anchor (<a href="#"></a>) on your page
0 624 posted 13 years ago by math89