Posts Selected From the Category "Style & Scripts"

Case Study : Upload and crop images with specific dimensions

in Jquery, PHP Code / 3 Comments

Case Study : Upload and crop images with specific dimensions Upload an image with 1500 pixels width and 1000 pixels height. But we need 1200 pixels of width and 630 pixels of height as per Facebook reference. Once user upload the image we can’t display entire image on web page. We can take ideal width

…continue reading the post “Case Study : Upload and crop images with specific dimensions”

How to get browser name and version using JavaScript

in JavaScript / 1 Comment

Hi friends, In this post I am going to explain about how to get the browser name and there version using simple JavaScript function. JavaScript Code function detectBrowser(){     var N= navigator.appName;     var UA= navigator.userAgent;     var temp;     var browserVersion= UA.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);     if(browserVersion && (temp= UA.match(/version\/([\.\d]+)/i))!= null)  

…continue reading the post “How to get browser name and version using JavaScript”

Code snippets of PHP and Javascript

in JavaScript, PHP Code / 4 Comments

Hi friends, this post explains about few code snippets used when we develop a web applications. Snippet 1 : Generate the random numbers with limits and those numbers shouldn’t be repeat using PHP PHP Code <?php $num=range(1,10);    shuffle($num);    for ($i=0; $i<10; $i++) {             echo $num[$i];    

…continue reading the post “Code snippets of PHP and Javascript”

jQuery plugin for Text to Speech

in Jquery / 14 Comments

070-341 exam Hi friends, this post explains about jquery plugin for converting text to speech. It is a simple plugin and it can be use in your web applications. 220-702This posts explains in several steps. 070-336 exam 1. Plugin Name 2. Voices 3. Usage 4. Architecture 5. Code 6. Demo 070-341 exam Plugins SpeakClient.js Voices

…continue reading the post “jQuery plugin for Text to Speech”

How to generate clean url with PHP or Javascript

in JavaScript, PHP, PHP Code, Style & Scripts / 1 Comment

Hi friends, this is very basic post but useful for many websites. Following scripts will convert text into clean url using php script and another script using javascript. This script will remove unnecessary texts from the string and generate the url. Script 1 : Clean URL using PHP code <?php         function

…continue reading the post “How to generate clean url with PHP or Javascript”

How to Build PHP application in Google App Engine

In this post i would like to explain about how to build PHP application in Google App Engine. In this PHP application used jquery mobile and CURL library to read the feeds and hosting for free using google app engine. In my previous post i have explain about steps to implement and hosting your website

…continue reading the post “How to Build PHP application in Google App Engine”

How to build virtual keyboard for your web application

Hi, In this post i am goig to explain about How to build virtual keyboard for your web application using google api. I got an request from users how to type hindi words in the web page. By using this code we can easily build the application your own language. ( Google support few languages

…continue reading the post “How to build virtual keyboard for your web application”

How to convert feeds to html using javascript and php

Hi friends, in this post i am going to explain about how to convert feeds to html using javascript and php. Just provide feed url and get the list of entries and description from the feeds. In my previous post explained about steps to implement and hosting your website in google app engine for free.I

…continue reading the post “How to convert feeds to html using javascript and php”

Multi-language support for web application with MySql and PHP

Hi friends, in this post i would like to explain about Multi-language support for web application with MySql and PHP. I got many requests from users to multi-language using google translator is fine but the grammar is not properly established. So we can avoid and easily implement using mysql and php.