PHP Classes

[solved] bug on the document.onclick.....

Recommend this page to a friend!

      c_xml  >  All threads  >  [solved] bug on the...  >  (Un) Subscribe thread alerts  
Subject:[solved] bug on the...
Summary:found and solved a problem in in8 with the onclick handler
Messages:1
Author:gbonline
Date:2011-12-04 16:40:22
 

  1. [solved] bug on the...   Reply   Report abuse  
Picture of gbonline gbonline - 2011-12-04 16:40:22
hi, i've tried this class, but in ie8 i've had a prblem that when i click around in the page i seen a javascript error like : tager isn't valid, need an object, row xx ....

so i found that in xmlDump.xsl i've correct like that the definition of the function cl:


// Handle a mouse click
function cl(evt)
{
var e = evt.target;
if (e==null) return;
......


and i correct the assignement like that:

// Set the onclick handler
document.onclick = function () { cl(event);}

that solved the problem.
i hope this help
best regards
Giorgio