I had problems also with fullcalendar inside twitter bootstrap tabs The fullcalendar only works in the first tab. Moving it to next tabs bring problems....
2013/6/11 greaneym <[email protected]> > I am learning D3 to use it in an app for visualization but having problems > with multiple graphs loading when I only want one to show per menu > selection. > > Using the bootstrap welcome app, I am able to load d3 examples using a > tabbable nav menu, however, once loaded they do not go away between > clicking tabs. > > Is the javascript functionality (below) to unload a default in web2py or > do I have to put > some code in to force an unload inbetween selections of the tab menu? > > <body onunload="SomeJavaScriptCode"> > window.onunload=function(){SomeJavaScriptCode}; > > I've also tried the following, > > 1. use a controller function that uses redirect to a url as in Massimo's > Processing JS example, but that effect then loses the ability to use the > tab menu. > > > 2. instead of LOAD ing paths, I made the D3 views into files.js and LOADed > those but the behavior is still the same. The graphs load but don't > disappear between tab selections, or some of them do not. > ( > http://stackoverflow.com/questions/14389974/how-do-i-get-different-tabs-to-load-separate-javascript-files > ) > > There are likely many ways to do this, but I haven't been successful yet > at finding an answer. > > Thanks for any help. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

