Question

1
Replies
150
Views
sharath Neela (sharathN5209)
TapRoot Solutions LLC

TapRoot Solutions LLC
US
sharathN5209 Member since 2014 6 posts
TapRoot Solutions LLC
Posted: December 7, 2016
Last activity: December 8, 2016
Posted: 7 Dec 2016 12:09 EST
Last activity: 8 Dec 2016 5:24 EST
Closed

Unable to remove the empty space on the Disclamer page.

Hi ,


I am using p elements to show messages and to hide them I am using hide function. Everything works fine but I see empty space when there is no message to show. looks like the para element is ocupiying some space. I did make lot of changes to hide them and could bring down the empty space but not able to eliminate it completely.


Please let me know if you have any thoughts.


<p id="IDMMessage" style="color:red; font-weight: normal; padding-top:2px; padding-left:2px; padding-right:2px;padding-bottom:0px;"> <%= tools.getRequestor ().getRequestorPage ().getProperty ("IDMFlagMessage").getStringValue () %></p>


<p id="dncMessage" style="color:red; font-weight: normal; padding-top:0px; padding-left:0px; padding-right:0px;padding-bottom:5px;"> <%= tools.getRequestor ().getRequestorPage ().getProperty ("DNCFlagMessage").getStringValue () %></p>


To hide


   function hide()

          {

             var temp = <%= tools.getRequestor().getRequestorPage().getProperty("IDMFlagMessage").getStringValue() %>

               

                 if(typeof temp === "undefined")

Hi ,

I am using p elements to show messages and to hide them I am using hide function. Everything works fine but I see empty space when there is no message to show. looks like the para element is ocupiying some space. I did make lot of changes to hide them and could bring down the empty space but not able to eliminate it completely.

Please let me know if you have any thoughts.

<p id="IDMMessage" style="color:red; font-weight: normal; padding-top:2px; padding-left:2px; padding-right:2px;padding-bottom:0px;"> <%= tools.getRequestor ().getRequestorPage ().getProperty ("IDMFlagMessage").getStringValue () %></p>

<p id="dncMessage" style="color:red; font-weight: normal; padding-top:0px; padding-left:0px; padding-right:0px;padding-bottom:5px;"> <%= tools.getRequestor ().getRequestorPage ().getProperty ("DNCFlagMessage").getStringValue () %></p>

To hide

   function hide()
          {
             var temp = <%= tools.getRequestor().getRequestorPage().getProperty("IDMFlagMessage").getStringValue() %>
               
                 if(typeof temp === "undefined")
             {
               
                document.getElementById("IDMMessage").style.display = "none";
             }
             
          }
          window.onload = hide;
         
        function hide()
          {
             var temp = <%= tools.getRequestor().getRequestorPage().getProperty("DNCFlagMessage").getStringValue() %>
               
                 if(typeof temp === "undefined")
             {
               
                document.getElementById("dncMessage").style.display = "none";
             }
             
          }
          window.onload = hide;
 

Low-Code App Development User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.