Horizontal Expand Collapse Using jQuery

The verticle expand collapse can be achived using jQuery slideToggle(), but if you want to expand and collapse an element horizontally, you may have to write little more than just slideToggle(), because there’s no jQuery method for sliding element horizontally. Let’s find out how we can create a horizontal sliding element, that expands and collapse on button click.

MySQL INSERT Statement with PHP

MySQL INSERT statement inserts record in MySQL database table. We can execute INSERT statement using PHP to insert new records in the database table.
For this let’s  create a demo table in MySQL database, Copy following MySQL code in your PhpMyAdmin. It will create a table name demotable with 4 columns: id (Auto increment), name, email and phone number, and inserts some records for the demo.

Tags: ,

Easiest steps : Creating Template for Joomla 1.6 +

Website templates can get very complex, imagine developing a template for a news company, or an online store with hundreds of products. Your client can get very particular about the the products positioning, font size or news feed on the sidebar.  This is where Joomla comes to rescue with its robust framework, modern object-oriented design patterns. With Joomla template development skills, you will have power to present your clients with various design options, simple and clean to very complex looking websites.

Getting Paypal API username and Password

If you are wondering how to get Paypal API  username, password and signature. It’s fairly easy, just follow steps provided below with screenshots. Note: Your account must be a Premier or Business account.

Tags: ,

Creating Paypal Sandbox Account

  1. Obtain API Credentials from a Sandbox Test Account Go to https://developer.paypal.com/
  2. Login to your PayPal’s Sandbox Test environment account. (or create an account if you don’t have one.)
  3. Select Test Accounts.
  4. Click the Create Test Accounts link.
  5. Select Test Accounts.
  6. Choose Seller for the Account Type.
  7. Change the password to something you can remember and make a note of it.
    Note: The Login Email is a pseudo-randomized address, which is based on the login email address you used to create your sandbox account. Credit card and bank account numbers are also generated randomly.
  8. Click Create Accounts when you are finished modifying the account.
  9. From the Test Accounts list, select the account you created and click Enter Sandbox.
  10. Log into the account.
  11. Click My Account.
  12. Click Profile.
  13. Under Account Information, click API Access.
  14. Click Request API Credentials.
  15. Click API Signature.
  16. Click the Agree checkbox.
  17. Click Submit.
  18. Make a note or copy/paste these fields into the PayPal Shopping Cart Integration Wizard Generate Code form:
    API username
    API password
    signature
    You can always retrieve these credendials from the Sandbox Test Environment by selecting API Credentials to view the API credentials you have created for test accounts.
Tags: ,

Displaying Author Photo on Google Search

The number one search tool on the net, the Google has provided blog authors to actually show their pictures on their search engine. You might have searched some keywords and noticed pictures of blog authors’ appearing next to search results, and yes when you see picture of author, whether it’s your intuition or just curiosity, you will tend to trust that link more, rather than a link without an author snippet.

Tags: , ,