Implement innertText in Mozilla
There is a innerText property in IE4 and upper version, but there is no
such a property in Mozilla base browser, in order to simulate this
property , using this code to overide default behavior for Mozilla base
browser:
HTMLElement.prototype.__defineSetter__("innerText", function (sText) {
this.innerHTML = sText.replace(/\&/g, "&").replace(//g, ">");
});
Wednesday, August 10, 2005 | View Comments
BREAKING NEWS: MCP Program Takes New Road in September
Changes are afoot in the Microsoft Certification Program that can be labeled as "evolutionary"; that is, changes to the certification process will be implemented over time, as newer technologies become generally available.
The first of those changes will occur among the SQL Server and Visual Team Studio products, which are planned for a major launch event in San Francisco on November 7. Certification details for those programs will be posted around September on the Microsoft Certification Program Web site, according to Al Valvano, Microsoft Learning Group Program Manager. Valvano provided details of the revamped certification program plans during a Learning Solutions Workshop at the Worldwide Partner Conference in Minneapolis over the weekend.
According to Valvano, Microsoft will follow tradition, releasing exams for SQL Server 2005 and Visual Studio Team System about 45 days after the release of the products to the general public. Those exams, however, won't fit into the traditional MCP schema that one might be familiar with. Instead, Microsoft will introduce a new framework for certification that will pair up a credential with a skill-identifying certification based on a tiered approach consisting of the following credentials:
* Tier 1: Microsoft Certified Technology Specialist will require simply passing one to three exams based on a Microsoft technology. As products meet the end of the support lifecycle, its related exam will be retired.
* Tier 2: Microsoft Certified IT Professional or Professional Developer require a Technology Specialist certification, plus one to three more exams, based on the requirement for a particular path. This tier is tied to job role at an organization, such as Database Developer or Business Intelligence. Recertification will be required to maintain status at this level.
* Tier 3: Microsoft Certified Architect is a rigorous, board-level certification that requires recertification. Achieving Technology Specialist or IT Professional or Professional Developer certification not a prerequisite to attaining this level of certification.
Microsoft is still hammering away at the details for the first two tiers, but Valvano provided a generous amount of what the group has developed thus far, via a presentation that diagrammed the new framework. It's obvious that the new program differs significantly from the current program.
How changes in the SQL Server and Visual Studio versions of the program will trickle down to the rest of the program, particularly in the MCSA and MCSE credentials, can only be a guess and Valvano didn't offer up any clues through the presentation, only showing that most of the information is 'to be decided.'
"We're prepared only to provide details on the SQL Server and Visual Studio programs," he reiterated.
Valvano explains that the "new generation" program is aimed at making it easier to identify the specific skills that an individual is capable of deploying (highlighted by the Technology Specialist) and the type of job role that individual can fulfill (IT Professional or Professional Developer). The new-gen certification will be composed of a credential and skill-identifying certification (see Figure 1). So, at the first tier in the new plan, a cert candidate might achieve several versions of Microsoft Certified Technology Specialist to highlight as many skills as possible. The skills will be listed to the right of the Technology Specialist logo.
Some time in December, Microsoft hopes to be able to offer the initial Technology Specialist titles for SQL Server 2005 and Visual Studio 2005. Other technologies, such as BizTalk Server 2006 (next in line) and Longhorn (much further away, in late 2006 or, more possibly, in 2007), will go online when those products are eventually released.
At the next tier is the Professional Series, either the IT Professional and Professional Developer. These titles will also require an extra set of one to three exams. The Microsoft Certified IT Professional is the likely title to make a comparison to the current MCSE program, but the difference is apples to oranges. The goal here is to provide a title that defines the individual's job role within an organization. Valvano provided an example for SQL Server 2005, which showed certifications for three specific job roles that a SQL Server expert might perform: Database Administrator, Database Developer, or Business Intelligence Developer. Even with the roles being distinct ones, a candidate can conceivably opt to attain all three.
Microsoft currently has plans to provide an upgrade path for current MCDBAs on SQL Server 2003 to Microsoft Certified IT Professional: Database Administrator. Valvano says the path will consist of passage of two exams
Roadmap from current credentials to new generation credentials. The path upward from MCSA and MCSE is still TBD for another year. (Click image to view larger version. Source: Microsoft Corp.)So, What Happens with My MCSE?
Candidates working toward an MCSE or MCSA title might be wondering if their current certification efforts will become useless. Will the current title retire? Should candidates drop everything and wait for Microsoft to introduce the Longhorn version of the certification under the new program framework?
"[The MCSE/MCSA/MCDBA titles] are not going away and those continue to remain valid, just like there are people who continue to certify on Windows 2000," says Valvano. He does acknowledge that there will be an upgrade path to the new certification program from the current ones (see Figure 3), but says that development on the preliminary framework hasn't even begun, as much depends on what's in Longhorn. And Longhorn is still more than a year from delivery. -- Michael Domingo, courtesy of MCPmag.com
Wednesday, August 10, 2005 | View Comments
Implement innertText in Mozilla
There is a innerText property in IE4 and upper version, but there is no such a property in Mozilla base browser, in order to simulate this property , using this code to overide default behavior for Mozilla base browser:
HTMLElement.prototype.__defineSetter__("innerText", function (sText) {
this.innerHTML = sText.replace(/\&/g, "&").replace(//g, ">");
});
Tuesday, August 09, 2005 | View Comments
Very super extreme too busy !
Too many thing to do ! How can I handle all .
Sunday, August 07, 2005 | View Comments
window.showModalDialog problem in IE
I'm recently encounter a problem when using showModalDialog in IE. I want to access to parent window, but window was opened by showModaldialog doesn't supply full features like normal window.open method . When using window.open, you have window.opener propery that references to parent window, so you can access all properties / method of parent window. In order to solve this problem, pass window.self second parameter of showModaldialog method. In pop-up dialog, access to parent by dialogArguments object. Follow codes snippet will show you how to display a Modal Window, insert a hyperlink to rich text area , work both on IE and FireFox :
- In parent page :
function insertHyperLink() {
saveRange();
if (window.showModalDialog)
showModalDialog("insert_link.htm", window.self, "status:false;dialogWidth:312px;dialogHeight:265px");
else {
window.open('insert_link.htm', window, 'width=312, height=265, toolbar=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,modal=yes');
}
}
- In child window :
function insertLink() {
var txtText = document.getElementById('txtText');
var txtUrl = document.getElementById('txtUrl');
var txtToolTip = document.getElementById('txtToolTip');
var ddlTarget = document.getElementById('ddlTarget');
var parent;
parent = (window.opener) ? window.opener : dialogArguments;
var url = '' + txtText.value + '';
parent.insertHTML(url);
}
Friday, July 29, 2005 | View Comments
Viet Nam become siliconvalley ?
HO CHI MINH CITY - The techies from Vietnam and Silicon Valley came together in pursuit of an ambitious goal: Helping their homeland become the next India of the high-tech world. Nobody is expecting Vietnam to become the world's primary software outsourcing destination anytime soon. But a fledgling software industry is taking root here, and Vietnamese from both sides of the Pacific are determined to nurture it. In pursuit of that goal, about 15 technology-industry executives, many of them Vietnamese-American, came to Ho Chi Minh City recently for a forum with their counterparts in Vietnam, many of whom are Vietnamese-Americans who moved back here to go into business. ``I'm asking you to champion our cause and build a bridge between Vietnam and Silicon Valley so that our industry can grow,'' said Thinh Nguyen, a forum organizer whose firm, Pyramid Software Development, has its headquarters in Fremont but employs nearly all of its 40 engineers in Vietnam. Organized by the Vietnamese Silicon Valley Network and the American Chamber of Commerce in Ho Chi Minh City, the forum is one of many recent indicators suggesting that Vietnam is gaining increasing attention as a potential software outsourcing destination. Ho Chi Minh City now has some 650 software companies, mostly small, that collectively employ 20,000 people. A handful do low-cost outsourcing for Citibank, IBM, Microsoft, Merrill Lynch, Lucent Technologies, the Hilton Corp. and Novellus. IDG, the U.S. technology publishing company, recently established a $100 million venture-capital fund to nurture Vietnamese tech companies. Meanwhile, Vietnam's national government has approved tax breaks for high-tech firms and mapped out ambitious goals for training software engineers. ``Things are on the move,'' said Seth Winnick, the U.S. consul-general in Ho Chi Minh City, speaking at a recent forum. ``We have a sector here that is on the verge of a takeoff.'' Daunting challenges Vietnam's software pioneers are daunted by the challenges -- a dearth of experienced managers, a mediocre education system, an improving but still inadequate infrastructure, a poorly developed legal system and a slow-moving bureaucracy. But they are buoyed by the opportunities. A flood of bright young Vietnamese are entering the workforce each year, eager to make their mark in the technology world. Among those who believe that the sector's prospects are bright is Kevin Nguyen, chief marketing officer and co-founder of Global CyberSoft, a Santa Clara-based firm with more than 400 engineers working in Ho Chi Minh City. The company's slogan: ``IT outsourcing is our passion.'' ``Customers, especially in Japan, are starting to look at Vietnam as an alternative to India and China,'' said Nguyen, whose firm has roughly doubled in size each year since its founding in 2000. ``They don't want to put all their eggs in one basket.'' Like Global CyberSoft, many of the leading software outsourcing firms with operations in Vietnam have close ties to California. Among them are Sacramento-based ATVN and Glass Egg Digital, a gaming software firm whose founder, Phil Tran, came to Vietnam from Oakland. Tran thinks China, not Vietnam, will become the next India. But he does believe that outsourcing can flourish here. ``To stay competitive, Vietnamese companies should try to be highly specialized,'' said Tran, 41, whose clients include Microsoft and Atari. ``We can compete well in the lower-volume, higher-value market segment.'' Firms that have ties to the West have an edge over those that don't. ``You must understand the customer culture,'' said Nguyen Huu Le, chairman of TMA Solutions, Vietnam's biggest software outsourcing firm. ``You need to understand their needs and their language.'' Over and over, software executives here extol Vietnamese engineers as smart, determined and loyal. Nevertheless, many American companies remain hesitant about tapping Vietnam. They feel more comfortable sending programming work to India, which has a longer track record in outsourcing. ``India is still the destination of choice,'' said Hung Truong, who works at Lucent Technologies' Sunnyvale lab. ``It was an uphill battle for me to sell Vietnam to my executives.'' Selling the idea required reassuring his colleagues that ``offshoring'' the work, as Hung prefers to call it, would not mean cutting jobs at Lucent. And he had to persuade his bosses that Vietnamese engineers were up to the job. Of course, Vietnamese professionals can be hired for a fraction of what their American or Indian counterparts earn. The engineer who commands a $100,000 salary in the U.S. earns about $60,000 in India, $30,000 in China and $20,000 in Vietnam. But most of the Vietnamese engineers require intensive training before they can do the job. Vietnam lacks the network of top-flight technology universities that has trained much of India's computer workforce. Intensive training Duytan Tran, president of Silicon Design Solutions, a Milpitas chip-design firm, put each of the 80 engineers who work at the company's Ho Chi Minh City operation through two years of intensive training. ``We had to invest a lot in training,'' Tran said. ``But we've done very well. We were pretty much profitable from Day One.'' Many of the software firms locating in Vietnam are setting up shop in technology parks such as the Ho Chi Minh City Software City, where 63 companies now employ 3,300 workers. A half-dozen new buildings are being erected at the site, including a seven-story tower that will be occupied by a Silicon Valley firm that officials would not yet name. The park is home to several software programming training centers, including the Cisco Academy, where students learn to use the company's networking software. On the outskirts of the city, a difficult commute from downtown, the park nevertheless drew Frank Schellenberg because of its low rents and generous tax incentives. Schellenberg's firm, GHP, digitalizes documents for firms in his homeland, Germany. Among other things, the 25 software designers at his firm enter sports results into computers and design sports pages for German newspapers. The time difference between Asia and Europe allows the Vietnamese workers to do the job during the day and transmit the pages in time for the next morning's paper. The newspapers save by eliminating a night shift. Schellenberg pays his page designers $150 to $200 a month -- roughly a designer's daily pay in Germany. ``It works well,'' he said. ``Everybody wants to outsource.'' Source : Siliconvalley
Thursday, July 28, 2005 | View Comments
Finally, I was on top 5 MCP Hall of Fame !
I will be on until middle of august. Vote for me. Thanks.
Note : this competition is just only for MCps who meet requirement from Microsoft. Entrants may enter the contest by fully completing and submitting the nomination form online at www.windowsitpro.com/MCPhalloffame once per month throughout the duration of the contest. And Nominee don't need to describe all true about real life, you can write , brag to attract people vote for you.
Thursday, July 28, 2005 | View Comments
Refactory my WYSIWYG html editor
I'm currently rewritting my WYSIWYG html editor that I developed last year for my V-CMS (Viet Nam Content Management System) to support more browsers (Mozilla base, fire fox. Many things must rewrite to support mozilla DOM api, since the new Mozilla Rich Text Editing API have differed from Microsoft one, these are some note when porting app from IE to Mozilla:
- Using document.getElementById('element') instead of document.all.element. You must make sure that all your elements have a "id" attribute.
- You can't use directly the focus() method for IFrame on Mozilla the same as on IE:
In IE : iframe.focus()
-
In Mozilla : document.getElementById("iframe").contentWindow.focus()
- document.designMode should be in onLoad() event of body tag rather than in script section in head tag.
- You can access document object in IE like this iframe.document, but not the same in Mozilla , you must use document.getElementById("iframename").contentWindow.document
- Use Title= attribute to supply Tooltip in both IE and Mozilla.
- The command "createlink" does not support displaying a user interface. In order to do that, you can use this code fragment :
var szURL = prompt("Enter the URL", "");
.
.
.
getDocument().execCommand('createlink',false,szURL); - When using "formatblock" for execCommand , you can't use "Preformatted", "Normal", "Heading 1", "Heading 2", "Heading 3"... in Mozilla , look at this convertion table:
Localized Version Equivalent Normal <P>
Heading 1 <H1>
Heading 2 <H2>
Heading 3 <H3>
Heading 4 <H4>
Heading 5 <H5>
Heading 6 <H6>
Paragraph <P>
- The backcolor option to execCommand behaves differently on Mozilla than on IE. Use hilitecolor in Mozilla instead of backcolor. This change take me a lot of time to figure out.
- Switching between Design and Source mode :
- From Source to Design :
- In IE :
iText = getDocument().body.innerText;
getDocument().body.innerHTML = iText; - In Mozilla :
var html = getDocument().body.ownerDocument.createRange();
html.selectNodeContents(getDocument().body);
getDocument().body.innerHTML = html.toString();
- In IE :
- From Design to Source :
- In IE :
iHTML = getDocument().body.innerHTML;
getDocument().body.innerText = iHTML; - In Mozilla :
var html = document.createTextNode(getDocument().body.innerHTML);
getDocument().body.innerHTML = "";
getDocument().body.appendChild(html);
- In IE :
- From Source to Design :
Thursday, July 28, 2005 | View Comments
Google Earth – Explore, Search and Discover
Want to know more about a specific location? Dive right in -- Google Earth combines satellite imagery, maps and the power of Google Search to put the world's geographic information at your fingertips.
*Fly from space to your neighborhood. Type in an address and zoom right in.
*Search for schools, parks, restaurants, and hotels. Get driving directions.
*Tilt and rotate the view to see 3D terrain and buildings.
*Save and share your searches and favorites. Even add your own annotations.
Head to Google earth and try yourself
Sunday, July 24, 2005 | View Comments
Windows IT Pro Announces Success of the Microsoft Certified Professional -- MCP -- Hall of Fame; First Winner is Dejan Foro of Croatia
LOVELAND, Colo. --(Business Wire)-- March 23, 2005 -- Peg Miller, associate publisher of Windows IT Pro (http://www.windowsitpro.com), a Penton Media (OTCBB:PTON) property, announced the newly launched Microsoft Certified Professional (MCP) Hall of Fame is a success after just two months of operation. The program is designed to recognize excellence in the influential community of certified Windows IT professionals, and to reward outstanding work in the IT industry.
Click Here
"We're seeing rising rates of registration as word of the program gets out," said Miller. "This program is a great way to recognize IT expertise and reward the top members of the certified professional community. The contest creates a fun and exciting challenge for participants to compare themselves to their peers in the IT industry all over the world."
There are six rounds of the contest, consisting of 30 days per round. Microsoft Certified Professionals nominate themselves or a peer for the monthly "MCP Hall of Fame" contest. In the first round, more than 143 nominations were collected. The top five entries are picked by a judging staff that includes two staff members from Windows IT Pro and two staff members from Microsoft.
The top five entries are then posted to a Web site: http://www.windowsitpro.com/mcphalloffame. Visitors to the site are invited to vote for their favorite candidate. In the first round, more than 900 votes were tallied and Dejan Foro of Croatia was voted the top Microsoft Certified Professional (MCP). The winner of each round gets his/her photo posted on the Web site; a VIP subscription to all Windows IT Pro products; and all six winners will be profiled in the September issue of Windows IT Pro. Out of those six, one grand prize winner will be awarded an expense-paid trip to Redmond for a VIP visit with Microsoft executives.
About Windows IT Pro
First published in 1995, Windows IT Pro is the editorial leader in its field and the hub of the Windows IT community. Since its inception, it has grown into an information network that includes the magazine, three print newsletters, 12 direct-request email newsletters, Web sites and in-person events such as Web seminars, roadshows, trade shows and conferences. The magazine has a paid subscription base of 105,000; more than 2 million IT professionals are reached through the Windows IT Pro network every month. The magazine is published in 13 languages and has an international reach into 160 countries.
For more information, go to www.windowsitpro.com and www.penton.com.
*************
Source: TMCNET
FORBES
C|NET
Thursday, July 21, 2005 | View Comments
I will be on Microsoft Certified Professional Hall of Fame soon !
Come back this Microsoft Certified Professional Hall of Fame later ! Big surprise !
Tuesday, July 19, 2005 | View Comments
Google 's vision : make a software that using by million users !
Take a look at http://www.google.com.vn/intl/vi/jobs/great-people-needed.html
This paragraph :
"In the future, we'd like to improve our search quality by applying machine-learning, artificial intelligence and information retrieval techniques to problems such as:
- Extraction of structured information from the web
- Information synthesis (by pulling partial information from multiple documents to fulfill an information need)
- Learning of semantic concepts and using this to improve search
- Automatic development of vertical search services
- Answering of natural language queries
- Automatic machine-translation between language pairs
Cool vision ! Wish I can join their company . I think I can do this "Extraction of structured information from the web" . How long ? How ? Sometime, no longer, but no soon, keep waiting, a software that using by million users. Wow ! What a cool vision !
Monday, July 18, 2005 | View Comments
Wrong Google Vietnamese location !

I'm very happy when google make it's search engine into Vietnamese, but their transaltion staffs make some error , take a look at screenshot, I emailed this problems, hope they will fix soon., you can check error at : http://www.google.com.vn/search?hl=vi&q=kiemtrachinhta&btnG=T%C3%ACm+ki%E1%BA%BFm+v%E1%BB%9Bi+Google&meta=
Monday, July 18, 2005 | View Comments
Wow ! Cool pc site !







What a dream Gamming System Extreme PC !
Friday, July 15, 2005 | View Comments
Incredible high quality icon xp site !
Come to CrystalXP and see yourself ... Good luck !
Friday, July 15, 2005 | View Comments
Mobile Games Competition comes back !
Cool ! This year Mobile Games 2005 competiton have many changes that make more opportunities for developers. My first impression is requirement specification had improved, now Samsung E730 is using as standard testing device :
- Heap size : 560 KB
- JAR size : 300 KB
- Sound : MMF MIDI WAV 64 poly
- Colour depth : 256K colours TFT
- Image File Format : PNG
- Max Java Canvas size : 176 x 220 pixels
- Soft Key Area : 23 pixels
- J2ME Version : CLDC 1.1 HI, MIDP 2.0
- Font Size : 8x12(S), 8x16(M), 8x18(L)
- Supported JSRs : JSR-120 WMA, JSR-135 MMAPI
- Connectivity : GPRS, Bluetooth, USB port, WAP 2.0
Monday, June 20, 2005 | View Comments
My flash art !
A little flash application, have fun
Friday, June 10, 2005 | View Comments
Color Pulse site demo version 1 online !







This is second critical project after Clearasil, just a demo version 1 ColorPulse
Friday, June 10, 2005 | View Comments
Tournet Viet Nam !
A great website on Viet Nam travel http://www.tournet-vn.com/vn/ViewTourInfo.asp?t=101
Tuesday, May 24, 2005 | View Comments




