JavaScript

Showing a Flash Element

Updated: Dec 12, 2015
Copy for LLM
The method FB.Canvas.showFlashElement() displays the HTML element passed in via the elem param, after it has been hidden via FB.Canvas.hideFlashElement(). This function will reset the CSS visibility to the HTML element’s original value, prior to being hidden.
Developers should use this function within their hideFlashCallback() function to display the element after having been hidden.

Example

var element = document.getElementById('myGreatFlashObjectElement');
FB.Canvas.showFlashElement(element);

Parameters

NameTypeRequiredDescription
elem
Object
no
HTML Element to display, generally a Flash Object element.