[jQuery] Convert string into jQuery array

2008-04-18 Thread Cronlajoon
Hi! I have a PHP script which returns a string in a jQuery-format array. Unfortunately doesn't jQuery recognize the string as an Array. How can I convert the string so that jQuery understands that the string is actually an array? This is what the PHP-script returns at the moment: {

[jQuery] clearTimeOut(this.iTimer) is not defined

2008-03-29 Thread Cronlajoon
Hi! I'm currently taking my first steps again my own first plugin. As you probably already figured out, it's not working. It is a small plugin that is supposed to animate a menu or any other element so that it stays visible to the user, even when the user scrolls down the page. Before I can

[jQuery] Re: a mix of normal javascript and jquery?

2008-02-18 Thread Cronlajoon
Have you tried JQuery UI draggable, it has a parent (actually called containment) parameter which works fine for my project... You should be able to get to work with this code (not tested): $('#box').draggable( { containment: '#main' // it's also possible to specify 'parent' or any DOM