我正在寻找一种在实现缩放的迷人测验幻灯片上设置最大宽度的方法。我已经做了一些研究,并为更旧的版本找到了一些答案,例如迷人 6: https ://forums.adobe.com/message/6019502#6019502
var isMobile;
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) )
{
isMobile = true;
}
else
{
isMobile = false;
}
Then in the CPM.js find:
cp.shouldScale = cp.D.project.shc;
and replace with:
if(isMobile)
{
cp.shouldScale = cp.D.project.shc;
}
else
{
cp.shouldScale = false;
}
问题似乎是它没有认识到按预期扩大规模。我的问题是,是否有一种已知的方法可以创建一个停止点,使迷人的缩放将停止上升?
更新:创建响应式项目成本高昂,因为它需要为每个视图模式重建 180 多张幻灯片的整个项目。