Tuesday, April 18, 2006

Live Journal

In the front page of LiveJournal, I see "journals and communities created since 1999". They must be the ancestor of blogs. I don't see good index and listing in the front page, so I am wondering how do they get their post public.

There is an interesting statistics. I guess teen like web.

Age Distribution

The following shows the age distribution of LiveJournal users:

1318111
1486152
15208933
16343292
17402602
18415630
19407798
20374305
21306239
22241646
23196216
24154057
25128022
26100316
2774239
2859702
2949253
3040438
3134715
3227681
3324569
3421020
3520230
3618281
3714073
3811175
3910222
408597
417747
426677
435884
445474
455978
465314
474245
483569
493335
503312
512978
522508
532240
541882
551959

Monday, April 17, 2006

FIELDSET/TABLE Padding

Another headache about FIELDSET. I have two FIELDSETs side by side ( left and right).
The left side is for Work Address and right side is for Home Address. They are almost same except Organization and Position in Work Address.

I try to make there two FIELDSETs in the same height with style sheet height:30em, but Firefox gets more space in the bottom.

Finally, I find that IE will have margin on the top/bottom of each INPUT text field. So far, I have no luck to remove the extra margin on the top/bottom of text field.

Tuesday, April 04, 2006

CLC-4-TTS and Fire Vox

I am looking a screen reader for Firefox itself for a while. Few days ago, I heard Fire Vox from Frank Hecker.

I tried to install it few times, but still no luck. I hope a copy of Fire Vox hosted in mozilla extension.

Monday, April 03, 2006

Safari contentEditable

Interested move -- Safari is going to use contentEditable behavior to do textfield. It's definite to benefit css. My immediate question : does this apply to textarea, too? And, is this really compatible since people were talking about range issue in the contentEditable?

Actually, my major concern is when scrollbar will be always displayed correctly in the textarea.
Right now, if textarea is small, the up/down arrow won't display.

Safari always claim great feature. When I examine it, it's kind of crippled.

Thursday, March 30, 2006

Eye on rival YouTube, Atom overhauls video site

Just Check AtomFiles web site. They don't have the major feature, random select films in the front page, like YouTube. Sometimes, I just want to browser it, but not any particular topics.

Wednesday, March 29, 2006

Suggestion to Google toolbar

So far, I can't a spell check extension for Firefox in windows. The spell check Google toolbar may be helpful. But, I think, it can be more helpful if the spell check function is the context menu. Some of my web forms are on the pop up window.

Monday, March 27, 2006

Wednesday, March 08, 2006

Flash and Flex

Whatcott said the Adobe platform supports things that AJAX does not support, such as programmable audio, video, vector graphics, synchronous publish/subscribe data connectivity, offline data storage and cross-domain data access.

Constantly, I use iframe to add other domain content; however, there is always security issues and can't expand iframe to content max size. Just read an article from eweek and put a quote on the top. Is flash my solution?

Tuesday, March 07, 2006

Safari Compatibility Hit List

The WebKit Open Source Project post compatibility hit list today. Usually, using Safari to look at a pure thml page is great -- nice and neat font. But, when looking at more complicated pages, safari is like the secondary browser. It lacks HTML editor and a lot of JavaScript issues.

Besides standard compatibility compliance, I hope Safari can catch up usability.

Friday, February 24, 2006

Acrobat User Community

My first throught about www.acrobatusrs.com is message board. People can post question to get help from web community. But, when I vist the site. I see blogs and some other learngin materials, not message board. Anyway, this is great move for adobe.

I have mixed feeling about PDF file. I would like people to send me PDF file instead of MS word file, but in the web, I will try not to open any PDF file. I think Acrobat reader is a monster as many reasons.

Read more at www.acrobatusers.com/

Thursday, February 23, 2006

Web-based Intranet and Internet Information and Applications (1194.22)

Sestion 508

(n) When electronic forms are designed to be completed on-line, the form shall allow people using assistive technology to access the information, field elements, and functionality required for completion and submission of the form, including all directions and cues.

There is a grey area on checkbox and radio button. Where do I put LABEL.

For example :

Accessories :

[ ] Printer

[ ] Monitor

[ ] Keyboard

[ ] Mouse

I believe each checkbox need to associate a LABEL with text on the right side.

Read more at www.access-board.gov/se...

Google unveils Web page creator | CNET News.com

Like to see how google doing the web pages. Unfortuately, the system said a little hiccup at this moment.

Read more at news.com.com/Google+unv...

Wednesday, February 15, 2006

MAC OX 10.4.5

Just upgraded from 10.4.4. I still couldn't get IE 5 work. I understood IE was unsupported on MAC. I could open up IE, but "Finder" came up if I clicked any links on IE. That's kind of weird.

I also installed Camino yesterday, so far so good.

Tuesday, February 14, 2006

Safari and Textarea

Safari try to take some advantage native UI; unfortunately, the TEXTAREA is not quite right.

1, The scrollbar up/down arrow can't be shown, if rows less than 4.
2, Try to control textarea height, but scrollHeight is fixed number and never be changed.

Open Source Flash - osflash

Push down binary object at runtime -- it's a dream idea for web developer. It's going to be lightweight and fast.

However, Flash is really another world for me. Get the idea, but don't know how to start a sample.

Read more at www.osflash.org/

Monday, February 06, 2006

Linux users say OS needs touch-up with Photoshop | CNET News.com

GIMP is my favorite graph tool. It's free. Since I am not professional graph designer, I only use some very simple tools on windows XP. And, it works for me.

Read more at news.com.com/Linux+user...

Wednesday, February 01, 2006

JavaScript Graphics Development

The other day, I were thinking how to draw fourier wave by using javascript canvas. At that moment, my assumption was that as long as I could figure out how to draw sin and cos, then I could do that.

Now, I just looked at the site http://davidbetz.net/graphics/ how to draw sin and cos. To draw a wave, it draw pixel by pixel. In this case, I need to work on my math how to calculate intrgral, then draw a fourier wave.

Read more at davidbetz.net/graphics/

Tuesday, January 31, 2006

9X Media - FAQs

It's amazing -- LCD display wall and made in the USA. I am wondering USA actually produce LCD panel.

My guess wall street must have a lot of LCD walls.










Read more at www.9xmedia.com/pages-B...

SeaMonkey Releases

 I just downloaded a zip version of SeaMonkey and opened it, but it didn't seem to accept cookies. By the way, that interface is just too old.

Read more at www.mozilla.org/project...

Thursday, January 26, 2006

OSNews.com

People reporting 10.4.4 were buggy.

No wonder the other day I opened IE on MAC, none of links counld be clicked. At that moment, I thought Apple really forced people to use Safari.

Read more at www.osnews.com/comment....

Tuesday, January 24, 2006

The W3C Markup Validation Service

Today, first time I put my web page into w3c validator. Not to mention countless errors.

But, I have to two fundamental errors :

1, In web page I have

meta equiv="Content-Type" content="text/html; charset=iso-8859-1"

, but apache send out utf-8 encoding in the responding header.

2, Unencoded ampersands in URL

Link like href="q?p=welcome&id=" was failed.



According to http://www.htmlhelp.com/tools/validator/problems.html#amp


, it should be href="q?p=welcome&id="



Read more at validator.w3.org/

brandchannel.com | brandchannel Readers Choice Awards 2005 | Brands Rankings, Research, Lists | branding and marketing portal | brand | brands | branding

I probably watch not much TV. I know craigslist classification and go to Whole Foods a lot, but I just don't know Lance Armstrong.

Read more at www.brandchannel.com/st...

IEBlog : For the SELECT few...

First, I am wondering how many peoples are working on IE?

As to SELECT (MS combobox), it's most buggy object in IE.

Now, they have windowless fix. The other problems I have :

1, OPTION style sheet support.

2, If a LABEL object is associated with SELECT. Click this LABEL, then the related SELECT get focus. Unfortunately, the SELECT always select the first item.

3, Use style sheet to set a small size to SELECT object. When drop down pop up, the longer item OPTIONs will be cut off.

Read more at blogs.msdn.com/ie/archi...

Thursday, January 19, 2006

printfire()

Just like inline output from Firebug extension.

printfire("hellow world");

