Page 1 of 1

How to add external File in appery project?

Posted: Fri Mar 14, 2014 7:16 am
by pritu patel

I am trying to move carousel image automatically.
So i found one Zip file then how to add this function.js and jquery.js file ???


How to add external File in appery project?

Posted: Fri Mar 14, 2014 7:56 am
by Maryna Brodina

Hello!

You don't need to add jquery.js - jquery is added by default. You can check jquery version on App settings - External resources - Built-in resources. Regarding other JS files - create JS assets and paste code you need.


How to add external File in appery project?

Posted: Fri Mar 14, 2014 9:57 am
by pritu patel

ok paste my code in js assets but how to call that file on my specifice page????
i have this two file and how to add on my page on load event???? Image

Image

have you any suggestion??


How to add external File in appery project?

Posted: Fri Mar 14, 2014 10:42 am
by Maryna Brodina

Your code is running on page load automatically. There is no need to additionally invoke it. All you need to do is to add corresponding elements on page and change selectors in code.


How to add external File in appery project?

Posted: Fri Mar 14, 2014 10:43 am
by pritu patel

But it's not working!!!


How to add external File in appery project?

Posted: Fri Mar 14, 2014 11:15 am
by Maryna Brodina

Did you add corresponding elements on page and change selectors in code?


How to add external File in appery project?

Posted: Fri Mar 14, 2014 12:03 pm
by pritu patel

yes!!!! I chnage it and add that in page


How to add external File in appery project?

Posted: Fri Mar 14, 2014 1:59 pm
by Maryna Brodina

Please try to debug your app and check errors in console.