
Originally Posted by
scubajoe
Made the modification acroding to your direction but
it did not work
If by "it did not work" you mean the modification wasn't made to the live version, you are right. I'm still seeing:
Code:
function HideContent(d)
{
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
Not:
Code:
function HideContent(d)
{
if (d.length < 1)
return;
else if (document.getElementById(d))
document.getElementById(d).style.display = 'none';
}
at or about line 185 in your index.js file. And am still getting the error:
This is not anything to do with function fCity(obj), as it has no:
Code:
document.getElementById(d)
in it.
However, I did say that this (function HideContent(d)) wasn't necessarily the cause. But it is hard for me to diagnose the live page while it still contains this known error. Please update the live installation with the correction I've outlined.
Something else I looked into in the meantime was the demo page for the DHTML Window widget (v1.1) script. It doesn't exhibit the problem (flashing white as it launches a 'window') so this almost certainly has something to do with your implementation. Is there anything unusual about your implementation that you might be aware of? Did you fudge anything or push the script beyond its intended use in any way that you are aware of?
Think about this. It's OK if you did something along these lines. It's just that if you did and can think of what that might be, it would probably help in determining either a solution, or if a different script might be better suited to your needs.
Bookmarks