javascript Burda Mobile Panorama Ad v2 | SWIPE

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了javascript Burda Mobile Panorama Ad v2 | SWIPE相关的知识,希望对你有一定的参考价值。

// burdaForward mobile panoramaAd 
o.addEventListener("adonpage", function () {
    parent.window.addEventListener('devicemotion', function (event) {
        var motionX = event.accelerationIncludingGravity.x,
            devMo = {
                x: event.accelerationIncludingGravity.x,
                y: event.accelerationIncludingGravity.y,
                orientation: window.orientation
            }
        o.dispatchToCreative("devMoData", devMo);
    }, true);
});

以上是关于javascript Burda Mobile Panorama Ad v2 | SWIPE的主要内容,如果未能解决你的问题,请参考以下文章

javascript Modal Mobile(andoid,ios)

javascript is_mobile.js

javascript 检测是否在Mobile中运行

javascript !mobile-menu-visible!搜索 - 可见

JavaScript 判断手机端访问并跳转 redirect mobile

jQuery mobile - Javascript,param传递,css文件组织