Thursday - March 27, 2003
BMW’s M12

Before today, I never knew that BMW made an M12. I just checked their site and found no mention of it. I found out about when I was reviewing a site submission to the X Personal Homepages category and found some pictures (that he may have yanked from another site).

Wow. That’s one mean-looking car.







javascript in nested tables

The ‘remember info’ checkbox on my comment pages didn’t work in Opera. I would type in my name and URL, check the ‘remember info’ box and when I returned, the information was gone. I surmised that Opera didn’t support the Javascript being used to store the cookies. Later, I discovered a web site using a Movable Type template that saved my information in Opera. My quest to figure out why mine didn’t work began. I compared the code on the working site with my site. Identical. Three hours later, I discovered the reason.

The javascript code that retrieves the cookies and populates the fields was not being called on my site because it was within a nested table. This is a known bug on Netscape 4 but apparently it’s an issue in Opera too.

I moved the javascript code outside of the tables and it now works, unless you reload the page. For some reason reload doesn’t run any javascript unless it’s in the <body>’s onLoad() function. I don’t imagine too many people will reload the page. At least I no longer have to type in my name and URL every time I make a comment.







# of readers
- home
meta
comics
news links
other links

about me
blog archives
docs
entertainment
experiences
funny lists
humor
intellectual
interests
mefi
music
opinions
photos
web designs
tools
webmaster help

Sign up
Enter your e-mail address to be notified of new posts



Search blog archives

Calendar
March 2003
S M T W T F S
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Random quote
(View all quotes)
"Doesn't expecting the unexpected make the unexpected expected?"










Licensed under Creative Commons
(?) Choose theme:  X X X X X X


Loaded in 0.1221 seconds