Question: Does OpenX allow to create banners that contain executable javascript code?
I need Javascript in banner, to process clicks (an another events) on some banner elements.

I'am going to use type of banner invocation --- Javascript Tag

Answer: 
You can use the fact that you can differentiate between a user change and a programmatic change via `event.originalEvent`. For example, you can have code that gets executed when the user makes a change, and different code that gets executed when you make a programmatic change like changing the value. Since [changing the value will trigger the slider's change event](http://api.jqueryui.com/slider/#event-change), you can put your gamma change code within the block that only is triggered on a user's change, not a programmatic change:

```
change: function (event) {
    if (event.originalEvent) {
        //stuff to adjust gamma of image ONLY WHEN USER CHANGES THE SLIDER
        console.log('user change');
    }
}

```

You can see in this **[jsFiddle example](http://jsfiddle.net/j08691/2YggL/)** that the slider's value is changed to 50, yet no log message is generated unless the user moves the slider. If you comment out the if condition you'll see the log message gets generated not only after the user changes the slider's value, but when you make a change to the value programmatically.
Maybe you can call the slider method passing a new configuration, which probably would be exactly the same object you are passing as parameter, but with the "value" field changed.

I have done a test in one of my old projects and it worked for me.