I'm having some JavaScript problems. I have this code taken exactly as was written in the book that I'm using, but the File menu doesn't seem to want to work.. is there something I'm doing wrong or not seeing?
onMouseover, not onMousover. And burn that book you took this shit from; anybody using the shorthand version of the if condition and concatenating strings at the same time should be shot. Actually, the shorthand if is used exclusively by blow hards too lazy to give a shit about the future readability of their crap. That's the problem with most developers; they think they're Gods gift to the world, and so don't have to spend the effort to make their code as readable as possible.
BoredShirtless wrote:onMouseover, not onMousover. And burn that book you took this shit from; anybody using the shorthand version of the if condition and concatenating strings at the same time should be shot. Actually, the shorthand if is used exclusively by blow hards too lazy to give a shit about the future readability of their crap. That's the problem with most developers; they think they're Gods gift to the world, and so don't have to spend the effort to make their code as readable as possible.
Hey, I fix my code up more than that... at least the CSS part. As for JavaScript, I hardly know anything about it.
Also, does anyone know if it's possible to have a list go backward in number?
Too bad it's 60$. Fortunately it happens to be in my library system. Check yours. All other books I've seen are crap. Best website is http://www.quirksmode.org/, which has almost everything the book has on Javascript and CSS (less on HTML, but then again you can look that up at w3c.org since most browsers support a good portion of HTML 4.0(1?)).
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor