Dienstag, 19. Juli 2011

Nyromodal strips / removes script tag on ajax / xhr load

Got me some time to get 'round this, here's the solution:

"If you need to use an external JavaScript content, you could add the attribute rel="forceLoad" to the script tag and nyroModal will load it during the opening modal."

"If you want to use a script which need the content to be visible (many jQuery UI script for instance) you could add the setting rev="shown" to the inline or external script tag to execute it juste before the endShowContent callback."

Source: http://bit.ly/oJ8AeD

Keine Kommentare:

Kommentar posten