Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 9 of 9

Thread: ajax shoutbox

  1. #1
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default ajax shoutbox

    anyone know any good tutorials for one or anything/
    anyway i decideded to refrace what i need is there anyway to refresh a page every so often using ajax.
    like it updates every 10 seconds instead of doing the whole page refresh every time
    i know you can do it when a new shout is added so i assume you can do it every so often
    Last edited by Colin-Roberts; 27-03-2007 at 09:03 PM.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  2. #2
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    but wat if u type something and it disappears when it refreshes, thats the only problem i cud thing of if it refreshes every ten seconds

  3. #3
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Just have the chat in one iframe and have the form in the other, make the chat i frame refresh every 10 seconds


  4. #4
    Join Date
    Mar 2007
    Posts
    1,691
    Tokens
    1,025

    Latest Awards:

    Default

    Use a META to fresh it.

    <meta http-equiv="Refresh" content="10; URL=LINK.php"/>

  5. #5
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Very easy use script.aculo.us

  6. #6
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    all the people that said the iframe thing thats annoying when it refreshes and thanx lucky

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  7. #7
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    There's a tutorial in the Javascript section on Techtuts.



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  8. #8
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Ask Invent!
    He knows Ajax.. like the back of his head.. no very well ;/ jk.. he knows it well.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  9. #9
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Well with a basic js knowlage, i think this tutoral is really all you need to know for a basic script, its the only tutoral ive ever really read on the subject fully, and its served me fine, dispite being a tiny one.

    http://rajshekhar.net/blog/archives/...-Tutorial.html

Posting Permissions

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