Viral Patel

Creating orkut style status update div-textbox using jQuery.

Creating orkut style status update div-textbox using jQuery.
You must have seen orkut style status update box where in the details can be modified by clicking on it. Once user click the details, details gets populated inside a textbox and an update button. Once update button is clicked, the data gets updated in database.Similar status update box is available in wordpress ...

Power.com: Aggregating different social networks

Power.com: Aggregating different social networks
Power.com is a brazil based startup that is based in social networking market. It aggregates the user spaces, friends list and other updates from different social networking sites such as facebook, orkut, myspace etc.More:http://power.com
Tags:

RPC in Javascript using JSON-RPC-Java

RPC in Javascript using JSON-RPC-Java
Remote procedure call (RPC) in javascript is a great concept of creating rich web applications. First we will see some background about RPC using JavaScript Object Notation (JSON). See following quote from Wikipedia entry of JSON-RPC. JSON-RPC is a remote procedure call protocol encoded in JSON. It is a very simple protocol (and very similar to ...

Setting opacity of html element using Javascript

You must have seen the blur effect of html elements like table, div where the opacity of these elements are slowly made to transparent or opaque. This can be acheived through javascript.Internet Exlporer supports a CSS attribute called filter, wherein you can apply lot of different filter options available in browser. There are currently three categories of filters - Visual filters and Reveal/Blend Transition filters. ...

From where Google brought logo of Chrome

From where Google brought logo of Chrome
Today morning, I got this image in one of the forwarded email. Still can't stop laughing. I don't know if this image is copyrighted, still can't stop myself posting this. :D
Tags: , ,

Enable GZIP compression in tomcat

Enable GZIP compression in tomcat
What is GZIP? It is a compression format created by Jean-Loup Gailly and Mark Adler. Version 0.1 was first publicly released on October 31, 1992.GZIP is based on the DEFLATE algorithm, which is a combination of LZ77 and Huffman coding. DEFLATE was intended as a replacement for LZW and other patent-encumbered data compression algorithms which, at the time, limited the usability of compress and other popular ...
Tags: ,

Creating ZIP and JAR Files in Java

ZIP files offer a packaging mechanism, allowing multiple files to be bundled together as one. Thus, when you need to download a group of files from the web, you can package them into one ZIP file for easier transport as a single file. The bundling can include additional information like directory hierarchy, thus preserving necessary paths for an application or series of resources once unbundled.This ...

Textbox with background image using CSS

Textbox with background image using CSS
All we need in order to create an input box like this is an image of a magnifying glass and some CSS code.This input box is simply created by adding a background image to the the input tag and a left padding so that the text doesn't overlap the background image. Download following image:This is an example of the CSS:.searchBox{ background-image:url('images/magnifying-glass.gif'); background-repeat:no-repeat; padding-left:20px; }Now, ...
Tags: ,

Apostrophe creating problem in properties file in java/struts

I encountered this problem with message resource property files in Struts. The problem is:I have an entry in property file where in it takes few arguements {0}, {1} etc.some.property.key = Hello {0}, Following is your account's detail. \ Please note that your registration no. {1} \ is going to expire on {2}, kindly login into your \ account {3} and update it.Now when I put the value for the ...

Multiple message resource property file in Struts

Recently I came up with a requirement where in we have to display messages from multiple bundle resource (message resource) property files in Struts using <bean:message>. Following are the steps for the same:Make an entry of message resource file name in struts-config.xml file.Once this is done, the message resource file can be accessed by using the key (in this case we have ...
Page 27 of 28« First...1020...2425262728