-
1. Re: Correct way of loading jquery-ui
joel_pau Feb 19, 2015 12:52 AM (in response to xtd8865)1 person found this helpful -
2. Re: Correct way of loading jquery-ui
xtd8865 Feb 19, 2015 10:46 AM (in response to joel_pau)Thanks for your reply. I was actually looking at this tutorial.
My questions remain: is the yepnope way still a recommended way of loading external scrips. Google search shows it's deprecated
For example: yepnope.js | A Conditional Loader For Your Polyfills!
Before I like understanding the code so the example I provided above was for me to just do the simplest thing possible to demonstrate that jquery-ui is loaded and works. Using the linked tutorial above and others I'd like to build it step by step. Can anyone see what I'm doing wrong above?
Thank you
-
3. Re: Correct way of loading jquery-ui
mlprouty Feb 21, 2015 9:15 AM (in response to xtd8865)As you said yepnope is deprecated now. In the lower right hand corder of the Edge Animate user interface is the library. The last drop down is "Scripts." Select your script file from there.
-
4. Re: Correct way of loading jquery-ui
joel_pau Feb 22, 2015 11:14 AM (in response to xtd8865)yes i can, but please post your file.
-
5. Re: Correct way of loading jquery-ui
resdesign Feb 22, 2015 1:47 PM (in response to xtd8865)1 person found this helpfulIf you are using the latest version of EA use script loading
- make sure you load jquery first
- add jquery-ui
You will need to drag the js file in the order below if they are not in the script loading.
I guess I need to add new versions of the demo files on edgehero.
All should work as expected. No need to add yepnope - it is integrated with EA anyway.
If you are using the previous version of EA:
- jquery is included with EA so you do not need to include it in the script loading panel
- add jquery-ui in the script panel
All this should work.
If you want you can also use touch-punh for mobiles - Make sure that it is the last on the list in the script panel.
I have use this for a long time and the only time it does not work is when my code for draggable is incorrect. So debug, use the console. Make sure your code is correct.
-
6. Re: Correct way of loading jquery-ui
xtd8865 Feb 26, 2015 3:46 PM (in response to xtd8865)Thank you very much for useful information.