Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged link



« Prev 1 Next »
  1. FAV

    Confirm onclick

    Ask the user with a confirmation dialog if the link should be followed or not.
    JavaScript 4 views posted 7 years ago by gummiost
  2. FAV

    transfrom submit button to hyperlink

    Convert a form submit button code to a hyperlink code and hide the form
    JavaScript 4 views posted 8 years ago by pavlosvos
  3. FAV

    jQuery add ACTIVE class

    JavaScript 3 views posted 8 years ago by ronal
  4. FAV

    Google Analytics tracking link click and form submit to multiple trackers

    <p>usage: <br> <code>&lt;a href="" onclick="recordOutboundLink(link, category, action, opt_label, opt_value);return false;"&gt; <br> &lt;form id="uniqueID" onsubmit="trackFormSubmit(form, category, action, opt_label, opt_value);return false;"&gt;</...
    JavaScript 7 views posted 8 years ago by freezy
  5. FAV

    Enforce link attribution requirements for SEO

    uses JavaScript to check DOM for proper clean linkback to widget source
    JavaScript saved by 1 person 3 views posted 9 years ago by cartercole
  6. FAV

    Hyperlink A Div

    JavaScript 2 views posted 9 years ago by silverskymedia
  7. FAV

    Share on Facebook

    JavaScript saved by 6 people 12 views posted 9 years ago by Mosaic
  8. FAV

    Open external links in new window without target = _blank using jQuery

    JavaScript 12 views posted 10 years ago by relaxasaurus
  9. FAV

    CROSS BROWSER GETSELECTION BOOKMARKLET

    Passes variables for url and highlighted text.
    JavaScript 0 views posted 10 years ago by vagrantradio
  10. FAV

    jquery external link new window

    JavaScript 1 views posted 10 years ago by metoikos
  11. FAV

    Add mouse pointer (or cursor) to any selector in jquery (javascript)

    JavaScript 6 views posted 10 years ago by nicogranelli
  12. FAV

    jQuery Dynamically add an icon for external links

    JavaScript saved by 4 people 5 views posted 10 years ago by Mithun
  13. FAV

    Rollover image buttons to WYSIWYG editors like TinyMCE, FCKEditor, Kupu

    JavaScript saved by 5 people 5 views posted 11 years ago by miohtama
  14. FAV

    jQuery UI tab - onselect goto link

    Go to link location when tab clicked (or selected actually) using 'select' event.
    JavaScript 3 views posted 11 years ago by ardissoebrata
  15. FAV

    jQuery open external link in new window

    Two different ways to open an external link (ones that start in http) in a new window. I know this isn't a great thing to do, but some clients _need_ to have it.
    JavaScript saved by 9 people 10 views posted 11 years ago by 1man
  16. FAV

    XHTML Targetted Hyperlinks

    JavaScript 1 views posted 11 years ago by wizard04
  17. FAV

    Change Two iFrames With One Link

    This simple little snippet will allow you to change two iframes with the click of just one link.
    JavaScript saved by 2 people 1 views posted 11 years ago by aristoworks
  18. FAV

    Valid External Links

    JavaScript saved by 2 people 3 views posted 11 years ago by wesbaker
  19. FAV

    Javascript URL Redirection...

    It redirects the url with JS.
    JavaScript 1 views posted 11 years ago by skywalker
  20. FAV

    submit a form with an anchor tag (link)

    Name the form what ever you like, but make sure that is reflected in the javascript.
    JavaScript 26 views posted 11 years ago by jachin
  21. FAV

    Linking Objects & Deleting Info in Objects

    Shows you how to link 2 objects together via the object function. If a value isn't found in the object, it will look for it in the linked object.
    JavaScript 1 views posted 12 years ago by 1man
  22. FAV

    Random image with link

    The ideal use of this code would be to save the Javascript code as a .js file. Then use the HTML code at the bottom to call it wherever you want on the web page.
    JavaScript saved by 4 people 3 views posted 13 years ago by Jaymoon
« Prev 1 Next »