Viewing source with ('
Some Text') as the mouseover:
Code:
<!--
for (var x in threads)
{
document.writeln("<img class=\"inlineimg\" src=\"images/buttons/lastpost.gif\" alt=\"\" border=\"0\" /> <a onmouseover=\"Tip('Some text')\" onmouseout=\"UnTip()\" href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />");
}
//-->
</script>
When replacing
Some Text with say,
$gnpdate, this is what view source outputs:
Code:
<!--
for (var x in threads)
{
document.writeln("<img class=\"inlineimg\" src=\"images/buttons/lastpost.gif\" alt=\"\" border=\"0\" /> <a onmouseover=\"Tip('')\" onmouseout=\"UnTip()\" href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />");
}
//-->
Where the variable was placed, nothing shows up at all. And on the mouse over, it is blank as well.