Tuesday, March 25, 2008

Sam Anderson - WOW !

i have a very interesting fren in orkut, on visting his communities, i came to knew about this guy "Sam Anderson - The Ultimate Hero".
If he is nominated to Oscar, surly he will sweep up all the prizes,he is born actor, came to uplift Tamil cinema, innum sollikitey pogalam !

Thala nu intha community la irrukuravangala chellama kupida padure namba Sam Anderson, will one day become the Untitled king of Indian Flim industry, Chumma pesikittey irrutha pothathu, paarunga , thalai in action,




Appa sami, look at his action, i am great fan of TR, now samy u rockz dude, after along time , i laughed a lot.Cant control laughing, will continue later..,

Tuesday, March 11, 2008

Automatic Crash Recovery - Beta IE8

Automatic Crash Recovery (ACR) is a feature of Windows® Internet Explorer® 8 that can help to prevent the loss of work and productivity in the unlikely event of the browser crashing or hanging. The ACR feature takes advantage of the Loosely-Coupled Internet Explorer feature to provide new crash recovery capabilities, such as tab recovery, which will minimize interruptions to users’ browsing sessions.
Most software applications are tools that enable people to be more productive. Microsoft® Office, the world’s most popular productivity application suite, thrives on making people more productive. Part of making people more productive is helping to protect them from losing their work. Nearly everyone at some time has experienced work loss and knows the frustrations associated with losing important data.

Users already do lots of work in their browsers. Some examples of such work are:

COMPOSITIONAL WORK
Compositional work involves writing or creating new content. Composing is hard work; it can be time intensive and extremely painful to lose. Some examples are:
  • E-mail messages
  • Blog posts
  • Academic courseware (message boards, written assignments, and so on.)

CONTEXTUAL WORK
Contextual work is “soft work” that is manifested in the state of the browser. It may not be as painful to lose this type of work, but it is nevertheless frustrating when it happens. Examples include:
  • Information search and retrieval (search and navigation)
  • Shopping carts
  • Login sessions (bank, e-mail, and so on.)
  • Tab set / loaded URLs
  • Travel Log
The ACR feature will help prevent contextual and compositional work loss in the unlikely event of a crash, hang, or an accidental application closure.

ARCHITECTURE
The ACR feature takes advantage of the Loosely-Coupled Internet Explorer feature, which isolates the UI Frame from the Tab set by keeping them in separate processes, as shown in the following diagram.
Over 70% of all Internet Explorer crashes and hangs are caused by extensions, such as ActiveX® controls, Browser Helper Objects (BHOs), and Toolbars. By isolating extension code in the tab process, we can protect the integrity of the browser and limit many failures to the tab process.
The ACR feature consists of an object in the Frame that acts as a virtual flight data recorder that can back up essential data from the tab processes, including:
  • The Back->Forward history (Travel Log)
  • Tab set with URLs and ordering

Many Web sites will not need to change code in order to be recovered correctly.
However, when a tab or frame recovery occurs, Internet Explorer will renavigate the current page. AJAX sites with dynamically injected forms should use the bookmarking page state feature in Internet Explorer 8 to ensure that the correct page state is recovered. The following example shows how to do that.

AJAX Navigation for Bookmarking Page State in the Browser

In IE8 Standards Mode, Internet Explorer treats changes in window.location.hash like navigations and saves the previous document URL. The following actions occur as a result:
The previous URL, which might be from the previous hash fragment, is updated in the address bar, the back button, and other browser components.
A click sound is played just as in a traditional navigation scenario.
A new hashChanged event is raised.

Though this ACR system is the road map which is already in use with Mozilla firefox, Microsoft added up AJAX navigation for Book marking keeping the future in Mind. Now it is up to Mozilla, developer, to develop a new concept that would override IE8


CSS 3.0 - Beginning of New Era

CSS 3.0 - A magical Word
While the the W3C seem to be taking forever to implement new web standards and seem happy sitting on their butts forever without moving forward. Here are a bunch of CSS 3.0 proposals that Web Designers would go nuts over if ever they are implemented. It seems that we have to wait till 2999 to implement them, at the rate things are going in the W3C.
The Happy news is we can implement CSS 3.0 in opera 9.5 !!!!
Here is some of the Features if this CSS 3.0

Multi Columns
Currently when you create a multi columned layout i.e 2 column or 3 column layout you need to specify individual and separate DIV HTML elements to achieve the desired effect. But in CSS 3.0 you can achieve this with a single CSS declaration like this

DIV {width: 400px;column-count: 4;column-width: 100px;column-gap: 10px;column-rule: none;}

Multi-Background
I recently faced a issue in my current project that i cant keep mutilple background image for an element, this issue is been fixed in CSS 3.0 and its declatration is

background: url(/images/body-top.gif')top left no-repeat,url('/images/banner_fresco.jpg')top 11px no-repeat,url('/images/body-bottom.gif')bottom left no-repeat,url('/images/body-middle.gif')left repeat-y;

Zebra Tables
We can easily create Zebra tables without using any javascript

tr:nth-child(2n+1) /* represents every odd row of a HTML table */;
tr:nth-child(odd) /* same */tr:nth-child(2n) /* represents every even row of a HTML table */
tr:nth-child(even) /* same *//* Alternate paragraph colours in CSS */
p:nth-child(4n+1) { color: navy; }p:nth-child(4n+2) { color: green; }
p:nth-child(4n+3) { color: maroon; }p:nth-child(4n+4) { color: purple; }

Rounded Corners
we can easily put rounded corner for any HTML Box Element , declarations given below

background-color: #ccc;border-radius: 5px;border: 1px solid #000;padding: 10px

Opacity
Currently almost all browsers support their own version and syntax for opacity. Here is the CSS 3.0 Standard code for opacity

background: rgb(255, 0, 0) ;opacity: 0.2

Resize
Ability to resize a HTML Element automatically

div.resize {width: 100px;
height: 100px;
border: 1px solid;
resize: both;
overflow: auto;
}

Text Effects
Text effects like drop shadow and Text Overflow.

color: #fff;background-color: #fff;
text-shadow: 2px 2px 2px #000;
text-overflow: ellipsis-word

In the near future, CSS is may not just meant for UI Presentation , but a powerful front-end Designing programming language !!!

Minimum width for IE6 browser

A very handy CSS command that exists is the min-width command, whereby you can specify a minimum width for any element. This can be particularly useful for specifying a minimum width for a page.

Unfortunately, IE doesn't understand this command, so we'll need to come up with a new way of making this work in this browser. First, we'll insert a

under the tag, as we can't assign a minimum width to the browser
Next we create our CSS commands, so as to create a minimum width of 600px:

#container
{
min-width: 600px;
width:expression(document.body.clientWidth <> 1200? "1200px" : "auto");
}