Hi,
I am trying to use the tooltip plugin to add tooltips to the navigation thumbnails. Ideally I would like to be able to via javascript, but I can't get any tooltips to work that way. I have only had success by setting tooltips in the xml files.
So for the thumbnails, I have tried modifying my vtourskin.xml so that where the thumbs are added, "skin_addthumbs", I add the following two lines to the for loop:
|
Source code
|
1
2
|
set(layer[get(thumbname)].style, 'hotspot|tooltip');
set(layer[get(thumbname)].tooltip, thumbname);
|
Any advice on how to get this to work would be greatly appreciated.