Announcement

Collapse
No announcement yet.

inline select tag not rendered/stripped in hs4

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

    inline select tag not rendered/stripped in hs4

    in hs3, I generate the following html via code

    Click image for larger version

Name:	inline select html.png
Views:	110
Size:	24.7 KB
ID:	1506327

    in hs4, the same code will not render the select/dropdown lists. i can see the code in the source

    i am retrieving the html code via a liquid tag (plugin_function) call from my html page

    i created a jui selectlistview, and i can pass that code via the same liquid tag, and it will render but the display isnt tight like the above

    what am i missing about using old html tags in hs4?

    Mark

    HS3 Pro 4.2.17.0
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3| Ultra1Wire3 | RFXCOM | NetCAM | HS MyQ | BLRadar | BLDenon | Jon00 Charting | Jon00 Links
    Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

    #2
    The HTML info is probably retrieved properly but the accompanying JavaScript code and CSS might be wrong.

    Comment


      #3
      i finally found the culprit style (which is in the mdb.css) that causing the problem

      select {
      1. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
      2. display: none !important;
      }

      any suggestions on how to override this?
      Mark

      HS3 Pro 4.2.17.0
      Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
      Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3| Ultra1Wire3 | RFXCOM | NetCAM | HS MyQ | BLRadar | BLDenon | Jon00 Charting | Jon00 Links
      Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

      Comment


        #4
        for now i added the following to my html;

        Code:
        <style>
        select {
        display: inline !important;
        }
        </style>
        so now i get the expected results
        Mark

        HS3 Pro 4.2.17.0
        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3| Ultra1Wire3 | RFXCOM | NetCAM | HS MyQ | BLRadar | BLDenon | Jon00 Charting | Jon00 Links
        Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

        Comment


          #5
          for the record, the SelectListView class generates a select element that is hidden by the above css
          Mark

          HS3 Pro 4.2.17.0
          Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
          Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3| Ultra1Wire3 | RFXCOM | NetCAM | HS MyQ | BLRadar | BLDenon | Jon00 Charting | Jon00 Links
          Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

          Comment

          Working...
          X