dynamisch 'uitschuif' overzicht
Kan iemand me hier bij helpen?
Code (php)
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
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
<style type="text/css">
a:link {color: #FFFFFF}
a:visited {color: #FFFFFF}
a.close_block:link {color: #333333}
a.close_block:visited {color: #333333}
.menu_header {
background-color: #00264E;
color: #FFFFFF;
}
.menu_block {
background-color: #CAE3FF;
color: #FFFFFF;
width:auto;
}
.close_block {
width: 100%;
bottom: 0px;
height: 15px;
text-align: center;
}
.style2 {
color: #FFFFFF;
font-weight: bold;
}
.style5 {color: #333333}
</style>
<script src="scriptaculous/lib/prototype.js" type="text/javascript"></script>
<script src="scriptaculous/lib/hide_divs.js" type="text/javascript"></script>
<script src="scriptaculous/src/scriptaculous.js" type="text/javascript"></script>
</head>
<body bgcolor="00264E">
<p>
a:link {color: #FFFFFF}
a:visited {color: #FFFFFF}
a.close_block:link {color: #333333}
a.close_block:visited {color: #333333}
.menu_header {
background-color: #00264E;
color: #FFFFFF;
}
.menu_block {
background-color: #CAE3FF;
color: #FFFFFF;
width:auto;
}
.close_block {
width: 100%;
bottom: 0px;
height: 15px;
text-align: center;
}
.style2 {
color: #FFFFFF;
font-weight: bold;
}
.style5 {color: #333333}
</style>
<script src="scriptaculous/lib/prototype.js" type="text/javascript"></script>
<script src="scriptaculous/lib/hide_divs.js" type="text/javascript"></script>
<script src="scriptaculous/src/scriptaculous.js" type="text/javascript"></script>
</head>
<body bgcolor="00264E">
<p>
Code (php)
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
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
<?php
$project="
SELECT
pjt_projectid,
pjt_productdesc,
pjt_targetprice,
pjt_requestedby,
pjt_targetetd,
pjt_productgroupid
FROM
tbl_project";
$projectresult = mssql_query($project);
while (list ($pjt_projectid,
$pjt_productdesc,
$pjt_targetprice,
$pjt_requestedby,
$pjt_targetetd,
$pjt_productgroupid) = mssql_fetch_row($projectresult)){
$teller=1;
echo("
<table width=85% border=1 align='center' cellpadding=0 cellspacing=0 bordercolor='#CAE3FF'>
<tr>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_productdesc</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_targetprice</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_requestedby</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_targetetd</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_productgroupid</span></td>
<td width=3% bgcolor='336699'><a class='+' href='#' onClick='new Effect.SlideDown(menu_block".$teller."); return false';>[+]</a></td>
</tr>");
echo("
<td colspan=7><div class='menu_block_container' id='menu_block_container'>
<div class='menu_block' id='menu_block".$teller."'>
<table width=100%>
<tr>
<td align='center' width=17%>Proposal description</td>
<td align='center' width=17%>test</td>
<td align='center' width=13%>test</td>
<td align='center' width=17%>test</td>
<td align='center' width=36%>test</td>
</tr>");
echo("
<tr>
<td><a href='new_proposal.php'>Add new proposal</a></td>
<td>test</td>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>\n");
echo '<a href="#" class="close_block" onClick="new Effect.SlideUp(menu_block'.$teller.'); return false;">close</a>';
echo '</table></table>';
$teller++; }?>
$project="
SELECT
pjt_projectid,
pjt_productdesc,
pjt_targetprice,
pjt_requestedby,
pjt_targetetd,
pjt_productgroupid
FROM
tbl_project";
$projectresult = mssql_query($project);
while (list ($pjt_projectid,
$pjt_productdesc,
$pjt_targetprice,
$pjt_requestedby,
$pjt_targetetd,
$pjt_productgroupid) = mssql_fetch_row($projectresult)){
$teller=1;
echo("
<table width=85% border=1 align='center' cellpadding=0 cellspacing=0 bordercolor='#CAE3FF'>
<tr>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_productdesc</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_targetprice</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_requestedby</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_targetetd</span></td>
<td width=15% bgcolor='336699'><span class='style2'>$pjt_productgroupid</span></td>
<td width=3% bgcolor='336699'><a class='+' href='#' onClick='new Effect.SlideDown(menu_block".$teller."); return false';>[+]</a></td>
</tr>");
echo("
<td colspan=7><div class='menu_block_container' id='menu_block_container'>
<div class='menu_block' id='menu_block".$teller."'>
<table width=100%>
<tr>
<td align='center' width=17%>Proposal description</td>
<td align='center' width=17%>test</td>
<td align='center' width=13%>test</td>
<td align='center' width=17%>test</td>
<td align='center' width=36%>test</td>
</tr>");
echo("
<tr>
<td><a href='new_proposal.php'>Add new proposal</a></td>
<td>test</td>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>\n");
echo '<a href="#" class="close_block" onClick="new Effect.SlideUp(menu_block'.$teller.'); return false;">close</a>';
echo '</table></table>';
$teller++; }?>
(Afbeelding overzicht; http://www.yousendit.com/download/M3Bra0ZlUzc1UjQwTVE9PQ )
Gewijzigd op 01/01/1970 01:00:00 door Karel
-edit-
Dat was niet de bedoeling, ik wilde er nog iets aan toevoegen en had ik eigenlijk inderdaad op deze manier moeten doen
Gewijzigd op 01/01/1970 01:00:00 door karel
* Bumpen * is pas na 24 uur toegestaan.