Graphicmaniacs - graphicmaniacs.com - Graphic Maniacs

Latest News:

Get a JavaScript call stack 14 May 2013 | 05:52 pm

Things can get really complicated with JavaScript development, and some may need to find out a call stack (or, to find a call trace) of current function/line. It’s actually pretty each with a good mod...

Button text vertical align and focus outline in Firefox 23 Jan 2013 | 07:44 pm

You may see that bug on some buttons having the text displayed too low on a or other s. The fix is very simple, all you need to do is clear padding with a -moz pseudo selector input::-moz-focus-inner ...

Disable particular element styling by jQuery Mobile 11 Jan 2013 | 04:12 pm

Do you like jQuery Mobile, but want to use your own professional UI? It’s easy to disable styling for particular element just like this: The data-role="none" will do the trick for you!

Excel and UTF-8 CSV export 23 Nov 2012 | 12:53 pm

So you probably exported your lovely database, perfectly stored in UTF-8 encoding, and then you open the csv in Excel, and see a bunch of crazy-looking characters where ä, Õ and é should be? Well, her...

Load jQuery from a CDN and have a fallback to own host 20 Nov 2012 | 08:29 pm

Just sharing the idea of loading jQuery (or any other library) from CDN, with a fallback to own hosting: Also, you can drop the type attribute when you are developing with HTML5 doctype.

PHP strtotime cheatsheet 18 Aug 2012 | 06:44 pm

I think there just has to be a cheatsheet for the magic time-saving PHP strtotime function. First to know – strtotime uses the current timezone settings, so maybe before manipulating with dates and ti...

Configuring Sendmail to send with GMail in XAMPP 22 Jul 2012 | 06:58 pm

To use your GMail account as a sending service on your XAMPP, use these settings: set smtp_ssl to tls, port to 587, and server to smtp.gmail.com. Overally it will look like this:

UnZIP a file using PHP and ZipArchive 18 Jul 2012 | 02:51 am

I won’t say much – this really helps when there’s no adequate hosting panel: You will probably need to chown the folder after you unzip (unzipping may result in making apache the owner of the extract...

PHP_ffmpeg.dll for VC9 and VC6 compilers 17 Jul 2012 | 10:31 pm

Just in case anyone is looking for php_ffmpeg.dll for Windows installation of FFMpeg compiled in VC9 instead of VC6 – here it is. Free download as always (both VC6 and VC9 version included): Download...

Get document width and height, cross-browser 12 Jul 2012 | 08:58 pm

Thanks to James Padolsey, who we all know well, here is a cross-browser method of getting a document width and height. I decided to save it here for future use:

Recently parsed news:

Recent searches: