Move feature not working
May 10, 2016 12:00 AM
Hi,
Move feature doesn't work properly for different devices in responsive course design.
undefined
Thanks
Discussion (4)
on desktop, it fits onto screen but on mobile it's going out of the screen.
From my experience the "Move to" action is working correctly on any device, but the target coordinates are not "scaled" along with the elements on the page.
You can define a different "MoveTo" action for each device / rotation and use the variable "CurrentView" as a condition for the actions. The variable tells you whether the user uses a tablet or a phone and whether the page is viewed in portrait or landscape mode. It can have 5 different values: "Desktop", "TabletLandscape", "TabletPortrait", "PhoneLandscape", "PhonePortrait".
So you can Move To x:100, y:200 IF CurrentView equal to "Desktop" and
another action MoveTo x:80, y:180 IF CurrentView equal to "TabletLandscape" etc.
If you want actions to only be run on a phone you can use -> IF CurrentView contains "Phone".
IF CurrentView contains "Portrait" then actions will be run both on Phones and Tablets but only in Portrait view.
Tim
Do you have any more details beyond "doesn’t work properly"?
Discussions have been disabled for this post