Changes

From The TTSCpedia
Jump to navigationJump to search
add skin-specific positioning
Line 48: Line 48:  
}, {
 
}, {
 
action: 'end',
 
action: 'end',
name: 'Close tutorial',
   
type: 'progressive'
 
type: 'progressive'
 
} ]
 
} ]
 
} )
 
} )
 
.back( 'navbasics7' );
 
.back( 'navbasics7' );
 +
 +
tour.step( {
 +
name: 'navbasicsend',
 +
title: 'Basic Navigation',
 +
description: "And that's pretty much all the basics. We're planning more tutorials, so feel free to check the tutorials list page",
 +
buttons: [
 +
{
 +
action: 'end',
 +
type: 'destructive',
 +
name: 'No thanks'
 +
}, {
 +
action: 'wikiLink',
 +
page: 'Help:Tutorials',
 +
name: 'Take me to the list of tutorials!',
 +
type: 'progressive'
 +
}  ]
 +
} )
 +
.back( 'navbasics1' );
    
tour.step( {
 
tour.step( {
Line 67: Line 84:  
description: "One big difference is that everything that was contained in the header's menu bar on the old wiki " +
 
description: "One big difference is that everything that was contained in the header's menu bar on the old wiki " +
 
"has been moved to this sidebar section.",
 
"has been moved to this sidebar section.",
attachTo: '#navigation',
+
attachTo: {
 +
fallback: '#p-Main',
 +
    cali: '#navigation',
 +
    nimbus: '#navigation',
 +
    michigan: '.collapsible-nav',
 +
    metrolook: '.collapsible-nav'
 +
},
 
position: 'right',
 
position: 'right',
 
} )
 
} )
Line 78: Line 101:  
description: "Also, this area, when hovered over, brings up a menu which lets you create an account or log in. If you already are logged " +
 
description: "Also, this area, when hovered over, brings up a menu which lets you create an account or log in. If you already are logged " +
 
"in, the menu gives you options to view your profile page, change your account settings, go to your own sandbox, and more.",
 
"in, the menu gives you options to view your profile page, change your account settings, go to your own sandbox, and more.",
attachTo: '#wiki-login',
+
attachTo: {
position: 'topRight',
+
fallback: '#p-personal',
 +
    cali: '#wiki-login',
 +
    nimbus: '#wiki-login',
 +
    vector: '#p-personal',
 +
    monobook: '#p-personal',
 +
    michigan: '#usermenu',
 +
    metrolook: '#usermenu'
 +
},
 +
position: {
 +
fallback: 'top',
 +
    cali: 'topRight',
 +
    michigan: 'topRight',
 +
    metrolook: 'topRight'
 +
},
 
width: 300
 
width: 300
 
} )
 
} )
Line 91: Line 127:  
"<ul><li>The wiki itself</li><li>Characters</li><li>Storylines</li><li>...and more.</li></ul>",
 
"<ul><li>The wiki itself</li><li>Characters</li><li>Storylines</li><li>...and more.</li></ul>",
 
attachTo: '#cali-didyouknow',
 
attachTo: '#cali-didyouknow',
position: 'left',
+
position: 'right',
 
} )
 
} )
 
.next( 'navbasics6' )
 
.next( 'navbasics6' )
Line 101: Line 137:  
description: "Sometimes, in the sidebar, we'll show a random poll (and, if we've fixed that functionality, quiz questions).",
 
description: "Sometimes, in the sidebar, we'll show a random poll (and, if we've fixed that functionality, quiz questions).",
 
attachTo: '.game-unit-container',
 
attachTo: '.game-unit-container',
position: 'left',
+
position: 'right',
 
} )
 
} )
 
.next( 'navbasics7' )
 
.next( 'navbasics7' )
Line 110: Line 146:  
title: 'Basic Navigation',
 
title: 'Basic Navigation',
 
description: "Also, to search for a specific article, we have a section in the sidebar for that too.",
 
description: "Also, to search for a specific article, we have a section in the sidebar for that too.",
attachTo: '#search-box',
+
attachTo: {
position: 'left',
+
fallback: '#p-search',
 +
    cali: '#search-box',
 +
    nimbus: '#search-box'
 +
},
 +
position: {
 +
fallback: 'top',
 +
    cali: 'left',
 +
    nimbus: 'left',
 +
    vector: 'topRight',
 +
    monobook: 'left'
 +
},
 
} )
 
} )
 
.next( 'navbasicswip' )
 
.next( 'navbasicswip' )

Navigation menu