Infowindow sprite background-image at runtime

Discussion created by ravi.konaparthi on Jun 11, 2010
Latest reply on Aug 13, 2010 by IdahoBoy
Hi All,

I am working on creating an application where i  need to change the background of my infowindow at runtime based on the graphic attributes. I am able to set the infowindow style in the CSS by overriding the .infowindow .sprite. But i am unable to change the sprite at runtime.

Can any one help me solving the issue?