Domino not displaying image resources with dynamic classes

Hi,

I’m using dhtml within a subform to dynamically assign a CSS class to an element. The code works perfectly referencing external images, however it’s not working correctly using multiple images from within the same database.

i’ve tried pulling the images by both filename and their unique id, i’ve also tried hardcoding full paths as well as specifying a reletive position.

The problem seems to lie with the ‘active’ class, as it is the background to this which is not appearing. The code is working, as i can do it non-graphically, but sadly the images are required.

I’ve also tried using .png & .jpg aswell as .gif - i just can’t figure out what’s going wrong.

Subject: Domino not displaying image resources with dynamic classes

You might want to post your CSS – and not just the “bad” class, since there may be a cascade rule that’s overriding what you’re trying to do.