[opencms-dev] cms:container included content and jquery ready

lruggeri at maticad.it lruggeri at maticad.it
Mon Oct 20 10:57:14 CEST 2014


Hi,

I have an opencms 8.5.2 template which includes some content using
cms:container tags

The included content contains javascript code wrapped into
$(document).ready() jquery function.

 

My problem is that the ready event is firing before the html content of one
the cms:container tags is loaded, breaking the javascript code.

I would like to know if anyone encountered this issue, and if there is a
workaround.

 

Does cms:container generates javascript in order to include its contents?
It's the only explanation I can find but it does make much sense to me.

Bye, Lisa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20141020/4ed22792/attachment.htm>


More information about the opencms-dev mailing list