I am trying to do a simple version of something that I saw on Foxton's website:
http://newyork.foxtons.com/search?s...cation_ids=3004
(from the map, if you click on Queens, it causes a list of neighborhoods to appear)
I tested that, and it works in IE, Mozz and Firefox.
So, I tried to make a simplified version that would perform the same task, but when I test it in IE, I recieve a warning in the toolbar that says,
"To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options..."
my simple version only uses javascript (as does Foxton's site), but the Foxton site does not generate that same warning.
What gives ???
Here is my dopey code, just so you can see what IE is barking about.
I have already provided a link to Foxton's site (above). No barks from IE on that one.
I would just like to accomplish this very simple task without causing IE any undue stress.
Any help would be appreciated.
<HTML>
<HEAD>
<script language ="javascript">
function d1()
{
document.all.div1.style.display = 'block';
document.all.div2.style.display = 'none';
document.all.div3.style.display = 'none';
}
function d2()
{
document.all.div1.style.display = 'none';
document.all.div2.style.display = 'block';
document.all.div3.style.display = 'none';
}
function d3()
{
document.all.div1.style.display = 'none';
document.all.div2.style.display = 'none';
document.all.div3.style.display = 'block';
}
</script>
</HEAD>
<BODY>
<div style="position:absolute; left:200px; top:50px;">
<div id="div1" STYLE="display: none">DIV 1 text</div>
<div id="div2" STYLE="display: none">DIV 2 text</div>
<div id="div3" STYLE="display: none">DIV 3 text</div>
</div>
<div style="position:absolute; left:300px; top:300px;">
<input type="radio" name="r1" onClick="d1();">
<input type="radio" name="r1" onClick="d2();">
<input type="radio" name="r1" onClick="d3();">
</div>
</body>
</HTML>
*** btw, I changed the title of this thread from:
displaying blocks for cross-browser use (that was probably a pretty crappy description of the problem

)