vui document

Class: fixed

position fixed (兼容IE6)

Author: putaoshu@126.com.
View source: fixed.js.

Arguments:

vui.fixed (obj, options)

  1. obj - (Object) 主对象
  2. options - (Object) 组件配置
  3. options.top - (Number) null top
  4. options.bottom - (Number) null bottom
  5. options.left - (Number) null left
  6. options.right - (Number) null right
  7. options.zIndex - (Number) null right
  8. options.place - (Number) null 方位选择:topLeft,topRight,topCenter,bottomLeft,bottomRight,bottomCenter

Example:

vui.fixed($('#test'),{place:'bottomRight'})
vui.fixed($('#test'),{
	top:1,
	left:1
})

See Also: