12. december 2002 - 16:40Der er
9 kommentarer og 2 løsninger
hvorfor virker dette ALT tag ikke?
"detalje.asp?produkt_id="&(RS_hent_produkt.Fields.Item("produkt_id").Value)&Chr(39)& """ ALT=""Klik for at se mere om:" & (RS_hent_produkt.Fields.Item("produkt_id").Value)&""" "& "style=""cursor: hand;"">"
"detalje.asp?produkt_id="&(RS_hent_produkt.Fields.Item("produkt_id").Value)&Chr(39)& """ ALT=""Klik for at se mere om:" & (RS_hent_produkt.Fields.Item("produkt_id").Value)&""" "style=""cursor: hand;"">"
<a href='detalje.asp?produkt_id="&(RS_hent_produkt.Fields.Item("produkt_id").Value)&Chr(39)& "' ALT='Klik for at se mere om: " & (RS_hent_produkt.Fields.Item("produkt_id").Value)&"' style='cursor: hand;'>"
Prøv den her i stedet for. Jeg går ud fra, den fyres af i en Response.Write, ikk'?
Dette: TrWts = TrWts&"<tr "&"onmouseover=""this.style.backgroundColor="&Chr(39)&"#F0F0F0"&Chr(39)&"; "" onmouseout=""this.style.backgroundColor="&Chr(39)&"#FFFFFF"&Chr(39)&"; """&" onclick=""location.href="&Chr(39)&"detalje.asp?produkt_id="&(RS_hent_produkt.Fields.Item("produkt_id").Value)&Chr(39)& """ ALT=""Klik for at se mere om: " & (RS_hent_produkt.Fields.Item("navn_dk").Value)&""" "& "style=""cursor: hand;"">"&vbCrLf
Udskriver dette:
<tr onmouseover="this.style.backgroundColor='#F0F0F0'; " onmouseout="this.style.backgroundColor='#FFFFFF'; " onclick="location.href='detalje.asp?produkt_id=20'" ALT="Klik for at se mere om: NN Plastindustri" style="cursor: hand;">
DOH lol det havde jeg slet ik' skænket en tanke! *G*
//>Rune
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.