On Jan 28, 8:04 am, "enigma" <enigma
@gmail.com> wrote:
> i want call a javascript function from a .js file in my ajax page
> i want when onmousover event handled open a tooltip dynamical
> i can`t do that please help me...........thank you
You need basic understanding on how JavaScript works... Anyway:
When you include javascript file using
<script src="..." type="text/javascript"></script>
all its functions become available and you can call any of them.
You can use any of the nice libraries (www.prototypejs.org, Dojo, YUI)
to bind your code to mouseover event of particular object.
Then use DOM methods to create absolutely positioned DIV with tooltip.
Or probably someone can propose a library with component for creating
tooltips...
Sincerely,
Alexander
http://www.alexatnet.com/ - PHP/Ajax tips, notes, tutorials