Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trouble controlling window position

Featured Replies

I am trying to position a new card window on the right edge of the window that it is being opened from. My calc for the FromLeft card setting is (Get (WindowLeft) + Get(WindowWidth). This only works (no gap between windows) when the originating window is all the way to the left of the screen. The more the originating window gets from the left of the screen the larger the gap between the two windows. I have also tried hardcoding the second value Get(WindowLeft) + 80 and it produces the same results.

Not sure why this is not working.

furtherright.jpg

left.jpg

Try setting $width $left and $top as variables at the top of the script before you open the card then in the card use $left + $width

by the time the card is open your getting the values from the card itself not the parent window.

  • Author

Sorry forgot to mention that I tried that too. Still does not work.

  • Author

Yep that works. So does FromLeft mean from left of window? I thought it meant from screen left. Thanks for the help.

Left is from edge of window measured from left edge of screen.  Your adding to it the width of the current window + any margin.

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.