a1ias


Member since 07/30/2009

Name: Andrew Kharook

Location: Ukraine, Uman

14 snippets

552 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

a1ias's Recent Snippets



« Prev 1 Next »
This is a little code snippet that I use in almost every project that isn’t based on a popular CMS. Since its fairly expensive to hit the database on every page load, its a smart idea to cache the plain HTML markup of your page and serve that up. Y...
0 144 posted 5 years ago by a1ias
Check if jquery was loaded from CDN. If not, load it from own website.
0 177 posted 5 years ago by a1ias
Works with any array
0 219 posted 5 years ago by a1ias
cross-browser solution
0 180 posted 8 years ago by a1ias
0 103 posted 9 years ago by a1ias
0 116 posted 9 years ago by a1ias
Usage: Let's say we have an url: http://primera.vremenno.net?foo=yes&bar=no var hash = getUrlVars(); alert(hash['foo']); // returns 'yes' alert(hash['bar']); // returns 'no'
0 163 posted 9 years ago by a1ias
HTML should look like this: <div> <p>Lorem ipsum here</p> </div> <div> <img> </div>
0 149 posted 9 years ago by a1ias
0 113 posted 9 years ago by a1ias
Well, many of you are used to just replace the lack of min / max width / height for IE with fixed dimensions, right? But you don’t need to do it anymore. IE is not a strict standards browser and sometimes we can take advantage of this to code thing...
0 163 posted 9 years ago by a1ias
0 113 posted 9 years ago by a1ias
0 74 posted 9 years ago by a1ias
« Prev 1 Next »