The context for this: jsFiddle link
I'm trying to make it so the changeWidth function's second parameter can be a percentage value (like in css: something: 50%;
). If you follow the link I provided it should be fairly obvious why I'm trying to do this. I thought maybe the parameter passed is just a number (e.g. 75), but then in the method itself it converts it to a % for use in the animate(..) invocation... But I don't know how to do this either.
Any ideas? :)
EDIT: I managed it! Don't worry! (If interested, see this)!