June 2007 - Posts

Apple - Safari looks fascinating

I was reading Scott's blog today and found out a video in his post

http://www.hanselman.com/blog/VideoWindowsBrowserSpeedShootoutIE7Firefox2Opera9SafariForWindowsBeta3.aspx

My jaw opens wide open... wow. Safari speed is really amazing.

Posted by chuawenching with no comments
Filed under:

JavaScript - Hide status panel on mouseover asp.net button, hyperlinks, etc

My friend just asked me on last weekend on how to hide the status of Internet Explorer 7 (this doesn't happen in FireFox) when he "mouse over" on an ASP.NET button, Hyperlinks or pure html <a> links.

I had never noticed about it since then. So I did a bit of research online and tested it out. Looking at it, this link is a good one.

http://www.javascriptkit.com/script/script2/hidestatus2.shtml

The code below is extracted from the link above.

<script language="javascript">

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
</script>

Have fun :)

Posted by chuawenching with no comments
Filed under: ,

Framework/Improve Software Life Cycle in Mesiniaga

I am part of the initiatives to develop the new application framework as well as helping my team to improve the way we write software at my current team. Don;t get this wrong. There is actually no problems with writing software here, but this team is formed to make things easier + faster + so much better.

Take note, I am still new to a lot of things. That is why this is a continous process of building this and making things happen? Hope we can roll the initial release this year, and in fact integrating new features like LINQ into next gen :)

I had been looking at a lot of tools as well as technologies. This team is consists of 4 people. I am still the youngest in there :P The reason that I blogged a bit slow than before as I am learning a lot of stuff recently. I am not confidence enough to share with you my thoughts on that. 

Great stuff coming along. 

Posted by chuawenching with no comments
Filed under:

Enable JavaScript Save As "Webpage Complete"

If you do the normal way to show the SaveAs dialog box from JavaScript like below, you are limited to what you can save. “document.execCommand” is the API that you should used.

function doSaveAs(){

if (document.execCommand){

if (isReady){document.execCommand("SaveAs", true);}

}else{

alert('Feature available only in Internet Exlorer 4.0 and later.');

}

}

What if you want to go beyond that and able to save the complete website with images? You can do as below with a piece of advice, it works only in Microsoft Internet Explorer. In fact the top way doesn't work in firefox too haha!

function ShowSaveComplete() {

if (document.all) {

var OLECMDID_SAVEAS = 4;

var OLECMDEXECOPT_DONTPROMPTUSER = 2;

var OLECMDEXECOPT_PROMPTUSER = 1;

var WebBrowser = "<OBJECT ID=\"WebBrowser1\" WIDTH=0 HEIGHT=0 CLASSID=\"CLSID:8856F961-340A-11D0-A96B-00C04FD705A2\"></OBJECT>";

document.body.insertAdjacentHTML("beforeEnd", WebBrowser);

WebBrowser1.ExecWB(OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER);

WebBrowser1.outerHTML = "";

} else {

alert("This is only applicable to Internet Explorer");

}

}

Looks hardcore right J Hope you find this useful. It might not be the best way to achieve the best result.

Posted by chuawenching with 1 comment(s)
Filed under:

My new Career Success in Mesiniaga

This week had been very good weeks for me ... cool

a) If you read my earlier blog here http://community.sgdotnet.org/blogs/chuawenching/archive/2007/03/20/Got-11.33_2500_-Increment-_1320_-Is-this-a-lot_3F00_.aspx I got another one earlier today 0.081%. Not too much though... but just in 2 months time.

But I manage to hit my dream figure at age 25 :) Unbelievable… In fact I had never performed that well. In the past, I prioritize money more than passion. But in Mesiniaga, I placed passion as number 1. Same to team work.

b) Upon salary raise, my boss praised me on

"People made mistakes, but I learned from mistakes unlike others. The team I work for liked working with me. Keep up your hard work". As you know I always fight for my colleagues, in getting computers and team building sessions. I had been very supportive for Mesiniaga’s internal club too.

c) I was chosen as .NET Champion in Mesiniaga last Monday. Well I am more to .NET 2.0 and new technologies. In fact a lot of colleagues voted for me. Thanks guys, and I will work hard for it.

d) My boss encouraged me to focus on both career and community. I was kinda suprised too. No boss that I worked with last time actually told me to balance things up. Mesiniaga is really different. 

She knew that I had been over focus on work which might neglect my community. She told me that I chose the community journey and it was my responsibility to make MIND successfully. It gave me a slap at my face. I stood back and looked at my community and INETA Academics. Looks like I had not been working hard for it enough. I promised that I would not neglect my community anymore.

In fact I always say passion ... where is my passion if the things I do doesn't lead me or anyone anywhere. She also told me that when you voluntary to help in community, it portrayed that you would be committed to it and make sure it is delivered with best quality.

** I got to know that a lot of Malaysians jealous of me being a MVP. A lot of them think I do community for MVP. In fact they perceived wrongly on me. It was a dream since year 2002. I do community because of passion. Think about it, I can spend my time doing freelancing which can generates me revenue. In fact a lot of people ask me to do projects, but I turned them down.

e) This is nothing related to career success. Just my dreams … Last but not at least, I hope to work with Microsoft US one day. Hope my company Mesiniaga will recognize me in my resume. One day but not sure when haha J probably I gained more industry experiences. I am just too fresh in my technical skills. I need to improve my softskills too.

I really learned a lot and be more mature in both my technical and mentality. Thanks.

Posted by chuawenching with no comments
Filed under:

I am on PopFly now

Interesting concept. Nice ideas though. From the website's help page, it is stated that the project is under closed alpha. So I better not blog too much about it. If you manage to get an account in Popfly, it is great to give it a try yourself.  

http://www.popfly.ms

Posted by chuawenching with no comments
Filed under: