PDA

View Full Version : Using onMouseover to pull xml value to fixedtooltip



Snaven
01-05-2006, 09:41 PM
I'm not having success in finding the proper syntax for this. Can some school me :o

<a onMouseover="fixedtooltip (<xml id="note" src="note.xml"> </xml>)" onMouseout="delayhidetip()">Applicants:</a></div>

ddadmin
01-05-2006, 11:11 PM
Hi:
Please post questions in the right forum. As this is a DD related script, it should go under "DD Scripts help." I've moved the thread for you this time. Also, .

To answer your question, you can't use XML in such a manner to dynamically populate HTML or JavaScript on the page. You'll need to use some sort of server side language, such as PHP:


<a onMouseover="fixedtooltip (<?echo $tooltipstuff; ?>)" onMouseout="delayhidetip()">Applicants:</a></div>

It really depends on how your server is set up, and your knowledge of the server side language in question.