Hello,
Thank you for the reply, and sorry for the delay in getting back to you.
Allow me to rephrase my question. I want to construct a variable whose value is calculated from two other variables. Specifically, I want to create a variable called @navigationHeight, and I want its value to be calculated as such:
@navigationHeight = {xen:calc '@headerTabHeight + @tabLinksHeight'}
I've created a tabLinksHeight variable. However, I've also have a setting which removes tablinks called @removeTabLinks.
Basically, I want the calculated value of @navigationHeight to reflect the height of the navigation as displayed on the front end (since @tabLinksHeight value remains 40px (or such) no matter if tablinks are displayed or not).
Something along the lines of @navigationHeight = {xen:calc '@headerTabHeight <xen:if is='!@removeTabLinks> + @tabLinksHeight </xen:if>'}
Horrible syntax, I know. This is part of what is ailing me. : )
Yes, it may seem silly, but this @navigationHeight variable I wish to build will come in useful for such things as absolute positioning of the QuickSearch. Ultimately, I am going through all of this trouble to build a toggleable setting for multiple QuickSearch positions, which must behave how I want whether the tablinks are present or not.
Thanks again for all your support! Truly appreciated!