I am not sure that the following is really what you are looking for. But anyway.
Two notebooks in the same kernel session:
- One global variable, defined in notebook A
- One dynamic slider, also in notebookA
- Plots in two notebooks, A and B
Both plots will respond to slider movement
A
plotLimit = 0.5;
Dynamic@Plot[Sin[x], {x, 0, plotLimit}, PlotRange -> {{0, 2 \[Pi]}, {-1.1, 1.1}}]
Slider[Dynamic[plotLimit], {0.1, 2 \[Pi]}]
B
Dynamic@Plot[Cos[x], {x, 0, plotLimit}, PlotRange -> {{0, 2 \[Pi]}, {-1.1, 1.1}}]