I have a West docked nav slide-out working really well. Mouse enters a 25px ‘bar’ which expands it to reveal a tree nav of the entire system, and clicking a swap-link or mouse exiting the zone closes it back to 25px. This was relatively easy to do, but… I am wanting to also create this same effect on an East docked window. However, I am stuck on the scripting method I would use to slide the nav bar from it’s closed size (25px) to it’s open size (240px) on an East dock.
Although there are a few other gears turning in this box, the expansion / contraction is using a timer component to do the math iterations. This simple script works great on a West dock… not so much on an East dock.
EDIT: Code removed
My convoluted logic would have thought that a docked widow increasing in size would push itself out from the East docked position in a right-to-left direction, but, nope… doesn’t seem to. It just expands into the nether region (off-screen-right). So, how would one go about expanding an East docked window from right to left? Negative math?
Thanks for any insight…