You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Hans Lesmeister (JIRA)" <ji...@apache.org> on 2013/10/28 14:17:30 UTC

[jira] [Updated] (WICKET-5397) target.prependJavaScript and JQuery-Animation in IE8

     [ https://issues.apache.org/jira/browse/WICKET-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Lesmeister updated WICKET-5397:
------------------------------------

    Attachment: QuickStartWicket6-IE8.zip

Start the Quick-Start with mvn jetty:run
In the Browser: localhost:8182  (Note the port)
Click in Animate: Text slides in and then out again in normal browsers.
In IE8 Text does not slide-in. prepend-Javascript with | (pipe) is not executed.

> target.prependJavaScript and JQuery-Animation in IE8
> ----------------------------------------------------
>
>                 Key: WICKET-5397
>                 URL: https://issues.apache.org/jira/browse/WICKET-5397
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.11.0
>         Environment: IE8 on Windows 7, IE8 on Parallels on a MAC
>            Reporter: Hans Lesmeister
>         Attachments: QuickStartWicket6-IE8.zip
>
>
> Copied from http://apache-wicket.1842946.n4.nabble.com/target-prependJavaScript-and-JQuery-Animation-in-IE8-td4662008.html:
> To enable animation with JQuery on replacing a component with Ajax, we have followed the construct with the "|"-Symbol (pipe) in the Javascript that is added with target.prependJavaScript (see http://wicketinaction.com/2013/02/replace-components-with-animation => Thank you, Martin)
> This does not seem to work in IE8. I pass a function like this: prependJavaScript("notify|myfunction(notify, '" + container.getMarkupId() + "')");
> The Function looks like this:
> function myfunction(notify, id) {
>   Wicket.Log.info("this is not reached in IE8");
>   JQuery("#" + id).slideUp(500, notify);
> }
> In IE8, myfunction is not called at all. On FF and other Browsers everything works okay. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)