Welcome To Snipplr
Everyone's Recent Snippets Tagged link
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.
0
1156
posted 11 years ago by stephcode
In wordpress, if you want to auto convert all URLs in your string into clickable hyperlinks, you can actually do it using the built-in function make_clickable().
If you need to do that outside of wordpress, you can use the same function.
Example...
2
2167
posted 11 years ago by fackz
Here's the basic principal behind spiders. (ex: <a href="http://giochiflash.123homepage.it">Giochi Flash</a> $html = file_get_contents('http://www.example.com');
6
4901
posted 12 years ago by haydin
Cross-browser roll link effect in CSS3. Works in IE 10+, Webkit (Chrome/Safari/etc), Opera, Gecko (Firefox/Seamonkey/etc). Degrades nicely for unsupported browsers.
0
1023
posted 12 years ago by bmayzure
A simple CSS3 link-color transition effect. Fades from the base color to the active/focus color and back on rollover. A nice little added effect that's pretty well cross browser. Works with Webkit (Chrome/Safari/etc), Opera, Gecko (Firefox/Seamonkey/...
1
1094
posted 12 years ago by bmayzure
Ask the user with a confirmation dialog if the link should be followed or not.
0
767
posted 12 years ago by gummiost
Snippet obtained from Stackoverflow courtesy of [Loki Astari](http://stackoverflow.com/a/130428)
0
1217
posted 12 years ago by symsec
IE6 and IE7 don't respect the 'outline' attribute for hyperlinks. This jQuery snippet removes the annoying outline in these browsers.
0
1151
posted 12 years ago by Huskie
Convert a form submit button code to a hyperlink code and hide the form
0
921
posted 13 years ago by pavlosvos
Link to the current theme / template url for use in wordpress template.
0
855
posted 13 years ago by carouselcreative
On screen:
Click here to see the pics!
On print:
Click here [link: http://www.shabada.boh] to see the pics!
0
880
posted 13 years ago by claudiowebdesign
A user may click a link on a mobile site which should open a page on the desktop site, not the mobile site. Appending the following code to the link will do that.
0
1134
posted 13 years ago by amandalaine
use <?php>/images/someimage.gif
Such a path resolves to ..
http://www.yoursite.com/wp-content/themes/YOURTHEME/images/someimage.gif
0
796
posted 13 years ago by disgruntledillon
Use Facebook's sharer to easily post status updates to Facebook. The three meta tags control the default content Facebook pulls to create the post.
0
866
posted 13 years ago by dmertl
Dieses Typoscript wrappt den More-Link und umschließt ihn mit dem <p>-Tag, sowie fügt ihm die Klasse ".news-latest-morelink" bei.
Entwickelt von <a href="http://www.maddesigns.de">Sven Wolfermann</a>.
0
1031
posted 13 years ago by kopfaction
<p>usage: <br>
<code><a href="" onclick="recordOutboundLink(link, category, action, opt_label, opt_value);return false;"> <br>
<form id="uniqueID" onsubmit="trackFormSubmit(form, category, action, opt_label, opt_value);return false;"></...
0
1283
posted 13 years ago by freezy
Returns the video id for any type of youtube url that holds one.
2
1365
posted 13 years ago by KabuqueJoe