This support forum belongs to the Button Gallery Module.
Button has a bug tracker here: http://www.assembla.com/spaces/yui/support/tickets
| Page 1 of 1 | [ 3 posts ] |
|
I'm new to YUI (please bear with me) and I'm confused by the example for this gallery component. This example doesn't work for me. The following code fails:
Code: modules : { 'gallery-button' : { fullpath : 'button.js', requires : ['button-skin-xarno','widget','event-mouseenter','widget-child'] }, It attempts to load button.js from my own domain. Am I supposed to host this file on my own server or can I reference it directly from Yahoo's CDN? If so, then how do I determine the URL from the CDN? |
|
The path to button.js should be relative to the html page or absolute from the domain, just like any other resource that you would pull into the page. If you are using the gallery-button, you simply need to add it to your use() request (no metadata is required) it will pull the latest from the gallery.
|
|
Ah, I see now. I didn't realize I could exclude the metadata. I got it working. Thanks.
|
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group