Welcome To Snipplr
Everyone's Recent Snippets Tagged link
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
929
posted 13 years ago by mentaljason
Action do form com onClick, porque o clickmap do catalyst não identifica input e não contabiliza clique
0
615
posted 14 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
1957
posted 14 years ago by brandonjp
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
997
posted 14 years ago by thefricky
This one worked for me and I thought I'd share it with the rest of you!
2
1209
posted 14 years ago by e11world
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
890
posted 14 years ago by rumremix
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath
<form>
0
938
posted 14 years ago by rumremix
A simple PHP application for counting how many views a page gets.
0
773
posted 14 years ago by FelixT
uses JavaScript to check DOM for proper clean linkback to widget source
1
736
posted 14 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
869
posted 14 years ago by rgsmith007
Put in a .vncloc to create a clickable link to a VNC host.
Opens up in Screen Sharing.app
1
823
posted 14 years ago by oskarhagberg