Monday, September 7, 2009

Mom Says....

Lajj marenda andar wadeya.. Moorakh kayee mere kol darya..
Means If you are avoiding any situation a fool can say you are afraid of me.

booee te aayi jann te vinno kudi de kann..
Means Avoiding the tasks till the moment it's really not required and one has to do that in hurry

Tuesday, September 1, 2009

JS Menu Over Drop down

hi all,
this time i am back with a technical blog. I have been working with one javascript menu. Everything was going fine till we have seen a notorious issue at our screen. This was about java script menu was going below select/dropdown control. As shown in image.








I found this is happening because select control is a windowed control and it has higher z-index over simple div which were used for creating the popmenu. Later i found a simple solution to overcome this issue. Similar to select control there is another control which has a high z-index but unlike this control respect the normal html control's z-index. Hence this control allow other html control's like div to come over itself. And this special control is IFRAME. One can see once i have used that control i can have menu over the drop down.








following is the code i have used to remove the ie bug [Note : This bug is removed in IE8]
function showPopUpMenu(elemID)
{
var divPopup;
if(document.all) { divPopup = document.all(elmID); }
else if(document.getElementById) { divPopup = document.getElementById(elmID); }
var iFrame = document.createElement("IFRAME");
iFrame.setAttribute("src", ""); //Match IFrame position with divPopup iFrame.style.position="absolute"; iFrame.style.left =divPopup.offsetLeft + 'px'; iFrame.style.top =divPopup.offsetTop + 'px'; iFrame.style.width =divPopup.offsetWidth + 'px'; iFrame.style.height =divPopup.offsetHeight + 'px';
document.body.appendChild(iFrame);
divPopup.style.visibility="visible"; g_PopupIFrame = iFrame;
}
function hidePopUpMenu(elmID,mmObj)
{
var ID = .. code to get div id;
if(document.all)
document.all(ID).style.visibility="hidden";
else if(document.getElementById)
document.getElementById(ID).style.visibility="hidden";
document.body.removeChild(g_PopupIFrame); g_PopupIFrame=null;
}
Virat....

Tuesday, August 18, 2009

The Hangover

[Some people can find this content disgusting so don't read if you don't want to read something disgusting]

Okie dude and babes... here comes another topic on which i have real nice incidents to share. i guess you people also might have some exp. so you all are free to add as comments.. All the incidents i am keeping here are true..

Once few fellows started drinking tequila they had 2 liter of the drink. when they stopped drinking 1.15 liter of the drink was over. one person was vomitting and another was washing his face on washbasin. But on taking closer look you can find that the person who was washing the face actually trying to find out his organs in the vomitting as he just now had the chicken and everything was red. Hence he was tense that everything from his stomach. :) another fellow who just fell asleep was getting a kick for vomitting and he was trying to reach toilet seat by crawling as he wasn't able to walk. he was looking like a army man trying to reach to his post. another was putting his head under the water tap. later next during discussion they have figured out that few of them don't really remember what had happened that night. :)

Ok on next incident one fellow was that much drink that he went just behind to the fellow who was pissing and kept his hand just below the piss... both guys didn't had any clue what's going on. But just after 2 sec. everyone in that house was laughing out louder.

one fellow was trying to push the toilet wall as he wanted to make more space in toilet... ;)

another is like one fellow had too much of drink that after drinkin while sleeping he felt thrusty so he started searching for water on the place where water was 2 days ago just before switching the place for water. so instead of switching on the lights he was searching the water bottle by hands and during this searching he was getting people's face. making them scared. what's crawling on their face.

Virat..

Friday, August 14, 2009

Movie Review for Kaminey from Shivendra

Fimply Awefome: Dhan Te Nan! created the magic that is not easy to forgot. Great performances by lead actors.Guddu is outstanding and charlie perform well.Couple of scenes are the souvenirs i.e Guddu and Sweety conversation.Bhope Bhau and Charlie's conversation.Milestone for Shahid.Great must watch movie, but yaar maa behen k sath mat jana aur girlfriend ho to zaroor le jana aise hi "A" certificate nahi mila hai.Totally paisa vasool hai. cheers for Vishal Bharadwaj !!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Wednesday, August 12, 2009

Merc and Umbrella

My First month in mumbai is quiet wet ;). It's July of '09 and it's a rainy month here. All over u can see the rain and people say this year there is no rain.. when i walk to office i can swim through the water. but still people feel there is no good rain.. i don't know what kind of rain they want. Anyway in this month i have seen so many things happening around. One incident which occured at my office canteen.

I just walked in to the canteen and i saw it's over crowded but as like all indians i have to fight for my place in this people jungle. With swinging arms and steady steps i walked towards the counter for ordering the food. I got the slip which i have to produce on food counter to get the food. Now i have to do the struggle for get a place to sit. In first and last glimpse i understood there is no place to sit alone. So i have to share the table with some one whom i don't know. Yeppy there is a chance to sit with girl. But "wah re meri kismat" none of the girl is sitting alone. One lean guy with very normal looks sitting on one table all alone. Here is the chance dude go and sit.. or stand and eat.

I walked to that fellow. He seems to a nice guy. We started talking about random topics which not at all related to us. like diamond jewellery and some highways.. then chat mover toward some relevant topics like phones, stock market. So over all he was a nice guy and we had a nice lunch. When we walked out of canteen we saw a heavy shower. Rain was on full pace. This guy seem a bit tense how he is will go out. I ask him to share my umbrella with me which he agreed after first polite refusal. We started walking towards my office and just after 10-15 steps he moved towards on Merc and opened the door. He offered me lift in "The Merc". I was like totally shocked by that merc i refused the offer which i still regret but what to do tht time i wasn't able to understand what to say. And i told that guy i prefer walking after eating. junk, shit, bullshit... i like to sit in Merc.. why wouldn't i.. please drag me in that. Later i really laugh out louder on myself that i was offering umbrella to a fellow who owns Merc. :D:D hhahahaha what a ****** joke !...


but the truth and reality is i refused sitting in that Merc which i still regret. :(

Virat

Got my gmaing machine

After a long wait i got this wish also completed. I got PS3 80GB on 8th Aug '09. This machine is ultimate gaming machine.




This is the picture quality i got when i started the game. The first game is Killzone 2, which comes free with the console right now. It has bluray player. Wifi joysticks with force feedback ( player feels the actual shocks of the effects during the game). Rotation is also there in joystick because of motion sensors. i can surf the internet on the console. I can play Movies from USB drive and watch them on HDMI channel.

This is the pic of that beast. It generates too much heat but who cares about the heat. another pic is there of my sony bravia along with playstation.

Hope you like the images i posted. Do visit me for playing the games.


Virat...

Sunday, July 5, 2009

Image from my grandmother..

Hi all,

This is the digital copy of 100s of years old image my grand ma has. This image is quiet old and been with our family from long time by now. Just felt like sharing it with all of my frds so putting a digital copy also.

My grand ma claim that this image has some fine work of silver [the gray part] and some gold [the yellow one] but i never checked that thing. this image is on paper. Every time i see this image i feel like re-energized.

Hope you people also like this one.