Rune Grønkjærs Blog
Abonnér på mit feed

jQuery Modal Window standard settings

onOpen

The onOpen event is fires before the jQuery Modal Window is opened.
type: function
Value: function (content) { }

onOpened

The onOpened event is fired when the jQuery Modal Window has been opened.
type: function
Value: function (content) { }

onClose

The onClose event is fired before the jQuery Modal Window is closing.
type: function
Value: function (content) { }

onClosed

The onClosed event is fired when the jQuery Modal Window has been closed.
type: function
Value: function (content) { }

opacity

The opacity of the background.
type: float
Value: 0.8

background

The css background value for the background.
type: css background Value
Value: ‘#000′

minDistanceToViewport

The margin from the jQuery Modal Window to the edge of the browserwindow.
type: integer
Value: 0

zIndex

The z-index position of the jQuery Modal Window.
type: integer
Value: 999

animateTime

The time in milliseconds it should take the Modal Window to animate.
type: integer
Value: 500

closeOnBlockClick

A boolean Boolean Value indicating whether Modal Window should close when clicking on the background.
type: boolean
Value: true

fixedTop

The absolute location of Modal Window from the top of your browser window.
type: integer (null if no Value is sought)
Value: null

fixedLeft

Absolute location of Modal Window from your browser window left side.
type: integer (null if no Value is sought)
Value: null

Dansk version