It's much easier than standout output "dump".So, no more alert(), no more dump() for debuging.

There is no way to use IE as my default development environment.

Read more at www.joehewitt.com/softw...

Mozilla Update :: Extensions -- More Info:FireBug - All Releases

It's much better than console2. Nice UI. My favorite part is js error indicator. This is very useful. I don't need to keep my js error console opening.

Read more at addons.mozilla.org/exte...

Bug 184968 - Implement Sidebar tab similar to "Page Holder" function in Mac IE 5

I like IE5/MAC showing tool tab on the left side of window. AOL Explorer has this kind of feature, too.

jEdit is my favorite java editor. It has this kind of feature. I can hide all add on tools on the side panel and reserver the main window for the file I am working on.

Read more at bugzilla.mozilla.org/sh...

Tuesday, January 17, 2006

Surfin’ Safari » Blog Archive » Introducing the Web Inspector

It's much better and useful than Firefox DOM Inspector.

Web inspector

Read more at webkit.opendarwin.org/b...

Animation giraffe again.

Can you move?

Giraffe


I heard once giraffle's head hit the ground. That's over.

Monday, January 16, 2006

Apache HTTP Server Project

Apache released 2.2 in the early of December 2005. The feature list is excited. It has Tomecat load balancer.

But, So far, I don't see window binary distribution. By the way, what's is "Apache Portable Runtime (APR)"? It's sort of virtual Machine like Java.

Read more at www.apache.org/dist/htt...

Friday, January 13, 2006

Music stops for Mac Windows Media Player | CNET News.com

Great news for mac. MS always offer their softwar into other platform differently, not full features. By the way, it's not for sale. It's better to kill it.

Read more at news.com.com/Music+stop...

Thursday, January 12, 2006

Bug 160162 - MARQUEE loop property not supported

This other day, I tried to implement alert message (like system tray -- show, then come down to hide) with marquee tag. Sooner, I realized Firefox didn't support loop attribute.

Read more at bugzilla.mozilla.org/sh...

Wednesday, January 11, 2006

Firefox innerText

I just implemented a method to get innerText. It's for a complicated document.


function ccGetMZInnerText(element) {

var innerText = "";
if (element.hasChildNodes()) {

var displayType = window.getComputedStyle(element,null).getPropertyValue("display");
if (displayType != null && displayType!="none") {
for (var i = 0; i <>
if (element.tagName=="P") innerText = "\n" + innerText;
innerText = innerText + ccGetMZInnerText( element.childNodes[i] );
}
if (displayType!="inline") innerText = innerText + "\n";
}

} else {

if ( element.nodeType == 3 ) {// text
innerText = innerText + ccTextCorrection(element.nodeValue);
} else if (element.nodeType == 1) { //object
var displayType = window.getComputedStyle(element,null).getPropertyValue("display");
if (displayType == null || displayType=="none") {
} else if (displayType=="inline") {
innerText = innerText + ccTextCorrection(element.textContent);
if (element.tagName=="BR") innerText = innerText + "\n";
} else {
innerText = innerText + ccTextCorrection(element.textContent) + "\n";
}
}

}

return innerText;

}

function ccTextCorrection(fooString) { //replace to blank, and remove line break.
return fooString.replace(/ /g, " ").replace(/\n/g, "").replace(/\r/g, "");
}

Web Applications 1.0 - ping

Ping -- it's interested attribute for hyper link (A). Firefox just have it. Is this good for tracking system? Got to find a good use case.

Read more at whatwg.org/specs/web-ap...

Tuesday, January 10, 2006

Surfin’ Safari » Blog Archive » WebKit is now in Subversion

Recently, just migrated from VSS to CVS, and felt a lot of pain.&nbsp; So far I got WinCVS the best, but the interface was still hard to use.&nbsp; I did't see a way to get server log automatically. Like editor, I had to select a file to see it. I would like to see every file editor when folder was changed.

Anyway, people is migrated to subversion, not sure what's the advantage.

Read more at webkit.opendarwin.org/b...

Friday, January 06, 2006

FAQTs - Knowledge Base - View Entry - How do I emulate innerText in mozilla/gecko/NS6+ ?

