none
Trouble loading jQuery Mobile websites RRS feed

  • Question

  • I've been racking my brain here for hours trying to figure out why my MS Word Office App is not loading jQuery Mobile sites correctly.  Here's what I've been able to gather so far.

    1. This is a jQuery mobile direct demo link: http://jquerymobile.com/demos/1.2.0/  - If i set this URL as my SourceLocation and then save the changes, refresh the office app, and insert the office app, it loads the blank page below.  The UI never comes up.  If I view the source, everything is in the source as it should be.

    2. Now, if I load in a basic web page and point the app to that page, and then have a link on this basic page to the jQuery Mobile site above it loads perfectly. 

    And I've been getting mixed results in the Office App with various jQuery Mobile sites.  I was under the impression Office apps were supposed to be fully compatible with HTML 5, JS, etc and it seems it is.  But just not if I hit the page directly.

    If you want to try on your own if you make the source location: http://jquerymobile.com/demos/1.2.0/  - nothing will load.  

    Next make the source location http://jquerymobile.com in your Office app (it will load), then click Latest Stable Version 1.2.0, then click Demos & Docs, and you'll see the page load.

    There has to be some browser detection that is barfing here or something.  I have noticed if I comment out the <script src="js/jquery.mobile-1.2.0.js"></script> line in the app which is the main framework it loads but of course not within the framework.  So it's not a CSS problem or anything.

    Other info

    Works
    http://m.stanford.edu
    http://m.jeep.com
    http://m.disneyworld.disney.go.com


    Doesn't work:
    http://m.opentable.com
    https://mobile.united.com


    • Edited by Tags26 Friday, December 14, 2012 6:14 PM
    Friday, December 14, 2012 6:12 PM

Answers

  • Hey Tags26,

    I do get the same behavior you mentioned.  If I use the actual HTML of that site instead of "pointing" it will load the page, so I don't know that it's a compatibility issue.  It sounds like you are just trying to "host" an external web page into the task pane, which wouldn't actually give you any Word specific "App" functionality that I'm aware of.  What kind of usage scenario are you trying to accomplish by opening the task pane directly to an external web page?

    Brandon

    Wednesday, December 26, 2012 10:46 PM

All replies

  • HI Tags26,

    Thanks for posting in the MSDN Forum.

    I will involve some experts into your issue to see whether they can help you. There might be some time delay, appreciate for your patience.

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, December 18, 2012 2:34 AM
    Moderator
  • Hey Tags26,

    I do get the same behavior you mentioned.  If I use the actual HTML of that site instead of "pointing" it will load the page, so I don't know that it's a compatibility issue.  It sounds like you are just trying to "host" an external web page into the task pane, which wouldn't actually give you any Word specific "App" functionality that I'm aware of.  What kind of usage scenario are you trying to accomplish by opening the task pane directly to an external web page?

    Brandon

    Wednesday, December 26, 2012 10:46 PM
  • I am having the same problem with loading my jQuery Mobile pages as a task pane app in Office. 

    The post marked as an answer here gives no help at all.

    Please advise whether this issue has been resolved?

    Tuesday, April 15, 2014 3:21 AM