Android SlidingMenu 的實現

別人的博客也寫的很好,記錄下來: javascript



-- 幾個連接:
http://blog.csdn.net/niejing654092427/article/details/7864091
http://blog.csdn.net/jj120522/article/details/8075249
http://blog.csdn.net/knlnzhao/article/details/7920766
http://www.2cto.com/kf/201210/163440.html
html

<script type="text/javascript">
    (function(win,doc){
        var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0];
        if (!win.alimamatk_show) {
            s.charset = "gbk";
            s.async = true;
            s.src = "http://a.alimama.cn/tkapi.js";
            h.insertBefore(s, h.firstChild);
        };
        var o = {
            pid: "mm_49232875_4366040_14644072",/*推廣單元ID,用於區分不一樣的推廣渠道*/
            appkey: "",/*經過TOP平臺申請的appkey,設置後引導成交會關聯appkey*/
            unid: ""/*自定義統計字段*/
        };
        win.alimamatk_onload = win.alimamatk_onload || [];
        win.alimamatk_onload.push(o);
    })(window,document);
</script>
相關文章
相關標籤/搜索