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

Denis Mishunov denis.mishunoff at gmail.com
Thu Aug 16 08:31:07 CEST 2007


Thanks for your response, Jeroen.

On Aug 15, 2007, at 11:23 PM, Jeroen Vloothuis wrote:

> 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?

Both. I have done the simple JS file in Plone with the same effects  
and they worked. But I need to pass parameters to my JS script, so  
can't go with simple JS way and I'm not sure how to use the pure ajax  
(I'm really new to ajax technology. But not JS). So, the only way for  
me now is KSS and it doesn't work for me.

>
>> 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

Ok, will try, thanks

>
>> 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?

Yes, it does reappear.

--
Best regards,
Denis Mishunov
PLONE Design-Skinning-Development

mailto:denis.mishunoff at gmail.com
IRC: spliter(#plone)




More information about the Kss-devel mailing list