the output is part of the $output variable to display in a module...
$output = <a href =\"#\" class=\"hintanchor\" onMouseover=\"showhint('$tip1', this, event, '$tt')\">test</a>";
So there are quote marks all over the place. $tt is actually a variable that determines the size of the popup and $tip1 is the value of the tip. This all works well as normal html.
The javascript is in the tpl_main.php file and the styles are in the css file... I have lots of similar code like this for onclick's etc and they all work - except this one and the only difference is the single quote marks.
Can 'heredoc' quoting be used where the string is for the $output variable? If so, what would the $output variable look like please?
Unless somene has a better popup script that doesnt use single quotes but can accept variable content?