Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] qTip won't work inside iOS app
16th November, 22:36 (This post was last modified: 16th November 22:37 by vibrata.)
Post: #1
[Solved] qTip won't work inside iOS app
Hi! I feel both pain and sorrow about qTip. I'm a jQuery novice and I'm proud to say I have qTips working pretty much how I want them to in Safari and Mobile Safari.
The issue is that the document with the qTips is an html file that opens WITHIN an app in iOS (an in-app browser window). That's where the qTips break.

Any ideas? And, please keep in mind my novice status. Also, I'm a visual designer, not a code monkey.... though I can pass along any dev code issues to my partner.
Find all posts by this user
Quote this message in a reply
17th November, 00:21
Post: #2
RE: qTip won't work inside iOS app
I can't help much without knowing more. Is there an error that prevents it from working? If so, what is it? If not, what is the problem exactly?

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
17th November, 00:32 (This post was last modified: 17th November 01:28 by vibrata.)
Post: #3
RE: qTip won't work inside iOS app
No error, they just don't show up.
I've uploaded it and it works fine when I try it in Safari on iPad or iPhone. When I open it in the app, the qTips don't show.

Ive done a similar thing successfully using pure CSS tooltips but they're just not flexible enough.
Let me try and explain further. (Not sure if I'm being clear)

The app has a help section with tutorials and feature maps. I'm using qTips in the feature maps. When the user goes to the help section, the app calls in a browser window and opens the html file. The structure in the build is simply a folder with all the html, scripts and images all in one place.

Make sense?

Not sure why the qTips won't work, though I'm beginning to suspect there might need to be some code in the app to allow the jQuery to function.
Find all posts by this user
Quote this message in a reply
17th November, 18:20
Post: #4
RE: qTip won't work inside iOS app
That's still not enough information to go by unfortunately ^_^. I'd either need to see the page in question where this is occurring or have some detailed information about what this app is, how you're including it etc.

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
17th November, 20:33 (This post was last modified: 17th November 20:59 by vibrata.)
Post: #5
RE: qTip won't work inside iOS app
Thanks Craig. I guess maybe you'd need some expertise in iOS dev to get this. I think I'm going to try a workaround, maybe dig a little in iOS dev help forums, and see if there's anything there. I'll let you know if I find anything.Smile


Wow, that didn't take as long as I thought it would!

The problem is actually just how xCode adds files to a build. Apparently it won't automatically add a js file to a project the way it does with other file types. Here's the forum where the solution was found:
http://mentormate.com/blog/iphone-uiwebv...resources/

Files need to be dragged into "copy bundle resources" part of "build phases" in Project Target settings. Adding files to project in the normal way adds the .css to this section properly, but not the .js files.

Yay! I can haz qTips!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  QTip ajax-loading set to false doesn't work pippu 4 256 4th April 20:03
Last Post: pippu
  [Solved] Link sometimes doesn't work while qTip is shown fspade 2 209 16th March 12:49
Last Post: fspade
  Ajax + Googlemaps + Internet explorer doesn't work GrabtB 3 400 17th February 16:50
Last Post: GrabtB
  [Solved] problem with jquery function called inside a qtip content mvillani 1 460 3rd February 14:14
Last Post: Craig
  [Solved] the tooltip inside a jquery dialog derridondon 4 687 31st December 10:17
Last Post: Craig
  [Solved] I can not get qtip to work ...help please. nestor49 2 430 30th December 07:44
Last Post: nestor49
  Next link inside tooltip - Step by Step demo darrensw 0 477 11th December 16:58
Last Post: darrensw
  [Solved] position at center of viewport used to work Samvan 7 872 10th December 10:35
Last Post: Craig
  [Solved] Drop-down menu demo/code doesn't work with newer jQuery ITFlyer 1 677 8th December 19:19
Last Post: Craig
  [Solved] two addressable blocks inside the content area punk.kish 3 455 17th November 19:06
Last Post: Craig



User(s) browsing this thread: 1 Guest(s)