Hi Gabor,
I’m confused about your last option with {name/slide}. When I type those into a text box as its content, I simply get those literal characters. Could you clarify?
Right now, I’m making this sub-menu with this code:
<div class="sub-menu" style="text-align:center;">
<span class="switch1” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: 700; cursor: pointer;">Exploit emergent technologies</span> | <span class="switch2” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Validate growth opportunities</span> | <span class="switch3” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Define growth strategies</span> | <span class="switch4” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Create products, services & business models</span> | <span class="switch5” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Develop go-to-market ecosystems</span> | <span class="switch6” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Develop new growth ventures</span>
</div>
<script>
N2R('#n2-ss-27', function($, slider){
jQuery('.switch1’).click(function(){
slider.slide(0);
window.scrollTo(0, 0);
});
});
N2R('#n2-ss-27', function($, slider){
jQuery('.switch2’).click(function(){
slider.slide(1);
window.scrollTo(0, 0);
});
});
N2R('#n2-ss-27', function($, slider){
jQuery('.switch3’).click(function(){
slider.slide(2);
window.scrollTo(0, 0);
});
});
N2R('#n2-ss-27', function($, slider){
jQuery('.switch4’).click(function(){
slider.slide(3);
window.scrollTo(0, 0);
});
});
N2R('#n2-ss-27', function($, slider){
jQuery('.switch5’).click(function(){
slider.slide(4);
window.scrollTo(0, 0);
});
});
N2R('#n2-ss-27', function($, slider){
jQuery('.switch6’).click(function(){
slider.slide(5);
window.scrollTo(0, 0);
});
});
</script>
I’m having a couple of problems with this.
1) The HTML element keeps disappearing from my slider
2) Because I want the chose elements to appear as bold when selected, I have to create this menu on every slide, rather than using a static slide for it. Any workarounds auto-bold a heading when it’s the selected one?