Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Ideas] Popup_InfoBalloon - Adjust its top position to avoid scrollbars

$
0
0
Sometime ago i notice that ween a Popup_InfoBalloon is called in the botton of the page it cause the appearence of a vertical scrollbar (or a change in its size if already present). This reduces the usability because the user must set the mouse pointer inside the popup and then scrool down.

A good idea to solve this is the popup adjust its position accordingly with the page. See the images below for an example.





In attach i send a file with the Popup_InfoBalloon javascript. It includes the changes made to allow the behavior shown above. This changes are surrounded with the comments "CHANGE_START" and "CHANGE_END". It's just one way to get the job done, and probably, not even the best one. Feel free to improve it.


Regards 
Eduardo Luís




Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>