[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-developers] some strange beahviour with later updates of h
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-developers] some strange beahviour with later updates of head |
Date: |
Mon, 10 Apr 2006 08:43:57 +0200 (CEST) |
1)
the statement:
<div id="overDiv" style="position:absolute; visibility:hide;z-index:1;"></div>
get translated to:
<div id="overDiv" style="position:absolute; visibility:hide;z-index:1;"/>
And the result is that it is no longer working.
Luckily - the statement is no longer needed with the later versions of
overlib.js (>4.10) - ant the quick sollution is to remove the statement.
2)
In hrm - I have a set of fields - contained within a div - that dependent of a
value of a select - is visible or not.
This one is also no longer working:
here is the code:
<script language ="javascript">
function modplace(form)
{
var val = form.place_id.value
if(val == "new_place")
{
document.all.div1.style.display = "block"
}
else
{
document.all.div1.style.display = "none"
}
}
</script>
and later:
<tr>
<td valign="top">place*</td>
<td>
<select name="place_id" onChange="modplace(this.form)">
<option value="">select a place</option>
<option value="new_place">new place</option>
<option value=""></option>
</select>
</td>
</tr>
</table>
<div id="div1" STYLE="display: none">
<table cellpadding="2" cellspacing="2" width="80%" align="center">
some fields...
</table>
</div>
Any idea how to remedy this?
Regards
Sigurd
- [Phpgroupware-developers] some strange beahviour with later updates of head,
Sigurd Nes <=