Sunday, June 25, 2006
Positive Attitude...
Father : "I want you to marry a girl of my choice"
Son : "I will choose my own bride!"
Father : "But the girl is Bill Gates's daughter."
Son : "Well, in that case...ok"
Next - Father approaches Bill Gates.
Father : "I have a husband for your daughter."
Bill Gates: "But my daughter is too young to marry!"
Father : "But this young man is a vice-president of the World Bank."
Bill Gates: "Ah, in that case...ok"
Finally Father goes to see the president of the World Bank.
Father : "I have a young man to be recommended as a vice-president."
President : "But I already have more vice- presidents than I need!"
Father : "But this young man is Bill Gates's son-in-law."
President : "Ah, in that case...ok"
This is how business is done!!
Moral: Even If you have nothing, You can get Anything. But your attitude should be positive...
Hope you all liked this one.
Wednesday, June 21, 2006
Another Wierd Windows Bug
Bush Hid The Facts
Try this:
1.) Open an empty notepad file
2.) Type "Bush hid the facts" (without the quotes)
3.) Save it as whatever you want
4.) Close it, and re-open it
Did Bush hid the facts like the hidden text??? Really Wierd
Saturday, June 17, 2006
JavaScript to Change Color of Selected Row
var gbTrow;
var callit;
callit = false;
function chgcolor(tr1)
{
trow = document.getElementById("trid"+tr1);
if (callit==false)
{
callit = true;
}
else
{
gbTrow.bgColor = "red";
}
trow.bgColor = "green";
gbTrow = trow;
return true;
}
</script>
Here's the structure of the table to test this script:
<table width=18% border=1 align="center" cellpadding=2 cellspacing=2>
<tr>
<td width="10%">radio</td>
<td width="90%">options</td>
</tr>
<tr bgcolor='red' id='trid1'>
<td><input type=radio name=rd id='rd1' value='' onClick="return
chgcolor('1');"></td>
<td>Option 1</td>
</tr>
<tr bgcolor='red' id='trid2'>
<td><input type=radio name=rd id='rd2' value='' onClick="return
chgcolor('2');"></td>
<td>Option 2</td>
</tr>
<tr bgcolor='red' id='trid3'>
<td><input type=radio name=rd id='rd3' value='' onClick="return
chgcolor('3');"></td>
<td>Option 3</td>
</tr>
</table>
Friday, June 16, 2006
Monday, June 12, 2006
WebStats Couldn't Have Been Better
To start with Google provides different set of views for Executive, Marketer and Webmaster; all supported by easy to understand graphical representation of statistics. Apart from these it shows the Marketing Optimization and Content Optimization Reports, both incorporating a large set of reports in graphical format.
The Executive view consists of the summary of conversions, marketing and content. One of the most unique feature of Google Analytics is the Site Overlay, which allows you to navigate your site while viewing traffic and conversion data for each link.
The Marketer Overview shows you your CPC conversions (another unique feature here), keyword conversions, campaign conversions, entry/exit pages and Defined Funnel Navigation (another great feature which shows, at what point do visitors who begin a defined funnel process abandon it).
Apart from these features, there are some account related featured too. You could add users to your accounts and specify access for each user. A filter manager is also available which enable you to include or exclude certain visits or clicks from your reports. You can currently add 5 website profiles to view stats. This number would be increased as Google increases its capacity.
This free version of Google Analytics is limited to 5 million pageviews a month - however, users with an active Google AdWords account are given unlimited pageview tracking. In addition, Google Analytics is completely integrated into the AdWords front-end and with your AdWords campaign, making it easy to track your AdWords ROI.
Overall, Google Analytics provide you with a whole lot of statistics which no other statistics program could offer. No doubts, it a service from Google.
Screenshots:
Wednesday, June 07, 2006
Simple Hit Counter in ASP
So, here is a script of a simple hit counter programmed in ASP:
<%
dim hits
dim filename
dim confile
dim myserver
dim filepath
dim maxhits
set hits = server.CreateObject("scripting.filesystemobject")
filepath = server.MapPath("1")
filepath = mid(filepath,1,len(filepath)-1)
filename = server.MapPath("hits.txt")
set confile = hits.OpenTextFile(filename,1,true)
if not confile.atendofstream then
myserver = confile.readline
end if
if len(myserver)=0 then myserver="0"
if cint(myserver) > cint(Application("hits")) then
Application("hits") = myserver
else
myserver = Application("hits")
end if
Application.Lock
Application("hits") = Application("hits") + 1
Application.UnLock
Response.Write "visted: " & Application("hits")
set tfile = hits.CreateTextFile(filepath+"hits.txt",true)
maxhits = Application("hits")
tfile.writeline(maxhits)
tfile.close
set tfile=nothing
%>
Thursday, June 01, 2006
Finally... Google & MS Windows in Punjabi
So, here comes the much awaited Punjabi version of Google. Click here to experience it yourself.
So now, 'Google Te Labho' with the new Punjabi interface.
If there is a Punjabi version for Google, Microsoft can't be left behind. Microsoft also released its Punjabi version for Windows XP on April 21, 2006.
Click here to download the Microsoft Punjabi Pack.