This is post at Ajaxian.
It seems useful for me.
In case my web application has to support Opera, I'll use this.
tags:javascript
Monday, August 07, 2006
Tuesday, August 01, 2006
Internet Explore can not add 'name' attribute to radio button dynamically.
When I added radio button element by using DOM method, 'name' attribute did't apper correctly in Internet Explore.
Please reffer this web site.
I changed my code like this.
// for DOM compatible.
if (navigator.appName.indexOf("Microsoft Internet Explorer") == -1) {
obj = document.createElement( "input" );
obj.name = "group1";
}
// for IE.
else
obj = document.createElement( "<input name='group1'>" );
tags:javascript
Please reffer this web site.
I changed my code like this.
// for DOM compatible.
if (navigator.appName.indexOf("Microsoft Internet Explorer") == -1) {
obj = document.createElement( "input" );
obj.name = "group1";
}
// for IE.
else
obj = document.createElement( "<input name='group1'>" );
tags:javascript
javascript
Saturday, June 17, 2006
How to make a drop down menu.
Last time, my drop down menu didn't work at IE, so I read this book.
You can check sample at auther's web site.
Many web hosting services don't allow .htc file, so I had to use a small javascript to simulate 'hover' pusude class.
This time, my drop down menu works at both Firefox and IE.
I can still keep html simple. It must be good for a prototype.
'CSS filter' is also useful to make a cross browser application.
I often use 'Tan Hack' to manage the differenc between Firefox and IE.
Tan Hack: * html tagname {}
tags:Web Design
blogging
I added categories.
I added categories in this blog.
I reffered this site.
But, I haven't understood how to use del.icio.us yet. :-(
tags:Blogging
I reffered this site.
But, I haven't understood how to use del.icio.us yet. :-(
tags:Blogging
blogging
Sunday, April 02, 2006
How to make a drop down menu by CSS.
To make drop down menu, I reffer this book.
The way this book describe doesn't need JavaScript. However, it needs .htc file for IE.
You can check sample at auther's web site.
If you see the source code, you can notice that it doesn't use JavaScript.
It must be good for a prototype.
I put my sample here.
It work on FireFox but doesn't on IE. The reason may be the server doesn't accept .htc file unfortunately. :-(
Categories:
Saturday, March 25, 2006
A reference book for JavaScript.
I use "Professional JavaScript" for a reference book about JavaScript.
I think this bood is good enogh to study JavaScript.
Other specialized books are too thick for me.
:-P
Reading this book, I could learn how to use JavaScript for object-oriented programming.
This book has already second printing.
You can tell if you have the second printing of the book by looking at the front page with the copyright information at the bottom.
There is a line that looks like this:
10 9 8 7 6 5 4 3 2 1
If you have a copy from the second printing, it will look like this:
10 9 8 7 6 5 4 3 2
And the errata is viewable here.
tags:javascript
There is a line that looks like this:
10 9 8 7 6 5 4 3 2 1
If you have a copy from the second printing, it will look like this:
10 9 8 7 6 5 4 3 2
And the errata is viewable here.
tags:javascript
Categories:
Friday, March 10, 2006
FireFox bug
When I make textbox select automatically, FireFox doesn't work correctly.
<- This is selected automatically.
<- This is normal.
The code is like this:
<input type="text" value="aaaaaa" onfocus="this.select()">
In FireFox it succeed only every other time.
This is very important for my job, so please fix it.
tags:javascript
<- This is selected automatically.
<- This is normal.
The code is like this:
<input type="text" value="aaaaaa" onfocus="this.select()">
In FireFox it succeed only every other time.
This is very important for my job, so please fix it.
tags:javascript
Sunday, March 05, 2006
Hack for Blogger
This book is usefull for hacking blogger.
Without this book, I can't add track back and recent comment list.
I can learn HTML and CSS as well.
This is author's blog.
tags:Blogging
Categories:
I added a recent comments list.
I added a recent comments list.
Please reffer Farrago Recent Comments Hack from BloggerHacks.
And, please add your comment to my blog. :-)
Please reffer Farrago Recent Comments Hack from BloggerHacks.
And, please add your comment to my blog. :-)
Sunday, February 05, 2006
Monday, January 30, 2006
Friday, January 13, 2006
Javascript
I foud a tutolial for Javascript.
W3 Schools
http://www.w3schools.com/
Javascript Tutolial
http://www.w3schools.com/js/
W3 Schools
http://www.w3schools.com/
Javascript Tutolial
http://www.w3schools.com/js/
HTTP and CSS reference
I foud useful web site to make web.
Bloo's Home page http://www.blooberry.com/
HTTP reference
http://www.blooberry.com/indexdot/html/index.html
CSS refernce
http://www.blooberry.com/indexdot/css/index.html
Bloo's Home page http://www.blooberry.com/
HTTP reference
http://www.blooberry.com/indexdot/html/index.html
CSS refernce
http://www.blooberry.com/indexdot/css/index.html
Subscribe to:
Posts (Atom)