Mailing Lists: Apple Mailing Lists

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

Re: ibutton



I made a test-widget to try the new AppleClass "AppleInfoButton.js". Unfortunately the flip doesnt show up. I am missing something?

This is my html code:
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'>
<script type='text/_javascript_' src=''></script>
<script type='text/_javascript_' src=''></script>
<style type='text/css'>
@import "test.css";
</style>
</head>
<body >
<div id='front'>
<img src="">
<div id='flipper'></div>
</div>
</body>
</html>

This is the Loader script:
var flipper;

function loaded() {
flipper = new AppleInfoButton(document.getElementById("flipper"), document.getElementById("front"), "black", "black", showBack);
}

The AppleInfoButton.js I left untouched.

Can somebody explain me how to use this new class?

Ludwig


Am 17.11.2005 um 18:55 schrieb Matt Drance:

Yes!  Please use AppleInfoButton, it will save you a whole lot of headache.  Have a look at the new Fader sample to see how it's done (and mind the packaging and plist changes as well; see the comments in Fader.html).

----------------------------------------------
Matt Drance
DTS Engineer
Java - Dashboard - Address Book


 _______________________________________________
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

References: 
 >ibutton (From: Ludwig Villiger <email@hidden>)
 >Re: ibutton (From: Julian Missig <email@hidden>)
 >Re: ibutton (From: Matt Drance <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.