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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: AJAX Help!!

  1. #1
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default AJAX Help!!

    If you view my website which is this

    http://www.totalmusic.fm/

    You will notice a static box down in the left hand corner, i know this isnt visible in IE.

    I am going to put my radio down in that, but when people go to each new game, that means that it is going to refresh the radio everytime, how do I go about making it not refresh, I think this involves AJAX.

    +REP for any help

  2. #2
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default

    Any help.

  3. #3
    Join Date
    Dec 2008
    Location
    Victoria, Australia
    Posts
    462
    Tokens
    2,114
    Habbo
    Fiendly

    Latest Awards:

    Default

    You could use the static as the actual main page and just iframe the background?
    If not, make it a pop up window for users who want to listen can just pop it up!
    Last edited by Fiendly; 09-03-2011 at 11:31 AM.

  4. #4
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default

    Quote Originally Posted by Fiendly View Post
    You could use the static as the actual main page and just iframe the background?
    If not, make it a pop up window for users who want to listen can just pop it up!
    What do you mean by the first comment.

    We tried having the pop up radio before, our listeners dropped as they have to click it themselves, plus we want it so they can listen whilst playing games

  5. #5
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by dubstep View Post
    What do you mean by the first comment.

    We tried having the pop up radio before, our listeners dropped as they have to click it themselves, plus we want it so they can listen whilst playing games
    The first bit means make the whole main page an iframe, then add a little floating box with a radio in the bottom corner, outside of the iframe. That way, when people click the links it will just load the page into the iframe, without touching the radio box.
    I'm not sure if it's the best way to do it, but it sounds like it would work.

  6. #6
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default

    This would mean putting it in another directory which would be fine, but when in an iFrame all the links etc to the games would not work?

  7. #7
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by dubstep View Post
    This would mean putting it in another directory
    Why?
    *longer*

  8. #8
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default

    Quote Originally Posted by Trinity View Post
    Why?
    *longer*
    How can I iframe the main index page on to itself

  9. #9
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Ctrl + F & find all code that is index.php and change to iframe_page.php?

    Also, why not use onLoad function to load the radio in a popup? If they dnt wish to listen, they can close it? Maybe set a cookie to only show if the cookie says they want to see it each time?

    Lew.
    Im not here to be loved, I love to be hated :-}


  10. #10
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default

    Quote Originally Posted by LMS16 View Post
    Ctrl + F & find all code that is index.php and change to iframe_page.php?

    Also, why not use onLoad function to load the radio in a popup? If they dnt wish to listen, they can close it? Maybe set a cookie to only show if the cookie says they want to see it each time?

    Lew.
    I wouldn't know how to do this as I am not a coder. Would you please explain.

Page 1 of 2 12 LastLast

Posting Permissions

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