I tried to place Skype button on some site and found that image has specific margin. It seemed a little strange for me, as soon as my code is the following: Then I looked into the file skypeCheck.js and found the following interesting code: this.assetMargin = (this.assetSize >= this.assetMarginMinimum) ? this.assetSize : this.assetMarginMinimum; Skype, really?!… Continue reading Skype buttons size – WTF?
jQuery Mobile: dynamically add ajax data
I was looking for a method to add data to jQuery Mobile page by simultanious AJAX requests. The problem was that after adding, css was not applied to the html code. So, the solution was found and here is the code: <input type=”search” name=”search” id=”search” data-mini=”true” /> <ul id=”list” data-role=”listview” data-inset=”true” data-add-back-btn=”true” data-split-icon=”check”> </ul> and… Continue reading jQuery Mobile: dynamically add ajax data
JetBrains PHPStorm and WebStorm review
First time I tried to write something in PHP was more than 5 years ago. And since that time I was looking for a better solution how to make my work easier and spend less time on code writing. I started with Vim and every time I tried something different, I returned to Vim for… Continue reading JetBrains PHPStorm and WebStorm review
jQueryUI autocomplete and progress indicator
jQueryUI autocomplete doesn’t provide native method how to show progress indicator, while your suggestion list is generated. I managed it to do in the following way: 1. I got a suitable progress indicator from http://www.ajaxload.info/ and placed it to /img/ 2. define input field for using in autocomplete method 3. create style for displaying progress… Continue reading jQueryUI autocomplete and progress indicator