Friday, May 27, 2005

Security Pipeline | Review: Netscape 8 Is Better Firefox Than Firefox

Security Pipeline | Review: Netscape 8 Is Better Firefox Than Firefox

It's very interested. Some like it; Others dislike it.

I am very curious about the IE engine embedded.
As you heard, IE7 is a tabbed browser in the near future, but at this point, each tab in Netscape 8 is an IE. So what happen Netscape 8 with IE7 engine? Can it be doule-layer tabs?

Tuesday, May 24, 2005

Looking JS function which convert BR tag to DIV tag.

I am looking a JS function can convert BR tags to DIV tags.

For example :

LINE One<BR>
Line Two<BR>


Then convert to

<DIV>LINE One</DIV>
<DIV>Line Two</DIV>

Monday, May 23, 2005

How to associate IE favorite shortcut key?

Browser shortcut key is convenient for your most visit sites.
In FireFox, I have set up "yahoo" for http://mail.yahoo.com.

I try to find the similar feature in the IE. In the favorite property
dialog, I find Shortcut Key in the Web Document tab. But, it say "None"
and I can't change it at all. What's wrong in here? How do I set it up?

Tuesday, May 17, 2005

AOL browser

When I start AOL browser, I notice three more service running in window
task manager.
One AOLHostMonager.exe, two AOLServiceHost.exe. They takes some space,
and only one AOLServiceHost.exe goes away when AOL browser is closed. I
really don't like it.

Messaging Pipeline | AOL Launches Web-Based AIM Mail Beta Today

Messaging Pipeline | AOL Launches Web-Based AIM Mail Beta Today

Another comment about AIM e-mail :
1, The interface is modern and neat, except the annoying banner ads. Well, the ad is how AIM to make money. I suggestion text ad.
2, AIM mail has Interesting spell checking interface. Easy for user to locate typo, but not accessible definitely. Well, like this kind rich text interface, ADA compilance is always sacrifice.

Monday, May 16, 2005

IE and getElementById

See the following code. Guess which node id is "foo".
Firefox will tell you "INPUT", but IE "FORM".


<SCRIPT language="javascript">
function checkFoo() {
var fooNode = document.getElementById("foo");
alert(fooNode.tagName);
}
</SCRIPT>
<FORM name="foo">
Name : <INPUT type="text" id="foo">
<INPUT TYPE="button" onClick="checkFoo()" value="Get Foo Node">
</FORM>

Thursday, May 12, 2005

AOL offers free email | The Register

AOL offers free email | The Register

I just played around it. The big banner is very annoying.
Don't see any big innovation in the interface. The pull down menu is not big deal.
There are a lot of javascript errors.

The HTML editor looks like from HTMLArea.

Ground Hog

Two days ago outside my window, I saw a ground hog cross street and
hidden under a tree near by road. I saw that ground hog yesterday, but
not today. The local traffic is so busy, I hope she move to safe territory.

IE can't set innerHTML for TBODY

In the following HTML, IE gives me "Unknown runtime error" at node.inner=fooBody.



<TABLE border="1">
<THEAD>
<TR><TH>Col 1</TH><TH>Col 2</TH><TR>
</THEAD>
<TBODY id="fooTbody">
</TBODY>
</TABLE>

<SCRIPT language="JavaScript">
var fooBody = "<TR><TD>Cell 1</TD><TD>Cell 2</TD></TR>";
var node = document.getElementById("fooTbody");
node.innerHTML = fooBody;
</SCRIPT>

Wednesday, May 11, 2005

Thunderbird disappointed.

I just installed thunderbird, then imported mail from NS 7.2.
I could see some folders and mails.
Unfortunately, when I opened it again, I only saw few folders, no mail.
I uninstalled it and reinstalled it again, but I just couldn't see the
import tool again.

I searched web. There were few sites telling people how to configure
profile manually.
It just got me crazy. Back to NS 7.2 again. Sigh! Well, At least, I
still can receive Netscape web mail.

Monday, May 09, 2005

Opera table problem when multiple THEAD

Opera doesn't seem to render table row in order when multiple THEADs.

See table sample :





Head one
Body one
Head two
Body two



HTML Code sample :
<TABLE border="1">
<THEAD><TH>Head one</TH></THEAD>
<TBODY><TD>Body one</TD></TBODY>
<THEAD><TH>Head two</TH></THEAD>
<TBODY><TD>Body two</TD></TBODY>
</TABLE>

How to know current style?

How to know current style?

<script language="JavaScript" type="text/javascript">
function checkStyle(node) {
if (document.all) {
alert(node.currentStyle.fontStyle);
} else if (window.getComputedStyle) {
alert(window.getComputedStyle(node,null).getPropertyValue("font-style"));
}
}
</script>

<em onclick="checkStyle(this)">This is italic. Try to click me.</em>

Wednesday, May 04, 2005

How to control HTML tag style?

I can use javascript to control BODY style like

document.body.style.fontFamily = fooFont;
document.body.style.fontSize = fooSize;

How about for HTML tag?
You may question me what's for and what's the point since all html tags
are inside BODY?

I am working on HTML editor.
In Firefox, I turn on designMode inside IFRAME. I click a brand new
document, then Firefox tells me I am clicking HTML tag, not BODY tag.