sfmission

Q: Question regarding flash during initialization of HTML widget in iBooks Author

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

Posted on Feb 26, 2012 3:49 PM

Close

Q: Question regarding flash during initialization of HTML widget in iBooks Author

  • All replies
  • Helpful answers

  • by K T,

    K T K T Feb 26, 2012 4:33 PM in response to sfmission
    Level 7 (23,844 points)
    Publishing
    Feb 26, 2012 4:33 PM in response to sfmission

    Testing on iPad or iPad 2?

  • by sfmission,

    sfmission sfmission Feb 26, 2012 9:08 PM in response to K T
    Level 1 (0 points)
    Feb 26, 2012 9:08 PM in response to K T

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

  • by miguel_sanchez,

    miguel_sanchez miguel_sanchez Feb 29, 2012 9:28 AM in response to sfmission
    Level 1 (20 points)
    Feb 29, 2012 9:28 AM in response to sfmission
    • 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>