Giter VIP home page Giter VIP logo

jquery.adschedule's Introduction

提示:只建议使用google浏览器。

更新到版本2.0日志:
1. 支持到bootstrap前端框架3.0(不向下兼容)。
2. 修改了一些BUG。

本插件会在项目的使用过程中,会对插件的使用性和移植的灵活性做优化或功能提升。


效果展现形式类似 百度广告管家 的投放视图效果。
效果图片:https://github.com/cqlucasho/jquery.adSchedule/wiki
-------------------------------------------------------------------------------------
通过插件提交的日期参数,取得数据结果集并处理成以下数组形式:

Array
(
    [1] => Array
        (
            [name] => A01 首页头部			# 广告位的名称
            [width] => 131				# 广告位的宽度
            [height] => 323				# 广告位的高度
            [adNum] => 3				# 广告位的最大广告数
            [adData] => Array				# 广告位下面的广告保存变量		
                (
                    # adData数组下面只允许出现一个多维数组
                    [0] => Array
                        (
                            [1] => Array		# 1表示: 广告位
                                (
                                    [8] => Array	# 8表示: 当前查看日期月份
                                        (
                                            [19] => 3	# 19表示: 按当前天数作为填充基数, 3表示:当天一共有多少条广告在同一时间上线。
                                            [20] => 3
                                            [21] => 3
                                            [22] => 3
                                            [23] => 3
                                            [24] => 3
                                            [25] => 3
                                            [26] => 3
                                            [27] => 3
                                            [28] => 3
                                            [29] => 3
                                            [30] => 2
                                            [31] => 2
                                        )

                                )

                        )

                )

        )
)

并转为json对象输出.

jquery.adschedule's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.