12 Jan 2006

How to change cocoon ajax fade affect


<script type="text/javascript">
var myFader = function(elt) {
new cocoon.ajax.Fader(elt, "#EBCA7A").start();
}
cocoon.ajax.BrowserUpdater.highlight = myFader;
</script>

Credit goes to philou and vincent ;)

2 comments:

  1. Anonymous2:04 pm

    Hey, no credit for me that wrote it and made sure you could specify a different color?

    ReplyDelete
  2. I'm thinking of adding a permanent link:

    "Thank you sylvain for you're cocoon full-stack web framework mvc world domination master-piece software."

    to my blog ;)

    ReplyDelete

Note: only a member of this blog may post a comment.