Magento remove white background color in the product images

In this post is describing how to remove white background color in product images of Magento.This is happening magento is auto resizing images in the image blocks.If you using css styles, you can remove this white color.This is generating using php.

Check this example, you can understand this better.
Magento-remove-image-white-background-color.

Continue reading Magento remove white background color in the product images

Read Excel file and save details to database using PHP

How can you read and display excel file using php and save that details to the database? You can use this simple php class to do this.That is read row by row while reading column by column.While reading like this it gets each cells details.Look at this example that is simply describes this process and you can understand this better.

Continue reading Read Excel file and save details to database using PHP

How to create popup window in JQuery

Creating popup window or pop-under window using JQuery.Pop-under window means when we go to the web sites(some web sites) and after we closing the browser window we can see some windows is open.These are named pop-under windows and the reason of named “pop-unders” they are creating under the current window.So then we can see them after closing browser.Specially these are generate some mouse event or like that.
Continue reading How to create popup window in JQuery

Best and easy way to remove line numbers from the large source code…..

When we are coping some source codes from web pages, also coping with line numbers.If we are coping large source code can you remove there line numbers manually.It is not practical and wasting your time.Here is the best and easy way to remove line number from a source code using javascript. Continue reading Best and easy way to remove line numbers from the large source code…..

Always comming comments in your wordpress blog and how to avoid comment spams?

If you have a wordpress blog/web site and it is allowing keep comments to users this is happening you.You can see at least 10 or more comments are published. If we thought these are as comments by users may be there are some spams.So how do you avoid these spam in your blog.I’ll describe how to clearly identify these comment spams and how to avoid them. Continue reading Always comming comments in your wordpress blog and how to avoid comment spams?

Java script get table cell values and get cell text boxes values

How can I get table cell values and cells text boxes values?That means getting childNodes values using java script.This is easy using core javascripts.Only using 2 for loops.First loop is going to get rows by rows.And other for loop is going each colomn/cells while running the loop of row.This is easy to understand by following simple example.
Continue reading Java script get table cell values and get cell text boxes values

Javascript get last characters from a URL or string

How can I get last two characters or specific characters from a url or given string.If you have basic knowledge of javascript substring this is easy job.

First of all, look at this example.Then you can understand this better. Continue reading Javascript get last characters from a URL or string

Display each users location in google map using address in PHP and Java Script

Display each users locations in the google map after submitting his addresses using php and java script.This is displaying using location latitude and longitude.That is marked by red bubble.You can customize map types as ROADMAP,SATELLITE,HYBRID or TERRAIN, displaying controls….etc.

Continue reading Display each users location in google map using address in PHP and Java Script

JQuery full screen background rotator/slideshow example

How to create full screen background rotator/slideshow using jquery.It is simple with using jquery supersized plugin.Only you have to pass parameters it the function and it’ll automatically rotating with images.It is not re-size when zoom in and zoom out of the browser and working with all major web browsers.Read more to view demo and download full source code.

Continue reading JQuery full screen background rotator/slideshow example

Add breadcrumbs into the wordpress thesis theme

If you want to add and display breadcrumbs navigation into the wordpress thesis theme, you can do it simply using wordpress hooks.
Look at the following function it will generate the breadcrumbs navigation.The call to it using thesis_hook_after_header wordpress thesis hook.
Continue reading Add breadcrumbs into the wordpress thesis theme

WordPress add custom text into the Thesis theme footer

How to add custom text into the thesis theme footer.We can use thesis_hook_footer hook for do this.Open the custom_functions.php in the thesis theme folder.Add the following function end of the file and save it.
File path – /wp-content/themes/thesis/custom/custom_functions.php
Continue reading WordPress add custom text into the Thesis theme footer

WordPress add custom text after site name in Thesis theme

How to add custom text or google ads after site name in wordpress thesis theme.We can use these hook for do this.Open the custom_functions.php in the thesis theme folder.Add the following function end of the file and save it.
File path – /wp-content/themes/thesis/custom/custom_functions.php
Continue reading WordPress add custom text after site name in Thesis theme

WordPress add custom text after post title in Thesis theme

How to add custom text or google ads after every post tile in wordpress thesis theme.We can use these hook for do this.Open the custom_functions.php in the thesis theme folder.Add the following function end of the file and save it.
File path – /wp-content/themes/thesis/custom/custom_functions.php
Continue reading WordPress add custom text after post title in Thesis theme

JQuery autocomplete example with database accessing

How can I create text box or drop down box using jquery autocomplete feature with database accessing.It is happening when you are pressing keys in that field.Then call to the database to get records.First you must access jquery-ui auto complete library files.

Here is a php front-end file.First include the jquery library file and jquery-ui.css,jquery-ui.min.js files.

This is the data.php file to get and send the records of the database.

If you want to change auto complete styles change add the following stylesand change that as you want.

View Demo

Download JQuery autocomplete with database accessing Example (3 KB)