Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

This is a AD plugin depended on jQuery.

NotificationsYou must be signed in to change notification settings

jsonzou/jquery-smartAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a AD plugin depended on jQuery.

Usage:

//调用参数var option={     position:"",//广告悬挂位置.默认右下角(br)。可选值[tl|tm|tr|mm|ml|mr|mlt|mlb|mrt|mrb|bl|bm|br]   .字母意义:t(top上),b(bottom下),l(left左),r(right右),m(middle中)      style:{           height:0,//高        width:0,//宽background:"",//背景,窗体头部背景色border:"",//边框top:0,//顶部位置left:0//左边位置},//广告窗体样式   close:true,//是否可关闭      header:true,//是否显示广告窗体头部      fixed:true,//是否固定位置浮动窗口显示      content:"",//广告内容,一般是图片,或html代码      link:"#",//广告链接      delay:0,//广告窗体延迟消失时间      delayFunc:contants.delayFunc,//广告窗体消失效果函数,为jQuery自带函数,默认淡出(fadeOut)。   可选值:[fadeOut,hide,slideUp]      before:null,//广告加载前回调函数function(option,win,winHeader,winBody){}.   option:配置参数,win:广告窗体jQuery对象,winHeader:广告窗体头部jQuery对象        ,winBody:广告窗体body的jQuery对象      after:null//广告加载后回调函数function(option,win,winHeader,winBody){}.   option:配置参数,win:广告窗体jQuery对象,winHeader:广告窗体头部jQuery对象        ,winBody:广告窗体body的jQuery对象      };         //支持3种调用方式: //方式1: $smartAD(option);   //方式2:   $("div#ad1").smartAD(option);   //方式3:   $.smartAD(option);

About

This is a AD plugin depended on jQuery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp