Im using the interface plugin to change the speed of a timeout (that
the function call it again)

I follow this example to do mine: http://interface.eyecon.ro/demos/slider.html

In Firefox2 works perfect, but IE shows me an error: "The object does
not accept that property or method" (im translating)

the html:
Speed:<label id="label_speed">5 seconds</label>
<div id="slider"><div class="indicator"></div></div>

the javascript:
        $("#slider").Slider({
                accept: ".indicator",
                fractions: 4,
                restricted: true,
                onChange: function( cordx, cordy, x , y)
                {
                        changespeed(cordx);
                },
                values: [
                        [138,138]
                ]
        });

});

function changespeed(cordx) {
        switch (cordx) {
                case 0:
                        speed = 3;
                break;
                case 25:
                        speed = 4;
                break;
                case 50:
                        speed = 5;
                break;
                case 75:
                        speed = 6;
                break;
                case 100:
                        speed = 7;
                break;
        }
        $("#label_speed").html(speed +" seconds");
};


Someone can help me ?
Thanks

Reply via email to