3 Replies Latest reply: Feb 29, 2012 9:28 AM by miguel_sanchez
sfmission Level 1 (0 points)

Completely new to iBooks Author, Dashcode etc. (and not really a coder of any kind)

 

Am experiencing flashing when first loading HTML widgets in iBook.  Found this article which seems to offer a potential fix:

 

http://support.apple.com/kb/HT5068

 

Quick and hopefully simple question...

 

There are three steps specified in article:

 

  • add IBNotifiesOnReady
  • Set Dashboard widget to load the Apple javascript library
  • Set the Dashboard widget to let iBooks know when the HTML initialization begins

 

instructions provide code for each, but just to clarify, where is this code added?  to the .plist file?  the .html? the .js file?

 

sorry for the basic question, but any help would be greatly appreciated.  thx!


iBooks Author
  • K T Level 7 (23,705 points)

    Testing on iPad or iPad 2?

  • sfmission Level 1 (0 points)

    Currently testing on ipad1, but obviously would like to perform well on both ipad 1 and 2 :)

  • miguel_sanchez Level 1 (20 points)
    • IBNotifiesOnReady => into .plist
    • Set Dashboard widget to load the Apple javascript library => into the head section of the HTML file
    • Set the Dashboard widget to let iBooks know when the HTML initialization begins => into the javascript code

     

    but the question is: where can i find/download the AppleClasses/AppleWidget.js?

     

    Be careful, the line:

     

    <script type="text/javascript" src="AppleClasses/AppleWidget.js"> </src>

     

    is not correct. It must be:

     

    <script type="text/javascript" src="AppleClasses/AppleWidget.js"> </script>