Forums

WP-prettyPhoto
German Locale Kills Javascript (1 post)

  1. eventhorizon
    Member
    Posted 1 year ago #

    $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://wordpress.org/extend/plugins/wp-prettyphoto/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic