Am I so lucky that this will make it possible to use HTMLFormattingPlugin as well?? I've tried to insert the <nowiki> command into the htmlcode - with no effect...
YS Måns Mårtensson On May 26, 2:51 am, Eric Shulman <[email protected]> wrote: > > Clicking the items in the TopMenu: > > 'PageTemplate' shows the effect of removing > > story.displayTiddler(null,'MenuItems'); > > 'StyleSheet' by also replacing > > story.closeAllTiddlers(); with return false; > > What I've done wrong? > > Because you are using the href="..." to define the handler, you can't > use the 'return false;' syntax. > > Here's a better bit of HTML syntax using the onclick="..." handler > > <a href="javascript:;" onclick="if (story) { > document.getElementById('mainMenuD').style.display = 'block'; > document.getElementById('mainMenuA').style.display = 'none'; > ... > document.getElementById('mainMenuJ').style.display = 'none'; > return false; > > }">StyleSheet</a> > > -e --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

