This is a problem that is a real puzzler and I've got a similar thing working in the same module so I'm not sure why it is not working in this particular instance. I'm posting what I think are the salient points, not the entire code (although I can do that if the solution doesn't seem obvious)...
Ok I got it fixed. The problem was it didn't like what I was doing with the brackets for the onMouseOver and onMouseOut events.
I added single quotation marks in the function brackets and voila all ok. I have to tweak what the JavaScript actually does, but at least this part is squared away...
And also as promised here is a cut-and-paste of what the code looks like in IE:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type"...
I have some code that worked not bad, until I've added PHP to it. The problem may be with right around line 12 where I am trying to get the variable in the first place:
function expander(RecordID){
The other possibility is where the element ID is assigned:
echo "<img...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.