Patrick's public fiddles
-
Fabric Constain Movement with Padding
https://stackoverflow.com/questions/47870309/adding-a-bleed-area-to-canvases-with-fabricjs
-
Moving the Blue Box
See question on Stack Overflow: https://stackoverflow.com/questions/47793883/javascript-movement-api
-
Get Prev/Next Picture
Iterate through an array and find the item that matches the one before a condition
-
Slide Index vs. Picture Index
https://stackoverflow.com/questions/47588415/calculate-picture-id-for-gallery-with-ads
-
Slide Index vs. Picture Index
https://stackoverflow.com/questions/47588415/calculate-picture-id-for-gallery-with-ads
-
Rating Star
https://stackoverflow.com/questions/47467536/rating-star-widgets-how-to-checked-starts-dynamically
-
Infinite Scroll Load More Data
https://stackoverflow.com/questions/47470261/how-do-i-trigger-function-at-the-end-of-div-scrolling
-
returning function call results with or condition
No-Library (pure JS), HTML, CSS, JavaScript
-
Basic Prebid.js Example - JSFiddle
No-Library (pure JS), HTML, CSS, JavaScript
-
Error Instances
No-Library (pure JS), HTML, CSS, JavaScript
-
Properties are missing
A function takes two objects. Ich any of the properties of object A are missing in object B, the function returns true
-
Inaccurate Timeout
DOM operations make timeouts inaccurate - the timeouts are supposed to happen after 50 ms, but do, in fact, take 12-15 ms longer than that
-
big.js example
No-Library (pure JS), HTML, CSS, JavaScript
-
y2dzqbb2
No-Library (pure JS), HTML, CSS, JavaScript
-
mxz4hpyy
No-Library (pure JS), HTML, CSS, JavaScript
-
qngnau06
No-Library (pure JS), HTML, CSS, JavaScript
-
Nice Paging Steps
Bert's algorithm to get the page numbers for the pagination dropdown, ported from Java to JavaScript
-
LtqLo7Ly
No-Library (pure JS), HTML, CSS, JavaScript
-
tytzuckz
No-Library (pure JS), HTML, CSS, JavaScript
-
4zj98s3m
No-Library (pure JS), HTML, CSS, JavaScript