Pages

Monday, July 9, 2012

Inner Beauty


Looks cannot make a person beautiful
your heart must be beautiful to make you a beautiful person.
Passion chooses outer beauty! Compassion chooses inner beauty! Passion is the work of Mind. Compassion is that of Heart! Passion arises out of negative nothingness and compassion arises out of positive nothingness. Passion is short lived, but the compassion stays longer. A persons outer beauty simply refers to how the person looks. This can include their hair, their face, and maybe even their clothing. Outer beauty refers to the persons outer shell. When talking about inner beauty, this is what makes a person who they really are. This includes kindness, empathy, sympathy, compassion and love, just to name a few. Remember that anyone can change their looks to look however they choose, but inner beauty must come from within.


Tuesday, June 12, 2012

Miss you



It seems like so long
I miss that fighting
I miss that scoldings
I miss that console
Distance never makes any difference
But i wanna you beside me always
Want your shoulder to cry
Want your chest to lie
Want your smile to make me happy

It seems like a decade
Iam feeling cold
I wanna hug you now
Come back soon
Because there is nothing to
Substitute you in my life
Come soon
Feel like became alone
Come soon
I miss you....

Friday, May 11, 2012

Javascript Clock

Javascript
<script type="text/javascript">
function my_clock() {
input = document.getElementById('input');
d = new Date();
h = d.getHours();
m = d.getMinutes();
s = d.getSeconds();
if(h<10){
h = "0"+h;
}
if(m<10){
m = "0"+m;
}
if(s<10){
s = "0"+s;
}
time = (h + ":" + m + ":" + s)
input.value = time;
setTimeout("my_clock()", 1000);
}
</script>
HTML
Function called in the onload event of body, so whenever page loaded clock will be running.
<body onload="my_clock()">
<input type="text" disabled="disabled" id="input" />
</body>

Tuesday, May 8, 2012

'Satyamev Jayate' The real Reality

As we all know this is the decade of Reality shows. But here Aamir Khan and his crews proved that reality shows are not only a part of entertainment but it is also a focus to the real life. The show started with the shocking lives of the mothers who struggled in life only because of the reason they gave birth to a Girl Child. While hearing their talk the first thing we have to think that, this is happening in a country which is richest by its Culture!. have to think about it!
However when all other actors and actresses becoming the celebrities in the entertaining reality shows and biggest extravaganza IPL, one has switched this light. Special congrats to the crews!

Wednesday, March 21, 2012

CSS drop down menu

Everyone is trying Javascript only to create a drop down menu. But here iam showing
a simplest way to create a drop down menu by simple CSS.
HTML

<ul id="drop">
<li><a href="#">Graphic</a>
<ul>
<a href="#"><li>Photoshop</li></a>
<a href="#"><li>Illustrator</li></a>
<a href="#"><li>Indesign</li></a>
<a href="#"><li>CorelDraw</li></a>
<a href="#"><li>Paintshop</li></a>
<a href="#"><li>Pagemaker</li></a>
<a href="#"><li>QuarkXpress</li></a>
</ul>
</li>
<li><a href="#">Web</a>
<ul>
<a href="#"><li>HTML</li></a>
<a href="#"><li>DHTML</li></a>
<a href="#"><li>CSS</li></a>
<a href="#"><li>Javascript</li></a>
<a href="#"><li>PHP</li></a>
<a href="#"><li>AJAX</li></a>
<a href="#"><li>Jquery</li></a>
</ul>
</li>
<li><a href="#">Vsual</a>
<ul>
<a href="#"><li>Avid</li></a>
<a href="#"><li>Premier</li></a>
<a href="#"><li>AfterEffects</li></a>
<a href="#"><li>Combustion</li></a>
</ul>
</li>
<li><a href="#">2d & 3d</a>
<ul>
<a href="#"><li>Toon Boom</li></a>
<a href="#"><li>Flash</li></a>
<a href="#"><li>3d Max</li></a>
<a href="#"><li>Maya</li></a>
</ul>
</li>
</ul>

