I have not used IE for mac, only windows. On every computer with IE
that I have tried my page, it work fine.
If you have trouble with speed. click on the menu item "hastighet" and
push a button with a lesser number.
I also get the scrollbars, they belong to a hidden <div>, why only the
scrollbars show, I do not know. But again it is only in firefox for
mac.
There are only two relevant scriptfiles: generalfunctions.js and
quicktime.js
The function changing the visibility is the changeVisibility-function
in generalfunctions. It call the changePosition function which changes
the position of the player.
The XML is from the XML-forScript Library, and it is not generating
errors.
Firefox only hangs when I try changing the posisiton, or visibility,
not if I try setting the z-index (which do not work, anyway).
What I need is a method to hide the player that is not active.
On mac I used:
Firefox 1.0.6
Safari 2.0.1
I have not yet coded for Opera.
> I have not used IE for mac, only windows. On every computer with IE
> that I have tried my page, it work fine.
Your page has over 100 validation errors, that it works at all is
because of browser error-correction of your invalid code.
Your doctype claims to be XHTML, yet the source appears to be simply
re-badged HTML. If you change to HTML many of your problems will go
away. Fix the remaining markup errors before going an further.
It seems your issues are to do with the document source code rather than
JavaScript, you may get better answers in:
comp.infosystems.www.authoring.html
> If you have trouble with speed. click on the menu item "hastighet" and
> push a button with a lesser number.
>
> I also get the scrollbars, they belong to a hidden <div>, why only the
> scrollbars show, I do not know. But again it is only in firefox for
> mac.
You have put a form as a child of a table element - that is invalid
markup in both HTML or XHTML, what the browser does with it is guesswork.
You also have many missing closing TR and TD tags, which is OK in HTML
but invalid in XHTML. Whatever the browser decides to do with them you
can't really complain. There are lots of other errors in regard to
attribute names that are likely trivial but would vanish if you drop the
'X'.
Until the markup is valid, attempting to fix display issues will be
unrewarding.
> There are only two relevant scriptfiles: generalfunctions.js and
> quicktime.js
Just a suggestion: there are methods for dom, all and layers which
detect in the wrong order - dom will suit the vast majority (98%?) of
browsers yet is always tested last. The least likely candidate, layers,
is tested first.
No biggie but illogical. Have you considered a single function that
handles dom/all/layers and call that rather than repeating the same code
multiple times (6 I think)?
You also assume that dom browsers support the style object on elements.
That may work most of the time, but better to test for style directly
and not assume it is supported because getElementById is.
[...]
> Firefox only hangs when I try changing the posisiton, or visibility,
> not if I try setting the z-index (which do not work, anyway).
[quoted text clipped - 5 lines]
> Firefox 1.0.6
> Safari 2.0.1
Safari 2.0.1 is only available on Mac OS X 1.4, which would be a
minority of Mac users. Safari is tied to the OS version, you can't
expect Mac-ophiles to update their browser to the latest version (other
than suggesting they use Firefox/Mozilla/Netscape) - but at least you
can allow graceful fall-back.
[...]

Signature
Rob