• Hi, In my theme i use javascript to make transition between two pages. This script looks like this:

    $("a").click(function(ev) {
     $("#fade-box").fadeOut(200, function() {
      location.href = ev.currentTarget.href;
     });
     ev.preventDefault();
    });

    All works fine, but if is my theme in live preview (and my theme is not active) and i click on any link, transition(fadeOut) occur, but i jump into page with current theme (no with my theme). I think, in live preview is some script, which blocking(and overwriting) my own script, but I really don´t know. Do you know about any native wordpress script in live preview ?

  • The topic ‘live preview and links using javascript’ is closed to new replies.