[Resolved] processing.js and IE

Home Forums Support [Resolved] processing.js and IE

Home Forums Support processing.js and IE

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #102795
    maurizio elvetico

    Hi Tom,

    I have create a static intro page with an own template in which there is a processing js script.
    It works with all browser (firefox, chrome, safari) except with IE.
    At the moment I have not yet understood the real reason (any idea is welcome). In the meantime I would skip this page for ie browsers.
    In this case I think to put a piece of code with gp-hook in wp-head:

    <?php
    global $is_IE;
    if ( get_page_by_title( ‘Intro’ ) && $is_IE) {
    wp_redirect(‘http://mywebsite.com/wordpress/?page_id=15&#8217;);
    exit;
    }
    ?>
    before trying I ask for any advice about that because I have start on using WP only two months ago and I still have a lot to learn.
    to that must be added I have a little time for attempts and a fear of any possible crash.

    Thanks in advance

    #102841
    Tom
    Lead Developer
    Lead Developer

    That code looks like it would work, but I believe the is_IE variable means any version of IE. Does your script not even work with IE11?

    Either way, the above should definitely do the trick 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.