7 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
function toggle_det(elementname)
{
if (document.getElementById(elementname).style.visibility == "visible" )
{
document.getElementById(elementname).style.visibility = "hidden";
document.getElementById(elementname).style.position = "absolute";
} else {
document.getElementById(elementname).style.visibility = "visible";
document.getElementById(elementname).style.position = "relative";
};
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div id="id<TMPL_VAR NAME="MID">" class="detail">
<strong>Allgemeine Daten</strong><br />
Geburtsdatum: <TMPL_VAR NAME="Geburtsdatum"><br />
Eintritt: <TMPL_VAR NAME="Eintritt"><br />
Austritt: <TMPL_VAR NAME="Austritt"><br />
Funktion: <TMPL_VAR NAME="Funktion"><br />
Ausbildung: <TMPL_VAR NAME="Ausbildung"><br />
Fachrichtung: <TMPL_VAR NAME="Fachrichtung"><br />
<br />
<strong>Privatadresse</strong><br />
Strasse:<TMPL_VAR NAME="Strasse"><br />
Wohnort:<TMPL_VAR NAME="PLZ"> <TMPL_VAR NAME="Wohnort"><br />
<br />
<strong>Aktienanzahl:</strong> <TMPL_VAR NAME="Aktienanzahl"><br />
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>IE fails.</title>
<style type="text/css">
<!--
table { border-style: solid;
border-width: 3px;
}
.detail {
border-style: solid;
border-width: 1px;
border-color: P
background-color:#FFFFDD;
visibility: hidden;
position: absolute;
}
.outer {
border-style: solid;
border-width: 0px;
border-bottom-width: 1px;
border-color: àµ
background-color:#DDDDFF;
padding: 1px;
}
-->
</style>
<script type="text/javascript">
<!--
function toggle_det(elementname)
{
if (document.getElementById(elementname).style.visibility == "visible" )
{
document.getElementById(elementname).style.visibility = "hidden";
document.getElementById(elementname).style.position = "absolute";
} else {
document.getElementById(elementname).style.visibility = "visible";
document.getElementById(elementname).style.position = "relative";
};
}
// -->
</script>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<a href="javascript:toggle_det('id1');">1. On/Off</a><br />
<div id="id1" class="detail">
<table><tr><td>Hello</td><td>World</td></tr>
<tr><td>IE</td><td>fails!</td></tr></table>
</div>
<a href="javascript:toggle_det('id2');">1. On/Off</a><br />
<div id="id2" class="detail">
<table><tr><td>Hello</td><td>World</td></tr>
<tr><td>Firefox</td><td>succeeds!</td></tr></table>
</div>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>IE fails.</title>
<style type="text/css">
<!--
table { border-style: solid;
border-width: 3px;
}
.detail {
border-style: solid;
border-width: 1px;
border-color: P
background-color:#FFFFDD;
visibility: hidden;
position: absolute;
}
.outer {
border-style: solid;
border-width: 0px;
border-bottom-width: 1px;
border-color: àµ
background-color:#DDDDFF;
padding: 1px;
}
-->
</style>
<script type="text/javascript">
<!--
function toggle_det(elementname)
{
if (document.getElementById(elementname).style.visibility == "visible" )
{
document.getElementById(elementname).style.visibility = "hidden";
document.getElementById(elementname).style.position = "absolute";
} else {
document.getElementById(elementname).style.visibility = "visible";
document.getElementById(elementname).style.position = "relative";
};
}
// -->
</script>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<a href="javascript:toggle_det('id1');">1. On/Off</a><br />
<table id="id1" class="detail"><tr><td>Hello</td><td>World</td></tr>
<tr><td>IE</td><td>fails!</td></tr></table>
<a href="javascript:toggle_det('id2');">1. On/Off</a><br />
<table id="id2" class="detail"><tr><td>Hello</td><td>World</td></tr>
<tr><td>Firefox</td><td>succeeds!</td></tr></table>
</body>
</html>
7 Einträge, 1 Seite |