OK.
It seems you have learned how to check for JavaScript errors.
Now it is time to learn how to debug JS in the Sources tab of Dev Tools.
Put a breakoint on the line with "  $('.marquee').marquee({" and see
whether it is executed.
If it is executed then everything is fine from Wicket side. From there on
it is pure JavaScript.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Jul 26, 2017 at 7:29 AM, ASHU_JAVA <[email protected]> wrote:

> Hello Martin,
>
> Ok, I've corrected the error (*missing :*) on loading the newMarquee.js.
> But even after successful loading of "newMarquee.js" (I've checked with
> alert), no marquee appears(as shown in below image) :-
> <http://apache-wicket.1842946.n4.nabble.com/file/n4678304/Sample_1.png>
>
> It will just display it as normal List Items.
>
> The HTML generated is as shown in below image:-
>
> <http://apache-wicket.1842946.n4.nabble.com/file/n4678304/Sample_2.png>
>
> Can you please share some inputs on how I can make the Javascript
> (newMarquee.js) and CSS (MyPanel.html) execute successfully in a wicket
> Panel?
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Message-Scroll-Banner-in-Wickets-tp4678245p4678304.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to