> thanks for every reply.

The  direct  cause  is  that  DIV#clogin is hidden unless you add some
visible  content  inside DIV#sbox-content (the 'x' character or really
anything else).

But  I believe the root cause is that you are trying to use 'domready'
within  the Ajax response. Once the main DOM *is* ready, listening for
that  event that won't delay the script at all. Rather, the Squeezebox
is  instantiated  immediately  --  before  the  elements  it needs are
actually   injected   into  the  DOM.  Thus  the  Squeezebox  kind  of
half-loads,  but  some  vars in the initialization end up null, and in
turn element styles are messed up and end up hiding the els.

-- S.

Reply via email to