WordPress.org

Support

Support » Plugins and Hacks » Basic PHP function question

Basic PHP function question

  • Installed a plugin for my AIM online status. The issue for me is that my website waits until this plugin has retrived and displayed my online status before rendering the rest of the page. Is there a way around this at all??? I just want my page to load while the plugin is searching for my AOL screenname.

    Thanks ya’ll!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not completely sure, but I think the only way would be something like an iframe in HTML, because even if you include a seperate php page via php, it would still need to execute and generate its results before sending the server could output the page to the browser.

    I’m sure there is a way with javascript or something, I just don’t know what it is!

    Good luck,
    Michael.

    The Javascript handler onLoad (when used in your BODY tag) loads anything you want after the rest of the page has finished loading.
    I’m stupid with Javascript though so I have no idea how to run a PHP script with onLoad.. sorry!!

    that would be cool. anyone familiar or know another technique??

    Thanks!

    @elmsblog,

    I’ve toyed with the idea of AJAXifying this plugin. Maybe v2.0. That would prevent it form stopping the load of your page because it would use JavaScript to load it in the background. Then display it. It’s a thought I’ve had for a while, just never got around to it.

    =C=

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Basic PHP function question’ is closed to new replies.
Skip to toolbar