HabboxWiki needs you!
Are you a Habbo buff? Or maybe a rare trader with a bunch of LTDs? Get involved with HabboxWiki to share your knowledge!
Join our team!
Whether you're raving for rares, excited for events or happy helping, there's something for you! Click here to apply
Need a helping hand?
Check out our guides for all things to help you make friends, make rooms, and make money!


Results 1 to 2 of 2

Thread: Ajax refresh

  1. #1
    Join Date
    Jan 2007
    Posts
    190
    Tokens
    0

    Default Ajax refresh

    HI there how do i make a Ajax refresh as i am not good at Ajax i want a page to reload like in a <div> or some thing thank you.

  2. #2
    Join Date
    Mar 2007
    Posts
    8
    Tokens
    0

    Default

    hay i found this on the prototype website
    Automate requests with the Ajax.PeriodicalUpdater

    You find the Ajax.Updater cool, but want to run it in periodical intervals to repeatedly fetch content from the server? Prototype framework has that, too - it's called Ajax.PeriodicalUpdater, and basically it's running Ajax.Updater at regular intervals.

    new Ajax.PeriodicalUpdater('products', '/some_url',
    {
    method: 'get',
    insertion: Insertion.Top,
    frequency: 1,
    decay: 2
    });
    Hope this helps ya, im trying to do the same thing too, so hopefully i could help you. By the way for that to work u need to download the prototype script (its javascript) Download.
    Anyway Good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •