Labs/Personas/Previewing Code: Difference between revisions

Jump to navigation Jump to search
(Created page with '== HTML == The Personas JavaScript binds to whatever elements you pass it, but it expects a 'personas' attribute on those elements in the following format (copied from getperso…')
 
Line 27: Line 27:
'''jQuery required'''
'''jQuery required'''


Grab http://www.getpersonas.com/static/js/script.js and pull out these functions:
Grab http://people.mozilla.org/~rdoherty/personasfunctions.js and add it to your JS file.
* dispatchPersonaEvent
* previewPersona




975

edits

Navigation menu