Archive for the ‘how-to’ Category

Sleek and Smooth animated menu using jQuery

Today, I'm going to show you something interesting with jQuery. Yesterday I was thinking something to post something programming related stuff  in blog after long time and I came across a website, whose menu impressed me a lot. But checking it in a while, I found it it was built using mootools.  Since it was in mootools, I thought of replicating it in jQuery. I have two example of similar menu, first using jQuery core and CSS and another uses jQuery easing plugin to give bounce effect to the same menu.And I've added one more example which I though would be nice menu to show you guys. Full story

How did I reduce CPU overhead problem caused by MySql?

From last day, We were having problem with a project which was shut down in the middle due to heavy traffic. As a technical manager, I was the person who to take charge over the project bring it down to the track. After doing few benchmark test, I came to know that the MySql access from a PHP file was creating the overhead to the CPU of the server. Full story
Tags: , ,

Model File upload overlay box using jQuery and Thickbox

Few times back, sNare asked me how do display wordpress like overlay box where you can pass the variables when you click on the link and manipulate simultaneous actions in the overlay until user choose to close it. Today, I've come up with the solution of this with model upload overlay box using thickbox, a jquery plugin. I've used the Iframe content of thickbox while displaying the box as modal box. Full story

jQuery plugin: word-counter for textarea

Sorry friends on the way of move to new home I've been lost from the blog as I didn't have internet connection for few last weeks. Now, I'm back and I try to be regular as much as I can. Inspired from the new feature of wordpress 2.6.x which displays word count of each post, I've developed jQuery plugin to display word-count of Textarea. Please note that it is word count plugin not character counter. Full story

Creating and Parsing JSON data with PHP

Yesterday, I was in a party and a guy came near to me and asked me what is JSON and how can handle it via PHP. Today, I'm going to tell you something about JSON data and how we can handle them via PHP. Although, JSON stands JavaScript Object Notation, it is used by many other technologies like PHP and Java for data interchange format over the Internet. Full story
Tags: ,
Copyright © 2014 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.