Thanks. The javascript works but to the resolution the browser is in at the time of a browser refreshand doesn’t re-run following a resizing of the window or if you turn the mobile from portrait into landscape. Is there a way to get the javascript to run following a window resize?