• eventhorizon

    (@eventhorizon)


    $output = <<<EOHTML
          <script type="text/javascript" charset="utf-8">
            /* <![CDATA[ */
            jQuery(document).ready(function($) {
              $("a[rel^='{$wppp_rel}']").prettyPhoto({
                animationSpeed: '{$wppp_speed}',
                padding: {$wppp_padding},
                /*opacity: {$wppp_opacity},*/

    As you see, I have to disable the opacity value because of $wppp_opacity returns “0,35” which leads to an javascript exception (object initialization error).

    This happens in the german version and may have its origin in the different locale.

    http://ww.wp.xz.cn/extend/plugins/wp-prettyphoto/

The topic ‘[Plugin: WP-prettyPhoto] German Locale Kills Javascript’ is closed to new replies.