Hi Carlos,
thanks a lot for the hint and the info, works now as expected.
Kind regards
David
On 21.06.2016 19:29, Carlos Montero Canabal wrote:
Hi,
In Tapestry 5.4.X versions "$(window).on('load', function ()" is never call it
for requireJs. So you can create a module as:
Hi,
In Tapestry 5.4.X versions "$(window).on('load', function ()" is never call it
for requireJs. So you can create a module as:
my-affix-module.js (into META-INF/modules folder) with the code
define([“jquery”, “bootstrap/affix"], function($) {
return function(){
Hi,
i try this example:
http://www.w3schools.com/bootstrap/bootstrap_affix.asp
with
void afterRender() {
_javaScriptSupport.require("bootstrap/affix");
}
in a T5.4.1 environment, and the affix.js is loaded, require.js and
jquery.js do some initialization, but the