Welcome To Snipplr


Everyone's Recent Snippets Tagged js



« Prev 1 2 3 4 5 6
Augmented Reality in HTML
0 1138 posted 1 year ago by freediver
When creating a new https://codepad.co/ snippet, the default language will be set to 'JavaScript'.
0 176 posted 4 years ago by avansare
Regular Expression to find native Javascript console and AngularJS $log log warn or info that are NOT comments / commented out
1 202 posted 4 years ago by brandonjp
Nice little Face in for long text (slightly modified)
0 194 posted 5 years ago by designermedia
https://www.chrisjmendez.com/2015/01/22/js-turn-image-into-vector-art-silhouette/
0 226 posted 5 years ago by chrisaiv
With publicly available information and a little math it is possible to not only validate a given card number, but to determine the financial institution that issued the card, the type of industry the issuer belongs to, the actual account number and...
0 230 posted 5 years ago by geneticcode
#bxSlider Prevent bxSlider stop auto slides transition, when navigating through slides.
0 218 posted 6 years ago by flexyournoggin
Populating Table from Inline Json Data in Angular js
0 190 posted 6 years ago by bitsofcodec
Add / Remove comma for number in the thousands. Ex: 1,000 Useful for grabbing input values to format then display, remove the comma and convert back to number to do math.
0 436 posted 6 years ago by supawaza
This is a basic HTML5 starter template that I use when I start a new project. Scripts should go at the end.
8 865 posted 6 years ago by ginoplusio
Comingsoon Page for those who don't have time to code. HTML5 web form for email subscription. PHP backend and MySql database. Compatible across browsers
0 192 posted 7 years ago by flanker
<script></script>
0 168 posted 7 years ago by thesmu
$(document).ready(function() { // Handler for .ready() called. });
0 168 posted 7 years ago by thesmu
Include any external text file within html; HTML, CSS and Javascript all work.
0 183 posted 7 years ago by nshakin
Self updating javascript copyright date
0 127 posted 7 years ago by nshakin
# layout para un panel con scrollbars
0 150 posted 7 years ago by lecksfrawen
You can use JavaScript window.location to redirect a visitor to a required page. You may have seen this feature used by sites with full page ads, or to redirect visitors to the site's new domain name. You can add also a timer to the script that will...
2 302 posted 7 years ago by apphp-snippets
For those moments of weakness when .replace() looks like a good idea...
0 150 posted 7 years ago by inreflection7
**Simple JavaScript Quiz** Edit the main quiz array with your own questions, then publish. Since it's an entire HTML file, it's best to save this file on a server and embed it as needed using an iframe tag.
0 512 posted 7 years ago by jrue
as i understood "p" tags is requaired.
0 158 posted 8 years ago by shin
Code from https://snipt.net/geekyjohn/get-url-param/ updated so that most jslint issues are resolved, and updated the return to use a guard condition instead of a separate if statement.
1 262 posted 8 years ago by pmw57
Use this snippet in Linux shell to install RVM and set it up for use with Sprockets.
0 145 posted 8 years ago by symsec
Standard hasClass, addClass, and removeClass functions, reworked so that jsLint is happier about them, and fixed the removeClass function so that things are trimmed after removing a class name.
2 210 posted 8 years ago by pmw57
obviously one can access HTML5's data attribute super easy in jQuery
0 170 posted 8 years ago by iroybot
There are many ways to deliver a crossdomain.xml file through NodeJS or Express.js. Here is one solution
0 232 posted 8 years ago by chrisaiv
Another approach that helps saving the overhead calls of the scroll event and the subsequent code.
0 147 posted 8 years ago by Narayon
To be added to all Landing Pages and other new works
0 126 posted 8 years ago by jburcsik
Add trim method to String class
0 155 posted 8 years ago by kajinka13
extends the default varien "tabs" class to allow other links on the page to open a tab
0 143 posted 8 years ago by flintcreative
This will return the value of "param" form the URI. For example if you have www.example.com/index.html?param=some_value it will return "some_value". NOTE! This only works if you use Prototype JavaScript framework.
0 171 posted 8 years ago by srka
« Prev 1 2 3 4 5 6