I through this was fast way to do innerText for Firefox. Unfortunately, this was only good for a paragraph. It did not skip STYLE, SCRIPT tags. DIV need a line break. There are lot more comlicated to handle line break.

Read more at www.faqts.com/knowledge...

Blogger: Create your Blog Now -- FREE

I have Blogger Web Comments extension installed in my Firefox. Most of time is disable, but I will enable it to see others' comments. I was just curious how google know those comments from. As I played more, I believed those comments were from blog search result. Now, my question how google decide a blog page?

Read more at www.blogger.com/start

Thursday, December 29, 2005

FAQTs - Knowledge Base - View Entry - How can I access the LABEL text for a INPUT field with DOM methods?

DOM should provide an method to look up field name easily.

Then, it will be helpful when do scripting for required field, spell check.

Read more at www.faqts.com/knowledge...

Wednesday, December 21, 2005

WinMerge

Finally, I got the diff tool which met my need. It can compare two files side by side. For those lines with difference, it can highlight the word difference and lists top/bottom panels.

Previously, I downloaded a copy of WinMerge from www.download.com. That was so out-of-date.

Read more at winmerge.sourceforge.ne...

Tuesday, December 20, 2005

CanvaSVG — A Static SVG Tiny 1.2 Implementation Using the <canvas> APIs

If 3D APIs are implemented in canvas, then you will see how easy to draw image. Anyway, SVG should have advantage of event handling.

Read more at fuchsia-design.com/Canv...

Apples To Oranges - CSS For Bar Graphs

I am looking a js canvas lib to do bar chart and pie chart with nice 3d effect.

Read more at apples-to-oranges.com/b...

Friday, December 16, 2005

diff

Still look for a good diff GUI. Currently, I have WinDiff, WinMerge, and ExamDiff Pro.

Generally, WinDiff can meet my requirement when comparing two files, but not directories. I can't believe why MS can't get this simple thing right. All files' name are lowercase listed when two directories are compared. When copying the different files, all files are lowercase.

I wish WinMerge shows line number in the gutter. The default font should be fixed size.

ExmaDiff Pro looks like is powerful, but not free.

Wednesday, December 14, 2005

Google home pages get even more personal | CNET News.com

Google always has some interested idea. I just browse Google homepage API. Basically, it's set of XML definition for google to construct web pages. Well, it's so call API, not for average people.

Tuesday, December 13, 2005

Set style 100% width in text field

In HTML,
<input name="subject" value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" style="width: 100%;" type="text">, IE really mess up the layout due to the very long value.

I switch to <textarea name="subject" style="overflow: hidden; width: 100%; height: 1.5em;"></textarea> and believe this is better UI. But, I need to strip out line break and, maybe, implement row auto expanding -- just like yahoo e-mail composer's TO field.

This solution is good for me, since I don't have size limition for subject field.

Monday, December 12, 2005

Opera 9

Just played around Opera 9 beta. It's a lot of imporvment. Correct style sheet problem I have. Finally, designMode is here. It's show time for HTML editor.

Tuesday, December 06, 2005

Safari 1.3 and 2.0

Just get a G4 updated to 10.4. Playing around Safari 2.02 a little bit, I didn't see any improvement in javascript.

Thursday, December 01, 2005

Javascript associative array length


var fooArray = new Array();
fooArray["a"]="a";
fooArray["b"]="b";
fooArray["c"]="c";
alert(fooArray.length);
Guss what the result is here? It's 0.

Monday, November 21, 2005

Windows Live

Just played www.live.com a bit. The AJAX benefit is very obvious. No need to have fancy interface, but simple and easy to use.

Finally, I can move out my.netscape.com and my.yahoo.com. Yahoo also have another beta site 360.yahoo.com, but really don't feel any catching -- need to figure out how to fill in the boxes.

This time, MS does much better job than virtual earth. There is still one thing may hold me to use it -- it's hotmail. The hotmail interface and usibility need to catch up. Hotmail need to provide the e-mail address found as typing like yahoo, gmail did.

Friday, November 18, 2005

Form File Filter

