WordPress.org

Ready to get started?Download WordPress

Forums

Basic PHP function question (5 posts)

  1. elmsblog
    Member
    Posted 8 years ago #

    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!

  2. niziol
    Member
    Posted 8 years ago #

    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.

  3. failurebydesign
    Member
    Posted 8 years ago #

    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!!

  4. elmsblog
    Member
    Posted 8 years ago #

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

    Thanks!

  5. CalEvans
    Member
    Posted 8 years ago #

    @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=

Topic Closed

This topic has been closed to new replies.

About this Topic