1 Reply Latest reply on Apr 14, 2010 6:09 AM by harut

    Best way to dynamically alter widget parameters?

    gwzoller

      Hello,

       

      I have a situation where my app uses a rich modal popup.  A few of my visually-challenged users continue to maintain an 800x600 screen resolution, which for me means that the whole popup doesn't show and they can't even scroll down to the action buttons on the modal.

       

      I can tweak the parameters on the modal so that a scrollbar appears and that's what I need for these users, but... I don't want the other 98% of my user base suffering a stupid scrolling modal when their screens are fine to display the whole thing.

       

      I can get screen.height from javascript and send it to the server if necessary, so I know who my squinters are.

       

      What's the best way to dynamically change the modal widget parameters at render-time so my squinters and non-squinters each get the best settings for them?

       

      Thanks,
      Greg