1, input name="pictures" accept="image/*" type="file"
2, input name="pictures" accept="image/gif,image/jpg" type="file"
3, input name="pictures" accept="*.gif,*.jpg" type="file"
Just try the file type filter as acccept attribute. None of above works on IE6 and Firefox.

Thursday, November 10, 2005

Monday, November 07, 2005

Just update jEdit Antelope

In few cases, my antelope plugin causes jEdit hang. I have this problem in my new dell server periodly, but not my old server (no brand). This morning, I found a new antelope update 3.2.9. I installed it, but, unfortunately, not working. I restarted my jedit few time, the same error message was still there.



I noticed there was known issue, but what did that for me.
Anyway, I rolled back to 3.2.6.


The other thing I noticed about the file size of Antelop.jar. I saw 669k for 3.2.6, but only 579 for 3.2.9. Was there anything missing in this package?

Wednesday, October 26, 2005

Bug 311844 - Cannot Copy and Paste using 1.0.7

I am getting annoyed by this bug. I constantly can't paste into textfield, but it's ok into textarea. At this point, I need to restart Firefox. Anyway, to avoid any memory leak, I restart FF few times each day.

Tuesday, October 25, 2005

FAQTs - Get the faqts, and nothing but the faqts

Havn't been FAQTS for a while. I like new tabs looking, but not whole page layout.


Mandarin Design: CSS Opacity and Transparency

To apply opacity effect to IE for DIV, float:left need to be applied. This is tricky.

Thursday, October 13, 2005

opacity style

In style sheet, opacity effect is still in css3 draft now. Most of modern browser are supported opacity now, but they are very different.

Let say
.op {-moz-opacity:0.5; filter:(alpha:50);opacity:0.5}

Firefox's -moz-opacity has best support.
IE's filter only works for TD tag, not DIV tag.
Safari's opacity works for DIV, SPAN tag, but not TD tag.

Please note the difference between IE and Safari. They are totally opposite.

Thursday, October 06, 2005

AIM web mail and Netscape web mail.

Just notice that Netscape web mail updates the new interface which can be reached from http://home.netscape.com. The new interface is similiar to aim web mail, but a little bit better. aim web mail has banner ad in the middle of page. That's very annoying. Netscape web mail moves the banner ad in the bottom of page. It's less annoying.

Wednesday, September 28, 2005

IEBlog : Hello from LA!

IEBlog : Hello from LA!: "select"

Finally, the new IE7 get windowless SELECT object. It's hard to explain to non-tech people when my pop up has a hole on the selection.

Also, it's interested that IE7 get XMLHTTPRequest object. I bet MS is going to add some other favors on it.

Tuesday, September 20, 2005

Opera 8.5

Just installed Opera 8.5 and played around a little bit.
The speed is OK, but the layout / style sheet are still far from accuracy -- not even close to Safari.

Friday, September 16, 2005

A9 update

The A9 update is annoying. It takes the whole screen and can't switch to
this other application, until I kill firefox.

Wednesday, August 24, 2005

Anti-virus wiped out my inbox.

Today, a virus was caught in my inbox and symantec deleted my
thunderbird INBOX. Is there a way I can recover my inbox? Or, how to
prevent it happen again?

Wednesday, August 17, 2005

What's the difference between the value and innerHTML attribute in

This is the problem I just conquer in the Firefox.

For example, I have some space symbols in the textarea.
<TEXTAREA>&nbsp;&nbsp; abc</TEXTAREA>

1, <TEXTAREA onclick="this.innerHTML">&nbsp;&nbsp; abc</TEXTAREA>
I got "   abc".

2,
<TEXTAREA onclick="this.value">&nbsp;&nbsp; abc</TEXTAREA>
I got " abc".

Thursday, August 11, 2005

CNN.com - Judge: Punk landmark CBGB's can't be evicted - Aug 11, 2005

CNN.com - Judge: Punk landmark CBGB's can't be evicted - Aug 11, 2005

I had been passed CBGB front door many many times since I went to NYU, but never a chance to visit it.
I should really find a day to go in.

Monday, August 01, 2005

Migrate apps from Internet Explorer to Mozilla

Migrate apps from Internet Explorer to Mozilla: ""

It's a very good article.
Just learn quirks and standards mode.
Currently, I have quirks mode

