adrien wrote:
[color=blue]
> Thanks for all the answers about how to hide scrollbars in netscape.
> The conclusion is that it's not possible. My initial purpose is to compare
> some Netscape and IE possibilities and it's the second time that i have to
> conclude that Netscape can't do something while IE does:
> 1) IE is able to hide scrollbars (even only vertical or only horizontal)
> while Netscape is not.[/color]
It depends on how you do that: it's not possible in MSIE with stylesheet.
[color=blue]
> 2) IE is able to start a sound (wav) when the mouse e.g. goes over an image,
> while Netscape is not.
> Look at this:
> <embed id="noise" type="audio/wav" src="" loop=0 width="0" height="0"
> hidden>
> <img border="0" id="cam" src="image.gif" OnClick="startnoise()" >
> <script language=javascript>
> function startnoise() {
> document.getElementById("noise").src="my.wav" }
> </script>
>[/color]
<embed> is not a valid HTML 4.01 element. <object> is. I have created
sound pages with the same code for NS 6.2+, MSIE 6 for windows, Opera 7.
[color=blue]
> This doen't work with Netscape while the same script but with 'bgsound'
> works with IE.
>
> It becomes very hard to make a webpage that can be read by both browsers ...
>
> adrien
>
>[/color]
<bgsound> is not a valid HTML 4.01 element either.
Again, first validate your page markup code, use validated CSS and use a
full doctype declaration and 90% of the time for not too complex pages,
you won't need any cross-browser code. I have not done a page with sound
on an click event but I believe this could be achieved (just a hunch).
Opera 7, Konqueror (and Safari), Mozilla-based browsers (17 browsers)
and MSIE 6 for Windows (when triggered in standards compliant rendering
mode) do support very well a large amount of CSS1 properties and DOM
level 1 properties and methods and this opinion can be substantiated by
many independent sources.
Your post subject line is partly duplicating/fragmenting a thread you
started elsewhere.
DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/