• I am trying to pull content from two wordpress pages to a page outside of wordpress, using a flash component with and javaScript to switch from page content from one page to another. Problem, it isn’t working! The first area displays perfectly, but nothing I have tried calls the second area.

    (Without the javaScript coding both pages display perfectly inline on this page. I just want to make it so page content can be displayed separately with a link so user can choose which content to view).

    <div id=”textA” style=”display:block;”>
    <?php include(“https://mydomain.com/my_page/&#8221;); ?>
    </div>

    My flash is calling: getURL(“javascript:showTextB()”);

    I have tried adding this coding to both my page outside of wordpress and to the pages I am calling from wordpress with no joy.

    (I have tried many versions of this, trying to specify the exact area with no success).

    I know there’s no flaw in the javaScript or flash as I have used this code before with no problems.

    Any suggestions on what I can do to make this work in WP?

  • The topic ‘Use javaScript to view block or none with imported WP to non WP page’ is closed to new replies.