$if($isvisible_c(artist),
$imagebutton($get(l.panel.button.left),$get(l.panel.button.top),$get(l.panel.button.x),$get(l.panel.button.y),$get_ps_global(image.path)'/bt/blank_on.png',$get_ps_global(image.path)'/bt/blank_on.png',PANELSHOW:Cover:1;PANELSHOW:Filter:0;PANELSHOW:Lyrics:0;PANELSHOW:Info:0;PANELSHOW:Bio:0;PANELSHOW:Utils:0;PANELSHOW:Customize:0;PANELSHOW:Artist:0;REFRESH,,)
$movepanel_c(Artist,$get(l.panel.left),$get(l.panel.top),$sub($get_ps_global(l.panel.w),$get(l.panel.left),$get(l.panel.right)),$get(l.panel.h))
$movepanel_c(Cover,0,0,0,0)
,
$imagebutton($get(l.panel.button.left),$get(l.panel.button.top),$get(l.panel.button.x),$get(l.panel.button.y),$get_ps_global(image.path)'/bt/blank_off.png',$get_ps_global(image.path)'/bt/blank_on.png',PANELSHOW:Cover:0;PANELSHOW:Filter:0;PANELSHOW:Lyrics:0;PANELSHOW:Info:0;PANELSHOW:Bio:0;PANELSHOW:Utils:0;PANELSHOW:Customize:0;PANELSHOW:Artist:1;REFRESH,,)
$movepanel_c(Artist,0,0,0,0)
$movepanel_c(Cover,$get(l.panel.left),$get(l.panel.top),$get_ps_global(l.panel.w),$add($get(l.panel.h),5))
)
Does anyone know how I can make this code work globally? It's for the first button that switches panels. The problem is it doesn't work unless the code is in the same panel stack splitter as the panels. Is it even possible to make buttons work to move or show panels in a different splitter?
Me and my friend have spent hours messing around.