in the web application.
I try to change to
, then IE gives me layout trouble immediately. I have three-panel layout in my web appliction, which top heading, left menu, and main content.
In IE standards mode, the main content will extend the width.

Need to study more what's difference between there two modes.

Thursday, July 28, 2005

MSN Virtual Earth

MSN Virtual Earth

Finally, MSN has a map system which is competitive to Google enough. The roadmap zooming is very interesting. However, the MSN satellite maps are black white and too old. I can see my house in google maps, but only trees in MSN. Also, the aerial label is little off.

Tuesday, July 26, 2005

Goggle maps

Very impressed google maps. Beyond satellite maps, hybrid maps, showing street on the satellite maps, are available. They really make others no competition.

Sunday, July 10, 2005

Yahoo photo mail again

Yesterday, I was able to install yahoo photo mail on windows 2000. But, today I couldn't install it to xp at all. I tried to save the file and only 70K. Most like the installation file couldn't be downloaded completely.

So today, I still sent out photos in the attachment. I had 4 photos and took a while to upload them. Photo mail should be able provide a better interface, so normal users can understand. We need to wait.

Friday, July 08, 2005

Yahoo Photo mail

Just tried Yahoo photo mail. I don't have any particular point for the
mail composer, but I really don't like the character verification.
I don't really get the point why yahoo need character verification. If
Yahoo has done the right authentication, why bother need to have
character verification. By the way, some of characters are hard to read.
Just feel it's inconvenient.

Wednesday, July 06, 2005

Download fonts | dafont.com

Download fonts | dafont.com

Just downloaded some fonts and installed them. I like the freeware fonts, but what is called Emailware and Linkware. I like "Abuse" font, but is free for personal use.

Wednesday, June 29, 2005

Download Nvu 1.0

Download Nvu 1.0

Just install and try it.
Still not useful for my work.
1, Can't open css file.
2, HTML, HEAD, BODY tags are inserted when a file with html fragment.
3, No file manager.

Tuesday, June 28, 2005

Safari and background color problem

Safari and background color problem

Another Safari problem. Sigh! Sigh!!
After I removed "background-position:center;", then background image can be rendered correctly.

Google Earth

Just installed Google Earth. Unfortunately, my video card in the dell
server does not meet the minimum requirement.

Thursday, June 23, 2005

IEBlog : Using rounded corners with IE today

IEBlog : Using rounded corners with IE today

The MSDN solution is overkill.

Try
http://openrico.org/demos.page?demo=ricoEffectRound.html

By the way, it's my first time trying to add the above comment in MSDN. It didn't seem to go through. Sigh. What a MSDN.

Tuesday, June 21, 2005

The KOffice Project - Krita

The KOffice Project - Krita

From the features, looks more than painter.
Does it do something like GIMP?

If open source can coordinate, that's win-win situation.

Thursday, June 09, 2005

Search and browse smarter with MSN Search Toolbar, now with Windows Desktop Search

Search and browse smarter with MSN Search Toolbar, now with Windows Desktop Search

Just installed MSN toolbar. My experience is very new, but I don't the like window filkering when switch tab.

Networking Pipeline | Google Maps Tinkerers Make Demographic Data Come Alive

Networking Pipeline | Google Maps Tinkerers Make Demographic Data Come Alive: "Housingmaps.com"

This is very interested integration through image. Usually, web integration with other domain names is restricted by browser security.

Tuesday, June 07, 2005

Surfin' Safari

Surfin' Safari I heard all the good thing in safari. Obviously, Safari make a lot of improvement recently. But, sometimes, I really doubt it. Does it works like charm?

Yesterday, I just suffered a js String.replace() problem in safari, which had no problem for IE and Firefox. By the way, does execCommand() really work?

Wednesday, June 01, 2005

Deer tragedy

On my way to work, 20 miles, 6 deers laid on the highway. Some of them
were there few days.
We have such great outdoors environment in here and we enjoy the
convenience of express way. Unfortunately, not good for wildlife.

In my community, the mother deer just has a little deer this year. I
hope those two one-year deers with this mother deer prior year don't
make any journey to human road.

Range

In Firefox, what's the IE equivelence of range.select()?

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.