webForumDet fria alternativet

Rätt färg på besökt länk?

JavaScript

1 svar · 208 visningar · startad av Biasse

Medlem sedan aug. 2003480 inlägg
Frågan#1

Hur gör jag för att få besökta länkar att behålla vit färg i det här scriptet?

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>meny</title>
</head>

<body>

<p>&nbsp;</p>

<table border="0" width="122" style="border-collapse: collapse">
	<tr>
		<td bgcolor="#006600" height="20">
		<p align="center"><b>
		<font face="Verdana" color="#FFFFFF" style="font-size: 9pt">Kontakt</font></b></td>
	</tr>
</table>

<table width="122" border="0" bgcolor="#009900">
  
  
  <tr>
    <td  onmouseover="bgover(this);"
    onmouseout="bgout(this);" style="border-left-width: 1px; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-width: 1px">
	<p target="hoger" align="center"><b>
	<font face="Verdana" size="1" color="#FFFFFF">
	<a target="hoger" href="daniel.htm">
	<span style="text-decoration: none">Tekniker</span></a></font></b></td>
  </tr>
  

</table> 

<script language="javascript1.2" type="text/javascript">
<!--
/*  entire script written by [email]webmaster@frenetic.se[/email]
  feel free to copy and/or alter, but keep this note!
for other free scripts, visit [url]http://www.frenetic.se[/url] */   

function bgover(obj){
 obj.style.background='#33cc33';
 obj.style.cursor='hand';
}

function bgout(obj){
 obj.style.background='';
}
// -->
</script> 

</body>

</html>
Medlem sedan dec. 20025 483 inlägg
#2
<span style="color:#fff...

:)

376 ms totalt · 4 externa anrop · v20260731065814-full.a51de22e
128 ms — deklarationer (db)
0 ms — hämta statistik (cache)
235 ms — hämta tråd, inlägg och bilagor (db)
138 ms — ändringar (db)