Op deze pagina werkt alles perfect, behalve:
1 - De <a>'s worden niet zwart gemaakt, terwijl dit in mijn internal css staat:
2 - a:hover geeft geen underline terwijl dat boven wel staat
3 - De overflow werkt niet (zie de links-pagina) terwijl dit de <td> tag is:
4 - De topmargin werkt niet in de td, terwijl in mijn <td> wat hierboven geschreven is staat
oh, en hier is trouwens de hele pagina source:
Kan iemand mij helpen?
sorry trouwens voor de lay-out-verkloting
1 - De <a>'s worden niet zwart gemaakt, terwijl dit in mijn internal css staat:
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
| a:link
{
font-color: #000000;
font-size: 10px;
font-family: Verdana,Arial,Helvetia;
font-style: italic;
text-decoration: none;
}
a:hover
{
font-color: #000000;
font-size: 10px;
font-family: Verdana,Arial,Helvetia;
text-decoration: underline;
}
a:visited
{
font-color: #000000;
font-size: 10px;
font-family: Verdana,Arial,Helvetia;
font-weight: bold;
font-style: italic;
text-decoration: none;
} |
2 - a:hover geeft geen underline terwijl dat boven wel staat
3 - De overflow werkt niet (zie de links-pagina) terwijl dit de <td> tag is:
code:
1
| <td width="584px" height="220px" style="margin-top: 6px; overflow: auto;"> |
4 - De topmargin werkt niet in de td, terwijl in mijn <td> wat hierboven geschreven is staat
oh, en hier is trouwens de hele pagina source:
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
| <html>
<head>
<style type="text/css">
body
{
margin-top: 0px;
margin-left: 0px;
background-color: #88FF1E;
border: 0px;
}
#sitetabel,td
{
border: 0px;
font-color: #000000;
font-family: Verdana,Arial,Helvetia;
font-size: 10px;
text-align: left;
vertical-align: top;
}
select,option
{
font-color: #000000;
font-family: Verdana,Arial,Helvetia;
font-size: 10px;
text-align: left;
vertical-align: top;
}
img
{
border: 0px;
}
#titel
{
font-color: #000000;
font-size: 18px;
font-family: Verdana,Arial,Helvetia;
font-weight: bold;
}
#sub
{
font-color: #000000;
font-size: 10px;
font-family: Verdana,Arial,Helvetia;
font-weight: bold;
font-style: italic;
}
#b1img,#b2img,#b3img,#b4img,#b5img
{
cursor: hand;
}
a:link
{
font-color: #000000;
font-size: 10px;
font-family: Verdana,Arial,Helvetia;
font-style: italic;
text-decoration: none;
}
a:hover
{
font-color: #000000;
font-size: 10px;
font-family: Verdana,Arial,Helvetia;
text-decoration: underline;
}
a:visited
{
font-color: #000000;
font-size: 10px;
font-family: Verdana,Arial,Helvetia;
font-weight: bold;
font-style: italic;
text-decoration: none;
}
</style>
<script language="JavaScript">
var numC = 0
function changeColor(color)
{
if (color == 0)
{
numC = 0
document.colorForm.colorSelect.style.background = "88FF1E"
document.getElementById('textdiv').style.background = "88FF1E"
document.body.style.background = "88FF1E"
document.getElementById('topimg').src = "top.gif"
document.getElementById('leftimg').src = "left.gif"
document.getElementById('rightimg').src = "right.gif"
document.getElementById('bovbutimg').src = "bovbut.gif"
document.getElementById('b0img').src = "b0.gif"
document.getElementById('b1img').src = "b1.gif"
document.getElementById('b2img').src = "b2.gif"
document.getElementById('b3img').src = "b3.gif"
document.getElementById('b4img').src = "b4.gif"
document.getElementById('b5img').src = "b5.gif"
document.getElementById('b6img').src = "b6.gif"
}
if (color == 1)
{
numC = 1
document.colorForm.colorSelect.style.background = "81853F"
document.getElementById('textdiv').style.background = "81853F"
document.body.style.background = "81853F"
document.getElementById('topimg').src = "top-2.gif"
document.getElementById('leftimg').src = "left-2.gif"
document.getElementById('rightimg').src = "right-2.gif"
document.getElementById('bovbutimg').src = "bovbut-2.gif"
document.getElementById('b0img').src = "b0-2.gif"
document.getElementById('b1img').src = "b1-2.gif"
document.getElementById('b2img').src = "b2-2.gif"
document.getElementById('b3img').src = "b3-2.gif"
document.getElementById('b4img').src = "b4-2.gif"
document.getElementById('b5img').src = "b5-2.gif"
document.getElementById('b6img').src = "b6-2.gif"
}
}
function initText(number)
{
if (number == 0)
{
var text = "<form name='colorForm'>"
if (numC == 0)
{
text = text + "<select style='background-color: #88FF1E' name='colorSelect' onChange='javascript: changeColor(document.colorForm.colorSelect.selectedIndex)'><option selected>Groen-Geel</option><option>Oranje-Bruin</option></select></form>"
}
if (numC == 1)
{
text = text + "<select style='background-color: #81853F' name='colorSelect' onChange='javascript: changeColor(document.colorForm.colorSelect.selectedIndex)'><option>Groen-Geel</option><option selected>Oranje-Bruin</option></select></form>"
}
}
if (number == 1)
{
var text = "Tekst voor Portfolio"
}
if (number == 2)
{
var text = "<div id='titel'>Info</div><div id='sub'>Over mij</div>Nick: JuNT<br>Naam: Julien Nuijten<br>Leeftijd: 13<br>Woonplaats: Amsterdam<br>Nationaliteit: Half Nederlands, half Frans<br>Hobby's enz.: Games, Graphics, Webdesign<br>School: Cartesius Lyceum Amsterdam, Atheneum 2<br><div id='sub'>Over deze site</div>Deze site is gemaakt door Julien Nuijten. De plaatjes zijn gemaakt met Photoshop 7.0 en de HTML is in elkaar gezet met Notepad. Deze site werkt goed als je Internet Explorer 6 of Netscape Navigator 6 hebt."
}
if (number == 3)
{
var text = "<div id='titel'>Contact</div>U kunt op 2 manieren contact met mij opnemen:<br><a href='mailto:djfinalweb@hotmail.com'>Via E-Mail</a><br>Via MSN Messenger. Mijn adres is: djfinalweb@hotmail.com"
}
if (number == 4)
{
var text = "<div id='titel'>Links</div><br><a href='http://gathering.tweakers.net/' target='_blank'>Gathering of Tweakers</a><br>Gathering of Tweakers is een Nederlands forum over alles wat met computers te maken heeft. Zelf ben ik vaak te vinden op het subforum Webdesign & Graphics.<br><br><a href='http://www.gfxartist.com/' target='_blank'>GFX Artist - The Digital Art Community</a><br> Engelstalige site waarop informatie is te vinden over alles dat met digitale kunst te maken heeft. Je kunt ook je eigen werk erop zetten en het laten beoordelen door andere members. Je kunt zelf natuurlijk ook werk van anderen beoordelen. Zelf ben ik er te vinden onder de naam JuNT.<br><br><a href='http://www.google.com/' target='_blank'>Google</a><br>De beste en snelste zoeksite van het WWW. Er is niet alleen een een normale zoekmachine, maar ook een speciale afbeeldingenzoeker. Zowel Engelstalig als Nederlandstalig.<br><br><a href='http://www.w3.org/' target='_blank'>The World Wide Web Consortium</a><br>Dit is de beste site voor informatie over alles wat met internet en webdesign te maken heeft. Op <a href='http://www.w3schools.com/' target='_blank'>W3 Schools</a> kan je tutorials doen van simpele HTML tot ASP.<br><br>"
}
document.getElementById('textdiv').innerHTML = text
}
</script>
</head>
<body onLoad="initText(0); changeColor(document.colorForm.colorSelect.selectedIndex)">
<table cellspacing="0px" cellpadding="0px" width="750px" id="sitetabel">
<tr>
<td colspan="3">[img]"top.gif"[/img]</td>
</tr>
<tr>
<td>[img]"left.gif"[/img]</td>
<td width="584px" height="220px" style="margin-top: 6px; overflow: auto;"><div id="textdiv" width="100%" height="100%"></div></td>
<td>[img]"right.gif"[/img]</td>
</tr>
<tr>
<td colspan="3">[img]"bovbut.gif"[/img]</td>
</tr>
<tr>
<td colspan="3">[img]"b0.gif"[/img]<a href="#">[img]"b1.gif"><img[/img][img]"b3.gif"><img[/img][img]"b5.gif"></a><img[/img]</td>
</tr>
</table>
</body>
</html> |
Kan iemand mij helpen?
sorry trouwens voor de lay-out-verkloting
edit:
En ja, ik ga idd bij de color change eerst de images preloaden...
En ja, ik ga idd bij de color change eerst de images preloaden...