[jQuery] Re: Problem with plugins

2009-12-02 Thread Paulodemoc
Omg, I can't believe that was the problem You guys are the best :P I didn't know this particularity about jQuery... it's logical though Thanks you all for the help and your time. Att. Paulo Henrique ;) On Dec 2, 4:09 am, Michael Geary m...@mg.to wrote: Don't feel bad. You made it

Re: [jQuery] Re: Problem with plugins

2009-12-02 Thread Michael Geary
Glad to help. It's nothing specific to jQuery, of course. Here's a simplified test case: var Test = function() {}; Test.prototype.foo = function() { alert('bar'); }; var test = new Test; test.foo(); // alerts 'bar' var Test = function() {}; var test = new Test;

[jQuery] Re: Problem with plugins

2009-12-01 Thread Paulodemoc
Hey Michael :) ALl jQuery commands are working just fine. When I try the commands you told me, it outputs 1.3 I have a test page here: http://jquery.creandi.eu You can login with user: admin and password: 123456 On the menu on the left, click on mannequins, and then click on Insert photos, on

[jQuery] Re: Problem with plugins

2009-12-01 Thread Scott Sauyet
On Dec 1, 6:30 am, Paulodemoc paulode...@gmail.com wrote: [ ... ] I have a test page here:http://jquery.creandi.eu [ ... ] I've spent a fair bit of time looking at this with no luck. I think the thing to do is to make some test pages from this, progressively stripping out parts until you find

Re: [jQuery] Re: Problem with plugins

2009-12-01 Thread Michael Geary
Paulo, you're loading jQuery twice. First you load jQuery, then you load your plugins, then you load jQuery again. That second load of jQuery wipes out the original jQuery and all its plugins. Do a View Source on your page with the sort photos link, and search for: script You will see the extra

[jQuery] Re: Problem with plugins

2009-12-01 Thread Scott Sauyet
On Dec 1, 5:31 pm, Michael Geary m...@mg.to wrote: Paulo, you're loading jQuery twice. First you load jQuery, then you load your plugins, then you load jQuery again. That second load of jQuery wipes out the original jQuery and all its plugins. Do a View Source on your page with the sort

Re: [jQuery] Re: Problem with plugins

2009-12-01 Thread Michael Geary
Don't feel bad. You made it easy for me. Since you'd already done some investigating and ruled out a number of possibilities, all I had to do was look at the one or two things you might have missed! :-) On a more serious note, this thread is a great example of why we keep asking people to post a

[jQuery] Re: Problem with plugins

2009-11-30 Thread Paulodemoc
The plugins are being loaded. When I open the source code and click on the js url, it opens alright But when I call the command: $(selector).pluginFunction({options}); An error message appears saying that pluginFunction is not a function... on ALL plugins... On Nov 27, 12:45 pm, Brett

[jQuery] Re: Problem with plugins

2009-11-30 Thread Scott Sauyet
On Nov 30, 10:48 am, Paulodemoc paulode...@gmail.com wrote: The plugins are being loaded. When I open the source code and click on the js url, it opens alright But when I call the command: $(selector).pluginFunction({options}); An error message appears saying that pluginFunction is not

Re: [jQuery] Re: Problem with plugins

2009-11-30 Thread Michael Geary
Could it be that you are also loading prototype.js or some other library that redefines the $() function? Does it find plugin methods if you use jQuery(...)... instead of $(...)...? Do the built-in jQuery methods show up? What does it display if you enter each of these lines into the Firebug

[jQuery] Re: Problem with plugins

2009-11-27 Thread Paulodemoc
This code is on a .php file... i just renamed the file to .js to attach to the e-mail... On Nov 23, 9:05 am, Michel Belleville michel.bellevi...@gmail.com wrote: First of all, if this is a .js script, why is there html in the first few lines ? Michel Belleville 2009/11/23 Paulodemoc

Re: [jQuery] Re: Problem with plugins

2009-11-27 Thread Brett Ritter
On Mon, Nov 23, 2009 at 5:55 AM, Paulodemoc paulode...@gmail.com wrote: Its the javasscript on the php page, and the only php there is to output the urls, and these urls are being printed correctly The url doesn't affect the understanding of the rest of the code... If your plugins aren't

[jQuery] Re: Problem with plugins

2009-11-23 Thread Paulodemoc
Its the javasscript on the php page, and the only php there is to output the urls, and these urls are being printed correctly The url doesn't affect the understanding of the rest of the code... On Nov 19, 3:08 pm, Michael Geary m...@mg.to wrote: Can you post a link to a test page? It's

Re: [jQuery] Re: Problem with plugins

2009-11-23 Thread Michel Belleville
First of all, if this is a .js script, why is there html in the first few lines ? Michel Belleville 2009/11/23 Paulodemoc paulode...@gmail.com Its the javasscript on the php page, and the only php there is to output the urls, and these urls are being printed correctly The url doesn't