2 Answers
2

I've never used Jquery-ui's slider before so I'm not sure if your using it correctly. But you can easily communicate between the processing code and the javascript code by placing a variable on the window object:

With Processing.js it's best to use a property of the Processing class so the same as you have above but you need to first set window.Processing.data = {} then you can add and retrieve from anywhere. Your Processing.js script is still just javascript so the variable can be called and set the usual way.
–
sanchothefatDec 6 '10 at 16:56

do i need to restate the variable as a global variable and in the setup() function? After a few different tries the best I can get is slider that stays locked in place.
–
expiredninjaDec 8 '10 at 4:55

can you post the latest code that your working with... maybe post the page online or something and I'll take a look.
–
ZevanDec 8 '10 at 5:56