Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using AppleInfoButton.js for custom buttons



Hello,

Is it possible to use AppleInfoButton.js for custom buttons? Ive looked at the implementation, and it looks like this is not possible. I though something like the above might be possible, but I havent found a way to combine SetStyle with background-image - so Im beginning to think its not possible?

arrow = new AppleInfoButton(document.getElementById('arrow'), document.getElementById('front'), "background-image:url('Images/ exp_arrow.png')", "black", slider);

I could always bundle my own derivate of AppleInfoButton, if this is not possible.

Thanks for any input.

-Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.