Rechercher une page de manuel
Jifty::Plugin::IEFixes.3pm
Langue: en
Version: 2009-07-20 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Jifty::Plugin::IEFixes - Add javascript files for IESYNOPSIS
# In your jifty config.yml under the framework section:Plugins: - IEFixes: use_external_ie7js: 1 js: - IE7 - IE8 - ie7-recalc - ie7-squish cdn: 'http://yourcdn.for.static.prefix/' In your app, if you want to add more ie-specific js: my ($ief) = Jifty->find_plugin('Jifty::Plugin::IEFixes') $ief->add_javascript( qw(file.js) );
METHODS
init
Outputs IE-specific ``conditional comments'' in the "<head>" of each response which include more javascript.add_javascript FILE
Can be called during application initialization (at startup time) to add more javascript which should only be included in IE browsers. See also ``add_javascript'' in Jifty::Web.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre