Hej :)
Jeg kan ikke få dette til at virke...kan i hjælpe mig?
function topmenu() {
var d = document
d.writeln('<div class="righttext">')
d.writeln('<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" height="300">')
d.writeln('<tr>')
d.writeln('<td height="20"> </td>')
d.writeln('<td height="20"><b>Oversigt</b></td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'("d");flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23"> <a class="right_text" href="
http://mobil.i1portal.dk/Default.asp?id=16A21C31-428B-49D7-860F-FE4BA39B35F8&groupid=1">> Forsiden</a></td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23">')
d.writeln(' <a href="
http://mobil.i1portal.dk/produkter/default.asp?id=15948DED-09A7-4592-8AA1-82C9458D9FC3&groupid=1">> Produkter</a> </td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23">')
d.writeln(' <a href="
http://mobil.i1portal.dk/anmeld">> Anmeldelser</a></td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23"> <a href="
http://mobil.i1portal.dk/artikler">> Arktikler</a></td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23"> > Baggrunde</td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23"> > Voice-greetings</td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23"> > Billed-beskeder</td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="23"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="23"> >')
d.writeln('Ringetoner</td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="24"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="24"> > Et godt grin</td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="24"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="24"> > Talebeskeder</td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="24"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="24"> > SMS</td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="24"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="24"> >')
d.writeln('WAP </td>')
d.writeln('</tr>')
d.writeln('<tr>')
d.writeln('<td height="24"> </td>')
d.writeln('<td onmouseover=\'flipbg(this,"in","#E0E0E0","");\' onmouseout=\'flipbg(this,"out","#0099FF","");\' height="24">')
d.writeln(' </td>')
d.writeln('</tr>')
d.writeln('</table>')
d.writeln('<hr color="#FFFFFF" noshade size="1" width="142">')
d.writeln('</div>')
}
Den udskriver ikke DIV korrekt!