Jump 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.

Portal scrolling sideways ?

Featured Replies

Hi all,

Suppose there is a portal with thumbnail images ...

... is it possible to make it scroll sideways ?

(ps This is like grasping at straws and I kinda know the answer, but just in case someone might have a pleasant surprising answer :) )

Thanks,

-Thomas

TECHNICALLY... yes,

The way i might look at doing it (for 5 thumbnails) would be to use 6 fields in total (5 calc result container, 1 number)

Assumptions: your thumbs are stored in a related table called "RelatedTable" and the field is called "Thumb".

Calcs:

1) GetNthRecord( Thumb::RelatedTable ; number )

2) GetNthRecord( Thumb::RelatedTable ; number +1)

3) GetNthRecord( Thumb::RelatedTable ; number +2)

4) GetNthRecord( Thumb::RelatedTable ; number +3)

5) GetNthRecord( Thumb::RelatedTable ; number +4)

Then, default number to be 1, and for your left and right "scroll arrows" simply subtract or add 1 respectively to the number field. You will also most likely have to use the Refresh (or Refresh Window) script step in order to refresh your container fields.

Also line up your calc fields left to right, 1-5.

Hope this helped.

~Genx

This might help

http://www.24usoftware.com/Portals#download

Phil

Your 5 container calcs could be one repeating field. But GetNthRecord() is not available in version 7. Still, it can be done, using a value list and multiple single-row portals - see attached.

HorizontalPortalSimple.fp7.zip

God, i always forget to check version numbers

Oops - me too!! That download is for 8 only :)

  • Author

wow !

Thank you all for the great tips !

I see it can only be done as a scripted solution (although it would be nice to see an option "show horizontal scroll bar" in the portal setup).

About the scripts: Yes I am still on FM7 (but it seems I need to upgrade :) )

@comment: Thank you for the sample ... I am looking at it right now.

EDIT: "comment", I like your solution for fm7. Very inventive. Thank You !

Edited by Guest

Create an account or sign in to comment

Important Information

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

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.