I'd love to see a jSprite plugin :-)

Perhaps you could use a 2d array for the sprites. X direction could be
the sprite and Y could be it's Type ?

Another question, do you know if this would work with IE6 with
transparent PNGS that have been fixed with a DXFilter ? The reason I
ask is that I recently discounted sprites as a useful method because
background-position doesn't work with IE6 and DXFilter. Your method
might open this up.

*...(

On Aug 11, 4:51 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> Ive been experimenting with icon sprites.  Specifically how to manage them
> for a RIA that has many many icons with several states.
> Check out my findings here:http://commadot.com/?p=590
>
> A little jQuery help would be good for this 
> page:http://www.commadot.com/jquery/sprites/78div.htm
>
> Is there a better way to do this?
>
> Specifically, the problem is, I can only have 1 class on the actual button
> because if it has 2 then it wouldn't find it in the array.
> Would jQuerizing the array make it easier to manage?
>
> The main benefit of doing things this way is that you
> 1. clean up your css
> 2. fewer http requests for lots of icons
> 3. can refer to icons by their name, not number.
>
> Thoughts?
>
> Glen

Reply via email to