> The FORM element encompasses behavior similar > to a collection and an element. It provides > direct access to the contained input elements > as well as the attributes of the form element
That just sounds like form.containedElement is ok. What I was going for is that "form" where "form" is the ID of a tag isn't part of the DOM standard. That's where getElementById comes into play.
> Finding a better example of vendor-specific > DOM code should be easy.
Yes, I admit I didn't try hard since the general look of the code wasn't pleasant. Go ahead and give us a better example if you wish instead of:
> Nothing worse than a web nazi when he's up his > own ass.
.. and both these standards are well supported, at least for normal use, by both IE, Mozilla and (I think) Opera. I think this as a very overlooked fact, by looking at all the trouble web designers are going through making special cases for the amounts of browser/version combinations.
Too bad that the Dynamic Duo site teach to write special cases for IE4/NS4. What about Mozilla and any Netscape version past 6.0 that has nothing in common with Netscape 4? What about Opera?
Then they have to suggest using something like this:
if (ie4) { // IE4+ code } else if (ns4) { // NS4 code } else if (ns6) { // NS6/Moz code } else if (opera) { // Opera code }
Can you see the maintenance you'd need to do to make it cross-browser compatible?
The alternative is DOM where you can use common code for all browsers that support DOM. Considering that the standard has been around for years and is supported rather good by all current browsers, it's surprising that there's enormous amounts of sites around that teach the aging "version 4" coding philosophy. It's the philosophy behind those hideous IE-specific pages that might have *some* Netscape support in but break when you use a browser/browser version the coder didn't expect or didn't exist at the time the page was coded.
I'm not a web developer, but I've heard that DHTML support in Mozilla is pretty bad
Not as long as you follow the current standards (DOM). If you do that, both IE and Mozilla has rather good "DHTML" support. It's funny that there's a way to write decent cross-browser pages that's dynamic and all that and that this way is even standardized, while many web developers *still* refuse to realize facts and continues to struggle with Microsoft's document.all model, having to disable parts of pages to make them cross-browser, etc. Is it lack of education? Brainwashing?:-)
The site I'm thinking of is Citibank's credit card management section
Yeah, and just by looking at the source code at their login screen I see tons of non-standard DHTML code so it's no surprise it isn't working well at other browsers than IE.
I'm talking about this:
if ((frm.USERNAME.value == "") || (frm.PASSWORD.value == ""))
{
alert("Please enter your User ID and Password to sign on");
frm.USERNAME.focus();
return (false);
}
See that frm.USERNAME rubbish? If they had just changed that fragment to this:
var usr = document.getElementById("USERNAME");
var pwd = document.getElementById("PASSWORD");
if ((usr.value == "") || (pwd.value == ""))
{
alert("Please enter your User ID and Password to sign on");
usr.focus();
return false;
}
.. and it might have worked a lot better on Mozilla (while still maintaining 100% compatibility with IE! *gasp*). Look above at the incredible effort spent too.
I'm personally going to build an octathreading CPU by tricking the OS into thinking it's working with EIGHT processors! Wow, that should give me 8x the performance! Stupid Intel restricting themselves to faking just two processors.
Hehe... You beat me to it...:-) It's "heavy stone" in swedish as well. In Sweden, we normally use the name "Wolfram" for the mineral (which is also where its atomic symbol "W" comes from).
I think Windows is largely a desktop OS, regardless of any "Professional" labels MS choose to put on them. Remember that a "profesional" user is far too often someone who knows how to use MS Office and Outlook with zero security awareness.
And for a desktop OS, Windows XP is sure stable and secure enough for me. Sometimes I have to wonder if an easy-to-use OS makes people lazy and don't care about firewalls, anti-virus software and other obvious security software that are necessary today, especially if you're going to use an Operating System that's by far the most common on the market. Microsoft's responsibility isn't to provide security to prevent us from spreading trojans. Only education can do that.
But don't get me wrong -- I blame MS if they don't have a patch ready before a virus/trojan/whatever is released. But, to use Bugbear as an example, if a patch is released a year ago and someone didn't care to download it, is it then Microsoft's responisiblity to foresee the problem and have a fix when Windows 2000 went retail or the user's responsibility to keep up to date with security patches?
I guess it all boils down to the fact that we're all human... Since Microsoft has a hard time to keep up with exploits from a huge amount of potential hackers due to the OS' wide-spread use and the end users for not keeping up with security software and patches. Perhaps Windows would be much better of as Open Source since it would help with a larger programmer base, but that's of course impossible as long as Bill Gates has something to say.:-)
I think at least Io was so volcanic and active because of the extreme "tidal waves" from Jupiter. The "waves" are, due to the huge gravitation of Jupiter, so strong they pull solid matter and this of course cause quite a bit of friction. And friction cause heat. Not really surprising, since such a small object as our Moon does funny things to our seas.:-)
Anyway, to my point, perhaps the same applies to Amalthea?
I'm sure creating that infectious tune wasn't NP-hard.
No, but, from own experiences, it's an NP-hard problem to get it out of your head once you've heard it, so please don't give me a link to where it can be downloaded.:-)
Finally, here's a list of how the ASRS connect electronic devices to airplane anomalies, according to various reports they've received:
Anomaly: NAV CDI needle swing (off course), Phase: CL, Possible Cause: tape players Anomaly: CDI needle swings, Phase: ER, Possible Cause: chess player Anomaly: erroneous nav signal of VOR station, Phase: ER, Possible Cause: dictaphone Anomaly: loss of VOR capability, Phase: ER?, Possible Cause: cellphone Anomaly: HSI's discsrepancies, Possible Cause: cellphone Anomaly: NAV compass & CDI oscillation (off course), Possible Cause: PEDs Anomaly: off VOR course, Phase: ER, Possible Cause: cellphone Anomaly: off course, Possible Cause: tape player Anomaly: music blocked VHF comm's, Possible Cause: FM radio Anomaly: comm's blocked, Phase: GR/CL, Possible Cause: Nintendo, cellphone, notebooks Anomaly: off course, Possible Cause: tape machine+Nintendo Anomaly: off course, Phase: ER, Possible Cause: cellphone Anomaly: both VORs lost, no VOR audio signal, Phase: ER, Possible Cause: cellphone Anomaly: all directional gyros lost, Possible Cause: 25 radio's, 1 laptop Anomaly: compass error; off course, Phase: ER, Possible Cause: laptop, comp.game Anomaly: 2 missed approaches, Phase: FA, Possible Cause: PED suspected Anomaly: loss of all autonav functions, Phase: CL, Possible Cause: 3 laptops, cdplayer/radio Anomaly: loc receiver anomaly; missed app., Phase: FA, Possible Cause: PED suspected Anomaly: compass precess 10deg, Phase: ER, Possible Cause: laptop Anomaly: Omega NAV unreliable, Phase: ER, Possible Cause: tv set suspected Anomaly: HSI errors, Phase: TA,CL,ER, Possible Cause: cellphone Anomaly: nav compass sys error; off course, Phase: CL, Possible Cause: cellphone Anomaly: temp loss of com freq., Possible Cause: cd player Anomaly: INS nav errors, Possible Cause: electronic games Anomaly: off course, Possible Cause: cellphone Anomaly: eng fuel ctlr + vhf radio interference, Possible Cause: cellphone Anomaly: off course, Possible Cause: laptop Anomaly: EMI interference & radio alt flag, Phase: ER, Possible Cause: cd-players (2) Anomaly: erratic cdi indications, Phase: ER, Possible Cause: 2 gameboys Anomaly: autopilot erratic, Phase: AP, Possible Cause: cellphone suspected Anomaly: off course, Possible Cause: gameboy Anomaly: nav radio interference; off ILS course, Phase: AP, Possible Cause: computer game Anomaly: EMI interference causes a split between the compass system in flight ER laptop both LOC and GS 'OFF' flags showed just prior to the Outer Marker Phase: AP, Possible Cause: PED suspected Anomaly: significant LOC rate of deflection, Phase: AP, Possible Cause: PED possible Anomaly: loss of Captain EFIS display, Phase: AP, Possible Cause: 8 laptops Anomaly: electronic compass erratic, Possible Cause: cd player Anomaly: interfering transmitter, Phase: AP, Possible Cause: cellphone Anomaly: NAV and COM radio problems, Phase: PED, Possible Cause: suspected Anomaly: off approach path, Phase: AP, Possible Cause: PED suspected Anomaly: off course due to drifting, Phase: FM, Possible Cause: PED suspected Anomaly: HSI discrepencies, Possible Cause: PED suspected Anomaly: EICAS interference, airspeed discrep., Phase: ER, DC, Possible Cause: PED Anomaly: loss of COM frequency, Possible Cause: cellphone Anomaly: ILS, radio altimeter, and primary flight display went out, Possible Cause: 20 cellphones
Yeah, Mozilla support XML and I even think it supports XSLT for any layout needs. However, I still think XML in Office 11 is meant for parsers and automated systems, since I don't think MS would bother with it when they already have implemented HTML for web purposes. But I can't be completely sure of what Steve Ballmer & co are planning.:-)
But would you be allowed to use the phones?
on
Cellphones On Airplanes
·
· Score: 4, Insightful
I mean.. How is the flight crew going to tell the difference from an "ok" phone and a "bad" phone? Will they have to take your phone and check if it has some special certificate or what?
Whats wrong with HTML and CSS2 for all your word processing?
I don't think the new XML format is meant for documents you wish to publish on the web. Office already support the HTML format pretty well (with some extensions.. ahem) since Office 2000. HTML support works even better in Office XP since it allow you to save the document as "filtered HTML", where Office filters most of the Office-specific tags and attributes at the cost of loosing some information in the document.
I think the XML format is being added since XML represent the document with a much more meaningful structure that's easier to parse by third party software for use in electronic commerce and other automated systems, something that's inappropriate to use HTML code for, as it was designed to make pretty layouts, not to describe content for easy parsing.
I think it's pretty obvious why MS would want to add XML support - to spread their Office document format and make Office useful in places such as web services where it wouldn't be as useful before.
> The FORM element encompasses behavior similar
:-P
> to a collection and an element. It provides
> direct access to the contained input elements
> as well as the attributes of the form element
That just sounds like form.containedElement is ok. What I was going for is that "form" where "form" is the ID of a tag isn't part of the DOM standard. That's where getElementById comes into play.
> Finding a better example of vendor-specific
> DOM code should be easy.
Yes, I admit I didn't try hard since the general look of the code wasn't pleasant. Go ahead and give us a better example if you wish instead of:
> Nothing worse than a web nazi when he's up his
> own ass.
.. and both these standards are well supported, at least for normal use, by both IE, Mozilla and (I think) Opera. I think this as a very overlooked fact, by looking at all the trouble web designers are going through making special cases for the amounts of browser/version combinations.
Then they have to suggest using something like this:Can you see the maintenance you'd need to do to make it cross-browser compatible?
The alternative is DOM where you can use common code for all browsers that support DOM. Considering that the standard has been around for years and is supported rather good by all current browsers, it's surprising that there's enormous amounts of sites around that teach the aging "version 4" coding philosophy. It's the philosophy behind those hideous IE-specific pages that might have *some* Netscape support in but break when you use a browser/browser version the coder didn't expect or didn't exist at the time the page was coded.
Not as long as you follow the current standards (DOM). If you do that, both IE and Mozilla has rather good "DHTML" support. It's funny that there's a way to write decent cross-browser pages that's dynamic and all that and that this way is even standardized, while many web developers *still* refuse to realize facts and continues to struggle with Microsoft's document.all model, having to disable parts of pages to make them cross-browser, etc. Is it lack of education? Brainwashing?
The site I'm thinking of is Citibank's credit card management section
Yeah, and just by looking at the source code at their login screen I see tons of non-standard DHTML code so it's no surprise it isn't working well at other browsers than IE.
I'm talking about this:See that frm.USERNAME rubbish?
If they had just changed that fragment to this:.. and it might have worked a lot better on Mozilla (while still maintaining 100% compatibility with IE! *gasp*). Look above at the incredible effort spent too.
Um, i'd mod you down for being an idiot
:-)
It's funny. Laugh.
which is really odd seeing as mostly on /. people don't read the article before commenting...
:)
I guess the keyword here is "anime". Nerdiness in all its glory.
Wow, that's the second most ugliest mouse I've ever seen.
I'm personally going to build an octathreading CPU by tricking the OS into thinking it's working with EIGHT processors! Wow, that should give me 8x the performance! Stupid Intel restricting themselves to faking just two processors.
It was slashdotted before there was any comments here. :-(
Hehe... You beat me to it... :-) It's "heavy stone" in swedish as well. In Sweden, we normally use the name "Wolfram" for the mineral (which is also where its atomic symbol "W" comes from).
Oh, and I guess you can play Find Five Flaws on that picture... The globe look a bit misplaced for example. :-)
This seems to be the main news site for the International Space Station.
:-)
They seem to have fun messing around with stuff. Don't ask me what the heck they're up to on the picture.
You forgot the document that summarize Microsoft's opinions best of all. :-)
I think Windows is largely a desktop OS, regardless of any "Professional" labels MS choose to put on them. Remember that a "profesional" user is far too often someone who knows how to use MS Office and Outlook with zero security awareness.
:-)
And for a desktop OS, Windows XP is sure stable and secure enough for me. Sometimes I have to wonder if an easy-to-use OS makes people lazy and don't care about firewalls, anti-virus software and other obvious security software that are necessary today, especially if you're going to use an Operating System that's by far the most common on the market. Microsoft's responsibility isn't to provide security to prevent us from spreading trojans. Only education can do that.
But don't get me wrong -- I blame MS if they don't have a patch ready before a virus/trojan/whatever is released. But, to use Bugbear as an example, if a patch is released a year ago and someone didn't care to download it, is it then Microsoft's responisiblity to foresee the problem and have a fix when Windows 2000 went retail or the user's responsibility to keep up to date with security patches?
I guess it all boils down to the fact that we're all human... Since Microsoft has a hard time to keep up with exploits from a huge amount of potential hackers due to the OS' wide-spread use and the end users for not keeping up with security software and patches. Perhaps Windows would be much better of as Open Source since it would help with a larger programmer base, but that's of course impossible as long as Bill Gates has something to say.
I think at least Io was so volcanic and active because of the extreme "tidal waves" from Jupiter. The "waves" are, due to the huge gravitation of Jupiter, so strong they pull solid matter and this of course cause quite a bit of friction. And friction cause heat. Not really surprising, since such a small object as our Moon does funny things to our seas. :-)
Anyway, to my point, perhaps the same applies to Amalthea?
Hehe... Yeah, I'm personally convinced that Tetris and all its clones have a highly sophisticated masochistic AI.
Will someone please tell me what happens when Tetris ends? Is it like the end of the rainbow ... pots of gold and all that good stuff?
:-)
Yeah, I think it's like the end of the rainbow, but not as you describe it. Rather "you never get there".
I'm sure creating that infectious tune wasn't NP-hard.
:-)
No, but, from own experiences, it's an NP-hard problem to get it out of your head once you've heard it, so please don't give me a link to where it can be downloaded.
Tetris wouldn't be NP-hard if it just released that damn 1x4 brick when you need it!
Check out actual reports from PED-related (Personal Electronic Device) incidents.
You might also wish to read a discussion of the problems with PEDs on airplanes.
Finally, here's a list of how the ASRS connect electronic devices to airplane anomalies, according to various reports they've received:
Anomaly: NAV CDI needle swing (off course), Phase: CL, Possible Cause: tape players
Anomaly: CDI needle swings, Phase: ER, Possible Cause: chess player
Anomaly: erroneous nav signal of VOR station, Phase: ER, Possible Cause: dictaphone
Anomaly: loss of VOR capability, Phase: ER?, Possible Cause: cellphone
Anomaly: HSI's discsrepancies, Possible Cause: cellphone
Anomaly: NAV compass & CDI oscillation (off course), Possible Cause: PEDs
Anomaly: off VOR course, Phase: ER, Possible Cause: cellphone
Anomaly: off course, Possible Cause: tape player
Anomaly: music blocked VHF comm's, Possible Cause: FM radio
Anomaly: comm's blocked, Phase: GR/CL, Possible Cause: Nintendo, cellphone, notebooks
Anomaly: off course, Possible Cause: tape machine+Nintendo
Anomaly: off course, Phase: ER, Possible Cause: cellphone
Anomaly: both VORs lost, no VOR audio signal, Phase: ER, Possible Cause: cellphone
Anomaly: all directional gyros lost, Possible Cause: 25 radio's, 1 laptop
Anomaly: compass error; off course, Phase: ER, Possible Cause: laptop, comp.game
Anomaly: 2 missed approaches, Phase: FA, Possible Cause: PED suspected
Anomaly: loss of all autonav functions, Phase: CL, Possible Cause: 3 laptops, cdplayer/radio
Anomaly: loc receiver anomaly; missed app., Phase: FA, Possible Cause: PED suspected
Anomaly: compass precess 10deg, Phase: ER, Possible Cause: laptop
Anomaly: Omega NAV unreliable, Phase: ER, Possible Cause: tv set suspected
Anomaly: HSI errors, Phase: TA,CL,ER, Possible Cause: cellphone
Anomaly: nav compass sys error; off course, Phase: CL, Possible Cause: cellphone
Anomaly: temp loss of com freq., Possible Cause: cd player
Anomaly: INS nav errors, Possible Cause: electronic games
Anomaly: off course, Possible Cause: cellphone
Anomaly: eng fuel ctlr + vhf radio interference, Possible Cause: cellphone
Anomaly: off course, Possible Cause: laptop
Anomaly: EMI interference & radio alt flag, Phase: ER, Possible Cause: cd-players (2)
Anomaly: erratic cdi indications, Phase: ER, Possible Cause: 2 gameboys
Anomaly: autopilot erratic, Phase: AP, Possible Cause: cellphone suspected
Anomaly: off course, Possible Cause: gameboy
Anomaly: nav radio interference; off ILS course, Phase: AP, Possible Cause: computer game
Anomaly: EMI interference causes a split between the compass system in flight ER laptop both LOC and GS 'OFF' flags showed just prior to the Outer Marker
Phase: AP, Possible Cause: PED suspected
Anomaly: significant LOC rate of deflection, Phase: AP, Possible Cause: PED possible
Anomaly: loss of Captain EFIS display, Phase: AP, Possible Cause: 8 laptops
Anomaly: electronic compass erratic, Possible Cause: cd player
Anomaly: interfering transmitter, Phase: AP, Possible Cause: cellphone
Anomaly: NAV and COM radio problems, Phase: PED, Possible Cause: suspected
Anomaly: off approach path, Phase: AP, Possible Cause: PED suspected
Anomaly: off course due to drifting, Phase: FM, Possible Cause: PED suspected
Anomaly: HSI discrepencies, Possible Cause: PED suspected
Anomaly: EICAS interference, airspeed discrep., Phase: ER, DC, Possible Cause: PED
Anomaly: loss of COM frequency, Possible Cause: cellphone
Anomaly: ILS, radio altimeter, and primary flight display went out, Possible Cause: 20 cellphones
Yeah, Mozilla support XML and I even think it supports XSLT for any layout needs. However, I still think XML in Office 11 is meant for parsers and automated systems, since I don't think MS would bother with it when they already have implemented HTML for web purposes. But I can't be completely sure of what Steve Ballmer & co are planning. :-)
I mean.. How is the flight crew going to tell the difference from an "ok" phone and a "bad" phone? Will they have to take your phone and check if it has some special certificate or what?
Whats wrong with HTML and CSS2 for all your word processing?
I don't think the new XML format is meant for documents you wish to publish on the web. Office already support the HTML format pretty well (with some extensions.. ahem) since Office 2000. HTML support works even better in Office XP since it allow you to save the document as "filtered HTML", where Office filters most of the Office-specific tags and attributes at the cost of loosing some information in the document.
I think the XML format is being added since XML represent the document with a much more meaningful structure that's easier to parse by third party software for use in electronic commerce and other automated systems, something that's inappropriate to use HTML code for, as it was designed to make pretty layouts, not to describe content for easy parsing.
I think it's pretty obvious why MS would want to add XML support - to spread their Office document format and make Office useful in places such as web services where it wouldn't be as useful before.
Wow, I want one of those. :) (technical specs here btw).
:)
Plays & records DVD-RAM, plays & records DVD-R, plays CD-R/RW, built-in 40 Gb hard disk for 52 hours of recordings... Hmm...!
$999.95 ($29.95 per 9.4 Gb recordable DVD-RAM disc for 240 minutes)
A bit expensive but it's one of those "I need" gizmos.
... when do pigs fly ...
They already can, silly!
Pigs entering atmosphere
And in other news:
Dead pigs fly from truck, almost hit minivan