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?
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
I have an unsorted list of elements with children. I wanted to make all the element stretch their height not counting on how much content is in there. There are some solutions which might be done using css, but all of them make layout too complicated and too many layers should be created to get… Continue reading jQuery: stretch elements’ heigth
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 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