Re: [jQuery] IE hate: Replacing background image

2006-09-13 Thread Onno Timmerman
Klaus Hartl schreef: > > Onno Timmerman schrieb: >> The first background is defined in the CSS layout called #tabs >> >> One click I need the browser to load a new background image. >> $("div#tabs").css("background-image", "url(\"./images/tabs/" + this.id + >> ".gif\")"); >> >> >> this.id == the

Re: [jQuery] IE hate: Replacing background image

2006-09-13 Thread Klaus Hartl
Onno Timmerman schrieb: > The first background is defined in the CSS layout called #tabs > > One click I need the browser to load a new background image. > $("div#tabs").css("background-image", "url(\"./images/tabs/" + this.id + > ".gif\")"); > > > this.id == the name of the background image.

[jQuery] IE hate: Replacing background image

2006-09-13 Thread Onno Timmerman
The first background is defined in the CSS layout called #tabs One click I need the browser to load a new background image. $("div#tabs").css("background-image", "url(\"./images/tabs/" + this.id + ".gif\")"); this.id == the name of the background image. This works in all browsers known to me e