1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Calc instead of element jscript to hide/show

Discussion in 'Community' started by jh, Dec 18, 2019.

  1. jh

    jh Member

    Level: Community
    Hi

    Sorry if this is a basic question but I wanted to know if it makes sense to show/hide elements using calc (so it shows based on the value of another element, or shows nothing instead). This seems to work better than element javascript as it doesnt go throught the hide/show process.

    I have tested and this seems fine however if there was a consideration about load speeds etc that I havent considered.

    Kind Regards
     
  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    If it works, it works. :)

    -- hugh
     

Share This Page