pupunzi / jquery.mb.extruder

A sliding panel on jQuery framework
http://pupunzi.com
102 stars 33 forks source link

image rather than text on flap #1

Closed pupunzi closed 10 years ago

pupunzi commented 14 years ago

add the possibility to set an image rather than text on the extruder flap

goofygrin commented 14 years ago

I'd like both. This works in IE by combining the txt going into the flap.html() with an img tag (I added an "icon" attribute), but in Chrome the icon doesn't survive the rotate transformation.

vankov1 commented 14 years ago

the easiest way - change the css. use an image with text as background for the flap, the text size from 18 to 1px then leave one letter/dot in the flap, otherwise it is messing up. That's the way to use image in the flap :))