In above HTML code we created all menu items.
The CSS for drop down menu is following:
CSS

/* all font in the body set */
body {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
/* main menu styles starts */
#drop {
list-style: none;
padding: 0;
margin: 0;
}
#drop li {
font-size: 13px;
font-weight: bold;
float:left;
margin-right: 1px;
}
/* background of all link is set to gradient
text shadow also applied */
#drop li a {
display: block;
width: 100px;
text-align: center;
border: 1px solid #2E619E;
background: #2991DE;
background: -webkit-gradient(linear, lfet top, left bottom, from(#A1C7FF), to(#2991DE));
background: -webkit-linear-gradient(top, #A1C7FF, #2991DE);
background: -moz-linear-gradient(top, #A1C7FF, #2991DE);
background: -webkit-linear-gradient(top, #A1C7FF, #2991DE);
background: -ms-linear-gradient(top, #A1C7FF, #2991DE);
padding: 5px 8px;
text-decoration: none;
color: #FFF;
text-shadow: 1px 1px 1px #000;
}
#drop li a:hover {
background: #2991DE;
}
/* main menu styles ends */
/* drop menu styles starts */
/* in first css i hided the drop menu using: left: -9999px;
till mouse over the main menu it is not necessary in page*/
#drop ul {
position: absolute;
left: -9999px;
list-style: none;
padding-left: 0;
}
#drop ul li {
position: relative;
left:0;
font-size: 11px;
float: none;
}
#drop ul a {
display: block;
width: 100px;
text-align: left;
border: 1px solid #8C9CAF;
border-top:0;
background: #AEB8C4;
background: -webkit-gradient(linear, lfet top, left bottom, from(#FFF), to(#AEB8C4));
background: -webkit-linear-gradient(top, #FFF, #AEB8C4);
background: -moz-linear-gradient(top, #FFF, #AEB8C4);
background: -webkit-linear-gradient(top, #FFF, #AEB8C4);
background: -ms-linear-gradient(top, #FFF, #AEB8C4);
padding: 5px 8px;
text-decoration: none;
color: #000;
text-shadow: none;
}
#drop ul a:hover {
background: #C7CCD1;
}
/* drop menu styles ends */
/* the important css to drop down
here i made the drop menu in position again*/
#drop li:hover ul {
position: relative;
left:0;
}

In preceding CSS note that drop down menu (second 'ul') has been
hided using the 'absolute position'(this way seems
better than 'hidden' value of 'visibility'property).
At last it coming in posion when mouse over the main menu.

hope it is helpfull to u :)

Tuesday, March 20, 2012

I love my INDIA



Sarfaroshi kii tamannaa ab hamaare dil mein hai
Dekhnaa hai zor kitnaa baazu-e-qaatil mein hai

Ek se karataa nahin kyon dusaraa kuchh baat-cheet
Dekhtaa hun main jise woh chup teri mehfil mein hai

Aye shaheed-e-mulk-o-millat main tere oopar nisaar
Ab teri himmat ka charchaa gair kii mehfil mein hai

Sarfaroshi kii tamannaa ab hamaare dil mein hai
Dekhnaa hai zor kitnaa baazu-e-qaatil mein hai

Waqt aane de bataa denge tujhe aye aasamaan
Hum abhii se kyaa bataayen kyaa hamaare dil mein hai

Kheench kar laayee hai sab ko qatl hone ki ummeed
Aashiqon ka aaj jamaghat koonch-e-qaatil mein hai

Sarfaroshi ki tamanna ab hamaare dil mein hai
Dekhnaa hai zor kitnaa baazu-e-qaatil mein hai

Hai liye hathiyaar dushman taak mein baithaa udhar
Aur hum taiyyaar hain seena liye apnaa idhar

Khoon se khelenge holi gar vatan muskhil mein hai
Sarfaroshi ki tamannaa ab hamaare dil mein hai

Haath jin mein ho junoon katate nahin talvaar se
Sar jo uth jaate hain vo jhukate nahin lalakaar se

Aur bhadakegaa jo sholaa-saa hamaare dil mein hai
Sarfaroshi ki tamannaa ab hamaare dil mein hai

Hum to nikale hii the ghar se baandhakar sar pe kafan
Jaan hatheli par liye lo barh chale hain ye qadam

Zindagi to apnii mehamaan maut ki mehfil mein hai
Sarfaroshi ki tamannaa ab hamaare dil mein hai

Yuun khadaa maqtal mein qaatil kah rahaa hai baar-baar
Kya tamannaa-e-shahaadat bhi kisee ke dil mein hai

Dil mein tuufaanon ki toli aur nason mein inqilaab
Hosh dushman ke udaa denge hamein roko na aaj

Duur rah paaye jo hamse dam kahaan manzil mein hai
Sarfaroshi kii tamannaa ab hamaare dil mein hai

Jism bhi kya jism hai jisamein na ho khoon-e-junoon
Kya wo toofaan se lade jo kashti-e-saahil mein hai

Chup khade hain aaj saare bhai mere khaamosh hain
Na karo to kuchh kaho mazhab mera mushkil mein hai

Sarfaroshi ki tamannaa ab hamaare dil mein hai
Dekhanaa hai zor kitnaa baaju-e-qaatil mein hai

-Shaheed Ramprasad Bismil




English Translation

The desire for sacrifice is now in our hearts
We shall now see what strength there is in the boughs of the enemy.

O country, Why does no other speaks?
Whoever I see, is gathered quiet in your party...

O martyr of country, of nation, I submit myself to thee
For yet even the unacquainted speaks of thy courage

The desire for struggle is in our hearts
We shall now see what strength there is in the boughs of the enemies.

When the time comes, we shall show thee, O heaven
For why should we tell thee now, what lurks in our hearts?

We are pulled to service, by the hope of martyrdom
The gathering of the lovers for martyrdom is in the house of the enemy

The desire for struggle is in our hearts
We shall now see what strength there is in the boughs of the enemies.

Armed does the enemy sit, ready to attack on that side
Ready too are we, our bosoms thrust out to him on this side

With blood we shall play Holi, if our nation is in need
The desire for struggle is in our hearts

No sword can sever hands that have the heat of battle within,
No threat can bow heads that have risen so

Even furthermore will rise the flame that is inside us
and the desire for struggle is in our hearts

We set out from our homes, our heads shrouded with cloth(our body bag),
Holding our lives in our hands, do we march so

In our assembly of death, life is now but a guest
The desire for struggle is in our hearts

Stands the enemy in the gallows thus, asking,
Does anyone has a wish for martyrdom?

With a host of storms in our heart, and with revolution in our breath,
We shall knock the enemy cold, and no one shall stop us

What guts does our destination has, to stay away from us
The desire for struggle is in our hearts

What good is a body that does not have passionate blood,
How can a boat tied to shore contest with storms over wild seas

The desire for struggle is in our hearts,
We shall now see what strength there is in the boughs of the enemies.

How she loves me



The Way She gets Puzzled Up
& Low when She Sees me Cry,

The Way She Wants me;
to Hold Her Hand In front of everyone,

The Way when even She is Upset;
She Says: "I Love you Too..♥",

The Way She Sweetly Cross;
Every Level of Immaturity for me,

The Way She Holds me;
When I Hug Her,

The Way She Forgets Her Worries & Says:
"What happened?, Tell Me Something, I'm here for you",

The Way She gets Angry at me;
& in a Split Second She is Convinced by my Smiling Sorry,

The Way She gets Jealous;
When Some Girl Tries to Come Near me,

The Way She Dies to Meet me;
& Every time Says: "can’t meet now, Evn if you Say",

The Way She forgets Every Mistake of mine;
just to be with Me & the Best,

The Way Tears Come Rollin in Her Eyes;
the Time She Heard the Word "Break Up" from me,

She is my Angel forever..♥ :)