• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Conditional question - only if the sidebar is going to be shown

#1
I'm trying to figure out how to limit the display of some javascript code only to circumstances when the sidebar is going to be displayed.

Can anyone help me out?