I have an application where I'm using the Notebook widget and currently have 4 tabs. I want to be able to run some code every time a person switches to a tab. How can I do this?
I've tried several different ways I thought to do it using $nb->focus, $nb->info("active"), etc., but they all fire too early. In other words, if I'm already on the tab and I change, it runs the code for the tab I'm switching from, not to. I do see the changes when I go back to the node, but it's not acceptable.
In reply to Notebook event question by blockcipher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |