Ik ben bezig met een siteje voor ons pap die 50 word, maar goed..
Het werkt met een iframe en in php en html ben ik behoorlijk thuis, maar in javascript totaaaaal niet.
Nu zit het zo, nu wil ik met een soort van onmouseover linkje in start.php (de pagina die in de frame staat) een stukje 'commentaar' laten zien in een gebiedje op index.php (het design)..
Nu lukt mij dat wel op een pagina, maar ik krijg dat niet getargetted.. kan iemand mij helpen?
dit is de code van index.php
dit van start.php
[url="http://www.ndjs.nl/abraham"]Hier kun je het bezichtigen[/url]
Kan iemand dit voor mij oplossen asap, dat zou erg fijn wezen
Het werkt met een iframe en in php en html ben ik behoorlijk thuis, maar in javascript totaaaaal niet.
Nu zit het zo, nu wil ik met een soort van onmouseover linkje in start.php (de pagina die in de frame staat) een stukje 'commentaar' laten zien in een gebiedje op index.php (het design)..
Nu lukt mij dat wel op een pagina, maar ik krijg dat niet getargetted.. kan iemand mij helpen?
dit is de code van index.php
code:
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
| <html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#2C546B">
<table width="435" border="0" align="center" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="60" colspan="5" valign="top"><img src="images/top.gif" width="750" height="60"></td>
</tr>
<tr>
<td width="5" rowspan="4" valign="top"><img src="images/linx.gif" width="5" height="395"></td>
<td width="545" rowspan="4" valign="top">
<iframe height="395" width="545" src="start.php" frameborder="0"></iframe>
</td>
<td height="30" colspan="3" valign="top"><img src="images/wolkboven.gif" width="200" height="30"></td>
</tr>
<tr>
<td width="35" rowspan="2" valign="top"><img src="images/wolklinks.gif" width="35" height="150"></td>
<td width="130" height="110" valign="top" background="images/wolkback.gif"><div align="center"><font size="2" face="Arial, Helvetica, sans-serif">
Hier moet commentaar
</font></div></td>
<td width="35" rowspan="2" valign="top"><img src="images/wolkrechts.gif" width="35" height="150"></td>
</tr>
<tr>
<td height="40" valign="top"><img src="images/wolkonder.gif" width="130" height="40"></td>
</tr>
<tr>
<td height="215" colspan="3" valign="top"><img src="images/willempie.gif" width="200" height="215"></td>
</tr>
<tr>
<td height="45" colspan="5" valign="top"><img src="images/buttons.gif" width="750" height="45"></td>
</tr>
</table>
<div align="center">
<p><font size="2" face="Arial, Helvetica, sans-serif">&copy;&reg; 2002 - Tex
| Tar </font></p>
</div>
</body>
</html> |
dit van start.php
code:
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
60
| <html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
<!--
var content=new Array()
//change the array below to the text associated with your links Expand or contract the array, depending on how many links you have
content[0]='Test1'
content[1]='Test2'
function changetext(whichcontent){
if (document.all)
descriptions.innerHTML='<font face="Verdana"><small>'+whichcontent+'<font></small>'
}
function reset(){
if (!scriptmenu.contains(event.toElement))
descriptions.innerHTML=temphtml
}
//-->
</script>
</head>
<body bgcolor="#2C546B">
<table width="500" height="*">
<tr>
<td>
<font size="2" face="Arial, Helvetica, sans-serif"><a href="fotos/fotos.php">Fotos</a><br>
<div id="scriptmenu" style="line-height:20px"
onMouseout="reset()"><p><strong><font face="Verdana"><a href="../dynamicindex1/index.html"
onMouseover="changetext(content[0])"><small>blaat</small></a><br>
<a href="#" onMouseover="changetext(content[1])" target="index.php"><small>Test1</small></a><br>
<a href="#" onMouseover="changetext(content[2])" target="index.php"><small>Test2</small></a><br>
</div>
hier lukt het, maar moet hier niet:
<div id="descriptions" align="left"><strong><font
face="Verdana" color="#000000"><p>Welcome to our new look!<br>
</font></strong><font face="Verdana"><small>blaat</small><br>
</font>
</div>
<script language="JavaScript1.2">
if (document.all)
var temphtml=descriptions.innerHTML
</script>
</font>
</td>
</tr>
</table>
</body>
</html> |
[url="http://www.ndjs.nl/abraham"]Hier kun je het bezichtigen[/url]
Kan iemand dit voor mij oplossen asap, dat zou erg fijn wezen