| Page 1 of 1 | [ 2 posts ] |
|
Here is the deal: I want to create an object inside the YUI3 use(),
For example I have a function that starts the Facebook signup process using Facebook Javascript library With YUI2 that was not a problem. I had my own namespace object oSL So I could add the onClick to just about any link in html like this: <a href="#" onclick="oSL.initFBSignup(); return false"><img class="hand" src="/images/fblogin.png" width="154" height="22" alt="Sign in with Facebook account"></a> But now with YUI3 this initFBSignup will be insde the use() method, so how to I access it? I really need this onClick thing, I know it's old fashioned and some consider it not cool. But in some situations it's the easiest way to add it to template. Any suggestions? |
Alberto SantiniYUI Contributor
|
Hello Dmitri.
You may use SimpleYUI [1]. Hope that helps, IceBox [1] http://www.yuiblog.com/blog/2010/09/03/ ... simpleyui/ |
| Page 1 of 1 | [ 2 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