quentin
03-15-2005, 12:11 AM
I am using
function showDiv(divId)
{
document.getElementById(divId).style.display = 'block';
}
it works fin for mozilla and internet explorer but not with opera
what does opera wants ?
thank you
liorean
03-15-2005, 12:14 AM
Which version of Opera are you talking about. Opera added DOM support with verion 7.0, so anything earlier than that won't handle it. Any recent Opera version will, though.
quentin
03-15-2005, 12:29 AM
i am using Opera 7.54
function showDiv(divId)
{
document.getElementById(divId).style.display = 'block';
}
function hideDiv(divId)
{
document.getElementById(divId).style.display = 'none';
}
..........................................................................
<div class="popups" id="divId1" style="display:none;">
<a href="#" onclick="hideDiv('divId1')">close</a>
</div>
quentin
03-15-2005, 12:31 AM
ypu are right I am sorry
it works with normal html
but the function is embedded in an object (flash) tag
<param name="flashVars" value="url=index.htm&divId1=divId1&divId2=divId2" />
<embed flashVars="url=index.htm&divId1=divId1&divId2=divId2" .....
then opera does read it .. strange because the links are working
i can get index.htm