Guest User

Untitled

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. _initWelcomeGuide : function () {
  2.  
  3. var guide;
  4.  
  5. guide = new Y.TTW.Guide({
  6.  
  7. srcNode : '#welcome-guide',
  8. render : true,
  9. visible : true,
  10. centered : true,
  11. zIndex : 250,
  12. preventOverlap : true,
  13. navigation : true,
  14. children : [
  15.  
  16. {
  17. boundingBox : '#welcome-guide-1',
  18. srcNode : '#welcome-guide-1'
  19. },
  20. {
  21. boundingBox : '#welcome-guide-2',
  22. srcNode : '#welcome-guide-2',
  23. align : {
  24.  
  25. node : '#create-tip',
  26. points : [Y.WidgetPositionAlign.TC, Y.WidgetPositionAlign.BC]
  27.  
  28. }
  29. }
  30.  
  31. ],
  32. plugins : [
  33.  
  34. // { fn: Y.Plugin.OverlayKeepaligned },
  35. { fn: Y.Plugin.OverlayAutohide, cfg: {
  36. clickedOutside : false,
  37. focusedOutside : false
  38. }}
  39.  
  40. ]
  41.  
  42. });
  43.  
  44. return guide;
  45. }
Add Comment
Please, Sign In to add comment