hi,
hier der code:
function TCBuildCell (R, G, B, w, h) {
return "<td bgcolor='#" + this.dec2hex((R << 16) + (G << 8) + B) + "'><a href='java script:P.S(" + this.dec2hex((R << 16) + (G << 8) + B) + ")'' onmouseover=P.P('" + this.dec2hex((R << 16) + (G << 8) + B) + "')>test</a></td>";
}
mein problem ist folgendes:
ich übergebe derzeit javascript:P.S(blabla)
es muß aber ein string sein also javascript:P.S('blabla')
also wenn jemand weis wie ich das hingekomme...
java script:P.S('" + this.dec2hex((R << 16) + (G << 8) + B) + "')
geht leider nicht !
thx magicslider