To clarify a little:

I think that mootools and prototype both use the javascript '$' notation. You'll have to turn it off in mootools to make them play nicely.

I know that jQuery has "noConflict" mode that does exactly that, I have no idea if mootools has an equivalent.

-Dan


On 29-May-09, at 10:44 AM, Gustavo Adolfo Pizano wrote:

:(, pity, I wish my knowledge in that area will be higher to make it work, it looked so good!, anyway, I thin i will make a simpler one.. for now.

Thanks anyway

G

On May 29, 2009, at 6:31 PM, Chuck Hill wrote:


On May 29, 2009, at 9:28 AM, Gustavo Adolfo Pizano wrote:

Hello, I have downloaded some JS that uses mootools, I need them for tooltips, the only thing I did was modifying the images for the tooltip.

I did I a test html page and put it in my desktop, and the tooltip works.

Then I imported the .JS into the project in the WebServerResourcers folder, and in the head tag of the html page I imported the 3 .js Im need in the same order as in the example I found using the <wo:ERXJavaScript filename="JS/mootool-core- xxx.js" framework ="app"> and so on the other 2 files.

I put the images also, inside the WebServerResources, under the folder images, as I did in the example outside my project. When I run the application I see nothing in the console saying that it couldn't find the resource for URI.. ... so I suspect all its fine... But when I check if the tooltip is working, then nothing happens, I open the error console, form safari. and it's says something like in the mootols-core-js the $.element is undefined, which is weird since in the example I did outside the project the tooltip just work, under Safari also...

Any ideas?


I think you might have difficulty getting that to work. Maybe try something simpler, like CSS?

http://www.jlhaslip.trap17.com/samples/tooltips/index.html

Chuck


--
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/dan%40stratahealth.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to