Announcement

Collapse
No announcement yet.

Block if visibility

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Block if visibility

    When a Block if condition is false it in effect sets the equivalent of display:none (in CSS terms) ... this is causing issues with layout ... is it possible to use the Block if with display:hidden to maintain white space formatting?

    Hoping not to have to hack around setting more CSS values


    Bikster
    SellerDeck Designs and Responsive Themes

    #2
    Might be a solution to have a second block if for the opposite condition - in effect a block else
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      More blocks than Lego

      Assuming the concept works (not at a Actinic machine) how could the containing Block If know how much space to re-alloacte back to the page as white space

      Think probably best to stick to CSS and position the elements so if one is removed from the flow the others do not occupy the space.


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        My thinking was

        Block if evaluates true and occupies a x b space
        Block if not evaluates false and does nothing

        or

        Block if evaluates false and does nothing
        Block if not evaluates true and occupies a x b space (same dimensions)

        Unless we have something that isn't NOT when it is NOT is - like < 0, > 0 and = 0.

        You're probably right, CSS positioning is likely easier
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          You can use block ifs in the CSS file if that's any help.

          Comment

          Working...
          X