New Zenner
- Join Date:
- Mar 2011
- Posts:
- 18
- Plugin Contributions:
- 0
Mouse Over
I hope this is the best section for this but I wanted to add a row of say 8 images in the product description and above the image will be the word Features, then when you mouse over the images the feature will be displayed in a text box above the image:
So
Features: Text appears here
Image 1 - Image 2 - Image 3 - Image 4 - Image 5
When you mouse over the image text will appear next to the word features.
I believe this will be javascript and I have some code here:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head> <title></title> <script language="JavaScript" type="text/javascript"> <!-- function CngTxt(id,txt){ var obj=document.getElementById(id); if (txt){ obj.innerHTML=txt; } else { obj.innerHTML='some standard text'; } }//-->
</script>
But I'm not sure where I could add this code, any suggestions?
At a guess I'd add the <head> part in a general <head> tag and the script will be in the actual product description box?