Top.Mail.Ru
? ?
Javascript's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Monday, December 8th, 2008

Time Event
10:30a
javascript style.width not working in firefox with transitional doctype
I have a script that animates a small DIV popping up on the page. It all works fine in IE, and in FF if I remove the DOCTYPE, but when the DOCTYPE is XHTML/Transitional, in Firefox, the width does not change.

this.container.style.visibility = "visible";

alert("this.container.style.width before = " + this.container.style.width)
this.container.style.width = this.width;
alert("this.container.style.width after = " + this.container.style.width);
this.container.style.height = this.height;

In IE, and in FF with no DOCTYPE, the first alert says 0, and the second says 320 (which is the width set elsewhere in the code)

in FF, with the DOCTYPE to XHTML/Transitional, both alerts show 0. Any idea what's going on here? I'm thinking I may need to explicitly set positions on the DIVs in Transitional, but I'm not sure.
2:09p
Hi everyone,

I really hope this is not an inappropriate place for this. Do any of you want a job doing front-end development in the Bay Area (Redwood City)? Or maybe you have friends who are looking for a job? To be totally straightforward, I work for a search firm and I'm having trouble finding people who want to develop web applications. So I hate to resort to sending out messages to people I don't know, but it really might be a good opportunity for some of you. Someone with experience working at a web company and a technical degree from a decent school would be best. Let me know, email would be best (profrink12@yahoo.com).

Really sorry if this is just a bothersome message to you all. My company does pay a referral bonus though, of at least $500 if you put us in contact with someone who gets placed in the position. I'm not trying to mess with anyone; just trying to help somebody who is looking for a new job.

Thanks.
- Brian

<< Previous Day 2008/12/08
[Calendar]
Next Day >>
About LiveJournal.com
Image