[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/swftools/swfobject/ -> swfobject.module (summary)

(no description)

File Size: 84 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  swfobject_swftools_methods()
  swfobject_swftools_embed()
  _swfobject_header_js()

Functions
Functions that are not part of a class:

swfobject_swftools_methods()   X-Ref
SWF Tools - SWFObject

Enables the use of 's swfobject.js which provides image replacement
for Flash content. swfobject.js must be downloaded separately. (Add
the contents of the zip file to swftools/shared/

Author's Site.
http://www.airtightinteractive.com/simpleviewer/

swfobject_swftools_embed($action = 'add_js', $methods = FALSE, $vars = FALSE, $html_alt = '')   X-Ref
Implementation of swftools_embed hook
Returns the markup for the page, plus set necessary javascript.

$methods and $vars should never be empty - unless the only reason for this call
is to push the javascript into the header of the page in which case you don't
add any paramters as all. This is useful for filtered nodes where the body is
not regenerated every time.

_swfobject_header_js()   X-Ref
The jQuery code that will try to replace all elements after the page loads.
This parses the JSON out of the 'swftools' attribute of all class="swfobject" divs.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7