Bill said:
Hi
Anyone got any pointers to a resource detailing the MM_ functions so many
pages use? A google search on say, MM_showHideLayers (waht that?) simply
returns huge numbers of pages that actually use this routine.
As ever, all help gratefully received.
Cheers
Bill
Sir, I'm happy you posted your question. I definitively, resolutely and
absolutely recommend that you do not use any of the MM_ script functions
for hundreds of reasons:
- poor quality, outdated, unreliable
- does not work in recent browser versions, does not always work
cross-browser
- resort to document.write(), innerHTML, setTimeout(exp,10),
setInterval(exp,10), eval() and many commands which are very demanding
for (hogging) RAM-cpu-resources of the users
- poor or incorrect browser detection (instead of detecting browser
support for properties and methods)
- does not call DOM 2 methods, even the ones which are known to be well
supported by recent browsers (MSIE 6, Mozilla 1+, Opera 6+).
- resort to general purpose commands instead of more efficient ones (DOM
methods)
- 90% of the time, these functions are not optimized, robust, efficient
- resort to "javascript:" pseudo-protocol in the href value
- create bugs
Overall, these script functions do or use the bad "things" that regulars
in this newsgroup (and in other web programming newsgroups) and
professional web developers condemn and denounce as bad code.
DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunclear/Netscape7/Netscape7Section.html