Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _initWelcomeGuide : function () {
- var guide;
- guide = new Y.TTW.Guide({
- srcNode : '#welcome-guide',
- render : true,
- visible : true,
- centered : true,
- zIndex : 250,
- preventOverlap : true,
- navigation : true,
- children : [
- {
- boundingBox : '#welcome-guide-1',
- srcNode : '#welcome-guide-1'
- },
- {
- boundingBox : '#welcome-guide-2',
- srcNode : '#welcome-guide-2',
- align : {
- node : '#create-tip',
- points : [Y.WidgetPositionAlign.TC, Y.WidgetPositionAlign.BC]
- }
- }
- ],
- plugins : [
- // { fn: Y.Plugin.OverlayKeepaligned },
- { fn: Y.Plugin.OverlayAutohide, cfg: {
- clickedOutside : false,
- focusedOutside : false
- }}
- ]
- });
- return guide;
- }
Add Comment
Please, Sign In to add comment