Page 1 of 1

Cycle Plug In / jQuery Trouble

Posted: Tue Feb 19, 2013 8:03 am
by Ted L

Hi Team Tiggzi,

Thanks for the free trial :) I have my awesome app almost completed, but I'm running into one problem.

My app uses the Cycle Plug-In along with the camera. When I test the app online it works fine except for the camera of course. When I load the app into my phone, the camera works as it should, but now the Cycle Plug-In doesn't.

I've uploaded jQuery along with jQuery.cycle.all, but my html file is pointing here...

src="http://ajax.googleapis.com/ajax/libs/..."
src="http://cloud.github.com/downloads/mal...

So, I imagine when I'm online it's phoning home and downloading the code each time I start my program and it works, but on my phone for some reason the jQuery doesn't work.

How can I redirect my html to point to my local jQuery files and is that what I should do?

I'd like my app to run without being connected to the internet, even though it's not really the idea behind Tiggzi. When I have a better idea of how this all works, then I will make a fancy app that connects to a database and does cool stuff.

If my question doesn't make sense, don't worry about answering... I will figure it out eventually. If you can help, that would be great and when I make Millions from my app, I will sign up for your top level account and buy everyone a sailboat :)

Thanks!


Cycle Plug In / jQuery Trouble

Posted: Tue Feb 19, 2013 8:34 am
by Kateryna Grynko

Hello!

To avoid app requiring Internet you can create JavaScript assets and add there your library jQuery.cycle.all


Cycle Plug In / jQuery Trouble

Posted: Tue Feb 19, 2013 9:10 am
by Ted L

Hi Katya,

Thanks for the quick reply.

I placed jQuery.cycle.all into my JavaScript assets folder and copied the link locations and placed them into my html.

I tried this...

and this...

I'm doing something wrong... neither one seems to work :(


Cycle Plug In / jQuery Trouble

Posted: Tue Feb 19, 2013 9:13 am
by Ted L

here they are again, something went wrong with my copy / paste...

project/javascript/jquery.cycle.all"

http://project.tiggzi.com/project/3d9...#


Cycle Plug In / jQuery Trouble

Posted: Tue Feb 19, 2013 11:43 am
by Kateryna Grynko

JavaScript assets shouldn't contain HTML tags.
code<script language="JavaScript">
<!--
/codeDelete these lines.


Cycle Plug In / jQuery Trouble

Posted: Tue Feb 19, 2013 7:01 pm
by Ted L

Thanks... it works fine now :)