Featured Post

Ext JS Messenger Sample

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="ext3/css/ext-all.css" />
<style type="text/css">
.icon-user
{
background:url(img/user.png) 0 no-repeat !important;
}
.tree-body
{
background:transparent;
}
.ico-fav
{
background:url(img/star_yellow.png) 0 no-repeat !important;
}
.ico-grp-offline
{
background:url(img/businessman2.png) 0 no-repeat !important;
}
.ico-grp-available
{
background:url(img/businessman.png) 0 no-repeat !important;
}
.ico-contact-offline
{
background:url(img/businessman2.png) 0 no-repeat !important;
}
.ico-sts-available
{
background:url(img/available.png) 0 no-repeat !important;
}
.ico-sts-away
{
background:url(img/away.png) 0 no-repeat !important;
}
.ico-sts-busy
{
background:url(img/busy.png) 0 no-repeat !important;
}
.ico-sts-offline
{
background:url(img/offline.png) 0 no-repeat !important;
}
</style>
<script type="text/javascript" src="ext3/ext-base.js"></script>
<script type="text/javascript" src="ext3/ext-all-debug.js"></script>
<script type="text/javascript">

Ext.BLANK_IMAGE_URL = 'ext3/images/default/s.gif';

Ext.onReady(function() {

var wnd = new Ext.Window({
width: 300,
height: 450,
layout:'fit',
title: 'Instant Messenger',
tbar: [{
xtype: 'buttongroup',
columns: 2,
items: [{ xtype: 'button', scale: 'large', iconCls:
'icon-user', rowspan: 2,
menu: [{ text: 'Show profile' }, { text: 'View contact
card' }, { text: 'Go to your space'}]
},
{ xtype: 'splitbutton', text: 'Jorge (available)',
menu: [{ text: 'Available', iconCls:
'ico-sts-available' },
{ text: 'Busy', iconCls: 'ico-sts-busy' },
{ text: 'Away', iconCls: 'ico-sts-away' },
{ text: 'Appear Offline',iconCls:'ico-sts-offline'
}
]
},
{ xtype: 'splitbutton', text: 'Share a quick message',
menu: [{ text: 'Show what I am listening to'}]}]
}]
});

wnd.show();
});

</script>
</head>
<body>

</body>
</html>

This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polaris.co.in

Comments

Popular posts from this blog

[Inside AdSense] Understanding your eCPM (effective cost per thousand impress...