Re: Mootools JS not working in WO project
Re: Mootools JS not working in WO project
- Subject: Re: Mootools JS not working in WO project
- From: Chuck Hill <email@hidden>
- Date: Fri, 29 May 2009 09:31:57 -0700
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden