Change to tooltip of the close button
-
Hi All,
I wanted to change the tooltip of the Close button in the popup and tried several methods however none of them has given the result I wanted.
I tried using javascript to select the button id like this:
jQuery(document).ready(function () { $(“#fancybox-close”).attr(“title”, “Sluiten”); });
When inspecting the dom this works until I click to open the popup. The code is then overwritten and the default “Close” tooltip appears.
I tried changing the plugin files hardcoding the tooltip there in the jquery.fancybox.js on line 147 and even on line 161 and still no result.
When inspecting the jquery.fancybox.js in the browser after loading the page none of my changes are there to my suprise.
I tried these changes on all the javascript files and on the versions of fancybox but no succes.
Can anyone help me achieve this simple request that somehow becomes a nightmare?The page I need help with: [log in to see the link]
- The topic ‘Change to tooltip of the close button’ is closed to new replies.