gazza58
06-10-2015, 05:23 PM
Can anyone advise where I'm going wrong; I'm loking to put this Tooltip script into a Javascript so I can repeat on multiple occasions and pages on my website. I want to ensure the text is the same and if I need to edit it updates all instances.
The link I currently have is
<a href="#nogo" Style="Text-Decoration: None" onMouseover="ddrivetip('Beech is a Hard Wood which makes a slightly heavier Skittle Pin Compared to Sycamore.')"; onMouseout="hideddrivetip()"><font color="blue">Beech</font></a>
What i would like to put in it's place is
<script language="JavaScript1.2" src="js/beechtooltip.js"></script>
I tried this within beechtooltip.js but it doesn't appear to work
document.write("<a href'#nogo Style=Text-Decoration: None onMouseover=ddrivetip('Beech is a Hard Wood which makes a slightly heavier Skittle Pin Compared to Sycamore.'); onMouseout=hideddrivetip()><font color=blue>Beech</font></a>")
Any assistance appreciated
The link I currently have is
<a href="#nogo" Style="Text-Decoration: None" onMouseover="ddrivetip('Beech is a Hard Wood which makes a slightly heavier Skittle Pin Compared to Sycamore.')"; onMouseout="hideddrivetip()"><font color="blue">Beech</font></a>
What i would like to put in it's place is
<script language="JavaScript1.2" src="js/beechtooltip.js"></script>
I tried this within beechtooltip.js but it doesn't appear to work
document.write("<a href'#nogo Style=Text-Decoration: None onMouseover=ddrivetip('Beech is a Hard Wood which makes a slightly heavier Skittle Pin Compared to Sycamore.'); onMouseout=hideddrivetip()><font color=blue>Beech</font></a>")
Any assistance appreciated