[Kss-devel] problem with effects in Opera and IE

Jeroen Vloothuis jeroen.vloothuis at pareto.nl
Wed Aug 15 22:23:26 CEST 2007


Denis Mishunov wrote:

> And they really do work well in all tested
> browsers, being the standalone JS (sure with some additions to apply
> 'click' events to the links on page's load).

Have you tried this inside Plone or only on some demo HTML?

> But, then I wrap it with KSS and here the problem appears. I load the
> page and click the link to which the action is assigned. Action works
> in FF and Safari only. Both Opera and IE create the DIV #overlay, but
> nothing more. They just raise JS error. If I wrap both effects with
> comments, so that they are not available for engine, no errors in any
> browser.

I assume that you have not yet tried KSS in your static setup. You can
easily do this to make sure there is no interference from either packing or
some other Javascript in Plone. You can look for an example on how to use
KSS without any server at:

http://codespeak.net/svn/kukit/euro-python-2007/
http://codespeak.net/svn/kukit/euro-python-2007/static-demo.html

> And now, the Plone's part. When I run all this with debug mode
> disabled in portal_javascript I have got the described behavior -
> nothing happens in Opera and IE. When I switch p[ortal_javascript to
> debug mode, Opera magically does what it should.

This could be either a caching or a packing problem. Does the error reappear
when you turn debug mode off again?


More information about the Kss-devel mailing list