Archive: Web Development
-
Aug 19, 2011
No Comments15 useful WordPress Functions you probably don’t know
While I was building my first premium WordPress Plugin – the Avia Feedback Box – I needed to solve quite a few problems I have never encounterd when creating themes. During my research I stumbled upon several really cool wordpress functions that I want to share with you. WordPress Transient API set_transient(), get_transient(), delete_transient() This...
-
Aug 19, 2011
No CommentsCreate a multilevel Dropdown menu with CSS and improve it via jQuery
Some of you might have noticed, I have a partiality for sleek menus. As I recently had to create a multi level dropdown menu for one of my customers, I wanted to improve it with a little bit of jQuery, but couldn’t find a script that accomplished what I needed. So I decided to build...
-
Aug 16, 2011
No CommentsSending e-mail from localhost in PHP in Windows Environment
Have you ever been frustrating, why e-mail is not going from the localhost while using XAMPP or WAMP or any other PHP servers in windows environment? well in that situation i think i can help you.In this article i am going to tell you how to send e-mail from localhost in PHP. 1) Open...
-
Aug 16, 2011
No CommentsjQuery 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,...
-
Aug 16, 2011
No Commentsgenerating invoiceorders next increment id in magento
Magento has its own way of generating increment ID for new invoices and new orders after they are saved. But how about knowing them before hand, i.e before the invoice or the order is created! Lets first understand the working of those increment ID generation before jumping to the code. As all of us must...
-
Aug 16, 2011
No Commentsworking ajax json objects magento case ajax powered login functionality
Previously I have written about Working With Ajax in Magento. And after a huge response I received from that post I was compelled to write more on implementing Ajax in Magento. And this time I want to say additionally about handling JSON (JavaScript Object Notation) along with Ajax, within the Magento enviornment. JSON Objects and...
-
Jul 26, 2011
No CommentsHow to make accordion using jquery and css
Last time I’ve written an article about how to make expand-collapse toggle panel using jQuery. Now, this time I’ll show you how to make collipsible accordion using jQuery.An accordion is a toggle pane where one pane slides down the other pane slides up. View Demo HTML Code : <div id="firstpane" class="msg_list"> <p class="msg_head">News-Head-1 </p> ...
-
Jul 26, 2011
No CommentsHow to call php from ajax in every second using Jquery
Few days ago, Mike emailed me and asked me how can i call a server script( php file) from jQuery in every second.Since, there was no built-in mechanism for this in jQuery, I came up with this solution of displaying time of server using Ajax, PHP and jQuery.You can use setinterval() method avaiable in javaScript...
-
Jul 26, 2011
No Commentshow to Expand-collapse toggle panel (div) using jquery
In this post, I’ll show you how easy it is to show expandable and collapsible toggle panel using jQuery. When you click on the heading, the content gets displayed by sliding and when you again click on the heading again, it gets collapsed. View LIVE DEMO Now let’s look at the html code, <div class="msg_list">...
-
Jul 26, 2011
No CommentsDisplay different color in alternate row using jquery
Most of the tabular data are organized in such a manner that they are easy to read. And for this, most of the developers use different color to highlight the alternate row.There are various method of displaying different row in different color but here I’m going to use the most simple method using jQuery. VIEW...
-
Jul 26, 2011
No CommentsImage hover effect using jQuery
In this post, I’ll show you how to make a image hover effect using “div” in jquery.Take a look at a telebid.com if you put the mouse over the bid button it will be changed to login and afterwards it become bid button. You can click here to view the demo. Step 1: First of...
-
Jul 26, 2011
No CommentsJquery : Benefits, Examples and Free Ebook
What is jQuery? Directly taken from the website of jQuery -” jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages”.It is basically a JavaScript framework for writing huge task of JavaScript with few lines of code. What are...
-
Jul 25, 2011
No CommentsAJAX Pagination using jQuery and PHP with Animation
I have created an Ajax JQuery based pagination few months before which my users liked very much and there are thousands of downloads of that tutorial. So, I thought to create on another tutorial for pagination with some jquery effects to make stylish and attractive. Its animated loading of records using jquery animation. I hope...
-
Jul 22, 2011
No CommentsUploading large(big) files in PHP using .htaccess
I’ve seen that many of my friends are struggling with the uploads of the bigger or larger files in PHP. After looking at their struggle, i’m here to solve the problem of uploading larger or bigger files in PHP. Most of the web servers are configured such a way that a user can only upload...
-
Jul 22, 2011
No CommentsHide .php extension with url rewriting using .htaccess
Last time I’ve written an article about hiding php file extension where I’ve showed you how you can use .html or .asp extension of file instead of .php extension. But there was one flaw in that technique you have had to change the file extension explicitly but in this post I’m going to show you...
-
Jul 22, 2011
No CommentsSending e-mail from localhost in PHP in Windows Environment
Have you ever been frustrating, why e-mail is not going from the localhost while using XAMPP or WAMP or any other PHP servers in windows environment? well in that situation i think i can help you.In this article i am going to tell you how to send e-mail from localhost in PHP. 1) Open...
-
Jul 22, 2011
No CommentsChange dropdown list (options) values from database with ajax and php
I’m going to show you a example in php and ajax to change the values of the dropdown’s options without refreshing the page. The values (options) of the dropdown are fetched from the database and the certain portion of the web pages is only refreshed without need to refresh the whole page. Let’s start with...
-
Jul 22, 2011
No Comments5 useful url rewriting examples using .htaccess
If you are looking for the examples of URL rewriting then this post might be useful for you. In this post, I’ve given five useful examples of URL rewriting using .htacess. If you don’t know something about url rewriting then please check my older post about url rewriting using .htaccess. Now let’s look at...
-
Jul 22, 2011
No Comments6 free ajax chat applications using PHP
While talking about chat application, these days people hate those kind application made in PHP which need page refreshing. In this post, I’ll show you six different free Ajax chat applications which might be very useful if you’ve to use Ajax based chat application. Depending upon the requirement of your chat application, you can use...
-
Jul 22, 2011
No CommentsPopulate triple drop down list from database using Ajax and PHP
I’ve got many email from people asking for populating triple drop down list from the database without refreshing page using Ajax and PHP after posting the first article related to the ajax dropdown list using php .In this post, I’ve put three drop down of country , state and city and the drop down’s value...