Class: fn

jQuery. fn

See the jQuery Library (http://jquery.com) for full details. This just documents the functions and classes that are added to jQuery by this plug-in.


new fn()

Methods


appendSpinner(options)

Sets the loader element (an animated gif image) to the given jQuery.fn.

Parameters:
Name Type Description
options Object

{z_index: int div.WaitLoader-elementin z-indeksi (oletus 20000), duration: int appearance duration in ms (default: 1000 ms)}

Author:
Returns:

object for method chaining

Type
jQuery.fn

centerTo(what, remember)

Centers the given element against the given element

Notes: the centerized jQuery.fn component has also the following CSS settings after execution:

{display: block, position: absolute}

Parameters:
Name Type Description
what String | jQuery.fn

a selector, or jQuery to use as context to center

remember boolean

whether the centering should be rememebered when resizing or not (optionla: default value FALSE)

Returns:

object for method chaining

Type
jQuery.fn

cleanVal()

Lomakkeen tekstisyötteen sisällön siistijä

Author:
Returns:

object for method chaining

Type
jQuery.fn

cookieBanner()

Implements functionality for a cookie banner

Returns:

object for method chaining

Type
jQuery.fn

dateTimeInput()

Sets the dateTimeInput

Returns:

for fluent interface

Type
$.fn

removeWaitLoader(options)

Poistaa div.WaitLoader-elementin annettuista jQuery-objekteista.

Parameters:
Name Type Description
options Object

{duration: int postumisefektin kesto millisekunneissa (oletus 1000 ms)}

Since:
  • 2012-09-23
Author:
Returns:

object for method chaining

Type
jQuery.fn

setProgress($progress, $text)

Replaces the selected part of the attribute value

Parameters:
Name Type Description
$progress Number

new progress level in percent (0-100)

$text String

new progress level text

Returns:

object for method chaining

Type
jQuery.fn

sphLoadContent()

Loads the data from the server pointed on the data attribute 'data-sph-load' using jQuery's Ajax capabilities and places the returned HTML into the object.

Returns:

object for method chaining

Type
jQuery.fn

sphMouseCoordinatesViewer()

Shows the mouse coordinates when ever the mouse is onver the containing document

Returns:

object for method chaining

Type
jQuery.fn

sphpAjaxAppend()

Loads the data from the server pointed on the data attribute 'data-sph-load' using jQuery's Ajax capabilities and places the returned HTML into the object.

Returns:

object for method chaining

Type
jQuery.fn

sphpPopper(options)

Shows a quick popup text over the element

Parameters:
Name Type Description
options Object

{content: String the content of the popper, delay: int visibility time (default 3000 ms)}

Returns:

object for method chaining

Type
jQuery.fn

sphpPopup()

Sets popups default javascript functionality

Requires jQuery UI (1.8.19)+

Author:
Returns:

object for method chaining

Type
jQuery.fn

sphpTipso()

Implements Tipso functionality

Returns:

object for method chaining

Type
jQuery.fn

switchBoard()

Implements switchBoard functionality

Returns:

object for method chaining

Type
jQuery.fn

viewportSizeViewer()

Shows the viewport size of the containing document

Returns:

object for method chaining

Type
jQuery.fn