vagrantradio


Member since 06/19/2009

Name: Jason

vagrantradio

Location: Grand Rapids, MI

Website: http://www.paradox-labs.com

Front end developer. Cubicle Jockey. CssNinjaRockstarPirateViking.

77 snippets

2 profile views

View their favorites

Profile

All time reputation: 399

Achievement

first submission:submitting first snipplet

vagrantradio's Recent Snippets



« Prev 1 2 3
  1. FAV

    jQuery Masked Input - Unmask Function

    Removes anything that isn't a digit from input on complete.
    jQuery 1 views posted 7 years ago vagrantradio
  2. FAV

    JavaScript Date Formatting

    JavaScript 2 views posted 8 years ago vagrantradio
  3. FAV

    HTML5 Form Validation w/ jQuery Fallbacks

    Couple of ways to check if HTML5 form elements exist and use a fallback if they don't.
    jQuery 6 views posted 8 years ago vagrantradio
  4. FAV

    jQuery Redirect

    If you want to simulate someone clicking on a link, use location.href. If you want to simulate an HTTP redirect, use location.replace.
    jQuery 2 views posted 8 years ago vagrantradio
  5. FAV

    GPS Location Error Function

    JavaScript 0 views posted 8 years ago vagrantradio
  6. FAV

    iPad Splash Screen Function

    Determines if splash screen is iPad or iPhone.
    JavaScript 2 views posted 8 years ago vagrantradio
  7. FAV

    Hide Mobile URL Bar On Load

    Hide the url bar on page load in webkit mobile browsers.
    jQuery 3 views posted 8 years ago vagrantradio
  8. FAV

    Mobile Browser Meta and Javascript

    HTML saved by 1 person 1 views posted 8 years ago vagrantradio
  9. FAV

    Clean Up WordPress 3.0+ Head

    Clean up the crap in wp_head(). Put it in yo functions file.
    PHP saved by 1 person 4 views posted 8 years ago vagrantradio
  10. FAV

    jQuery videoGallery plugin for use with JW Player

    This is a plugin for creating a dynamic video gallery. Call videos by rel tag, including title.
    jQuery 1 views posted 8 years ago vagrantradio
  11. FAV

    HTML5 CSS Reset Uncompressed

    Removed depreciated elements, added Firefox button dotted line removal and fixed a few other styling issues. Compressed version in the link above.
    CSS saved by 1 person 9 views posted 9 years ago vagrantradio
  12. FAV

    Create bit.ly url

    PHP 0 views posted 9 years ago vagrantradio
  13. FAV

    Load Contact Form 7 only when needed

    Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
    PHP 2 views posted 9 years ago vagrantradio
  14. FAV

    WordPress Related Posts w/ Thumbs

    Posts with thumbs by category
    PHP saved by 2 people 3 views posted 9 years ago vagrantradio
  15. FAV

    WordPress Easy Theme Style Switcher

    Easiest way to switch theme styles for WordPress demos.
    PHP saved by 1 person 3 views posted 9 years ago vagrantradio
  16. FAV

    Add version to WordPress theme CSS file.

    Very useful line of code that I'm using very often to prevent old and cached CSS file being served to visitors. You just need to use timestamp of the file.
    PHP 1 views posted 9 years ago vagrantradio
  17. FAV

    WordPress Post Thumbs Fallback

    If post thumbnail doesn't exist, then get the first uploaded image. Change sizes as needed.
    PHP 1 views posted 9 years ago vagrantradio
  18. FAV

    jQuery Disappearing Back-to-Top Link

    Courtesy Brian Cray.
    jQuery saved by 4 people 1 views posted 9 years ago vagrantradio
  19. FAV

    Base HTML5 Template

    HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.
    HTML saved by 12 people 48 views posted 9 years ago vagrantradio
  20. FAV

    Basic PHP Date and Time Functions

    Self Explanatory
    PHP 3 views posted 9 years ago vagrantradio
  21. FAV

    List items in directory

    Prints out the contents of a directory.
    PHP 0 views posted 9 years ago vagrantradio
  22. FAV

    htaccess Maintenance Redirect with IP and folder omission

    Redirects to specified page ignoring specified ip address and folders.
    Perl 3 views posted 9 years ago vagrantradio
  23. FAV

    CSS Media Queries

    CSS 2 views posted 9 years ago vagrantradio
  24. FAV

    WordPress Exclude Category Slugs

    Exclude category slugs, only shows parent cats.
    PHP 0 views posted 9 years ago vagrantradio
  25. FAV

    Remove WordPress Default Widgets

    Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
    PHP 0 views posted 9 years ago vagrantradio
  26. FAV

    Remove WordPress Dashboard Widgets

    Dump it in your functions file and stare at the amazing blank page when you log in!
    PHP 2 views posted 9 years ago vagrantradio
  27. FAV

    Load WordPress content externally

    Loads WordPress header for external functions like get_option();
    PHP 1 views posted 9 years ago vagrantradio
  28. FAV

    HTML5 CSS Reset Compressed

    Reworked CSS reset I use in projects. *Updated, added input type font inheritance and removal of firefox button outline, removed depreciated items; center, font, applet, big, s, u, tt, strike, menu & acronym. Uncompressed version in the link above.
    CSS saved by 3 people 13 views posted 9 years ago vagrantradio
  29. FAV

    HTML5 Test Attribute Support

    Generic function to test whether and element supports a particular element in HTML5.
    HTML 2 views posted 9 years ago vagrantradio
  30. FAV

    Show/Hide Content Based On User Role in WordPress

    Customize as needed using user roles.
    PHP 4 views posted 9 years ago vagrantradio
« Prev 1 2 3