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 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Mar 2012
    Location
    UK
    Posts
    660
    Tokens
    0
    Habbo
    alexhenry

    Latest Awards:

    Default

    Quote Originally Posted by Kasabian View Post
    I can't help with the coding side of things too much, as I don't know too much about JS. But from a graphics point of view, it's annoying me that the circle background is just a box and not full page
    What do you mean?

    ---------- Post added 07-06-2012 at 06:20 PM ----------

    Quote Originally Posted by Tomm View Post
    Yeah it is working, it is not displaying that message as the page loads anymore.
    Ahh thanks but it still comes up with a different font and then jumps to its proper font. Know why?...

  2. #12
    Join Date
    Nov 2005
    Posts
    7,708
    Tokens
    3,967
    Habbo
    Kasabian

    Latest Awards:

    Default


  3. #13
    Join Date
    Mar 2012
    Location
    UK
    Posts
    660
    Tokens
    0
    Habbo
    alexhenry

    Latest Awards:

    Default

    Quote Originally Posted by Kasabian View Post
    Meh, I quite like it like that.

  4. #14
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    What jumps to the proper font? Are you talking about the "New Features are on their way"? I was talking about the "Thank you for contacting us" that no longer displays before the form.

    Quote Originally Posted by AlexHenry View Post
    What do you mean?

    ---------- Post added 07-06-2012 at 06:20 PM ----------



    Ahh thanks but it still comes up with a different font and then jumps to its proper font. Know why?...

  5. #15
    Join Date
    Mar 2012
    Location
    UK
    Posts
    660
    Tokens
    0
    Habbo
    alexhenry

    Latest Awards:

    Default

    Quote Originally Posted by Tomm View Post
    What jumps to the proper font? Are you talking about the "New Features are on their way"? I was talking about the "Thank you for contacting us" that no longer displays before the form.
    On the contact form, the thank you for contacting us doesn't display the form anymore but the text jumps from one style to the correct font very quickly... Thank you for your continued help!

  6. #16
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    There is not much you can do about this, it is a common problem when using remotely fetched fonts. I see you are using some Javascript called cufon to display the font using canvas. I'm not sure why you chose this option over @font-face like you've used on http://alexelliott.org.uk/maint/ but, regardless, this still would not fix your problem in all browsers. If you use @font-face, webkit based browsers (e.g chrome, safari) will not display any text until the font is loaded, firefox will display the text in an alternative font until your font is loaded (similar to how you see it now) and I'm not sure how IE handles it.

    The best way I've found of managing this is to ensure I use proper caching for my @font-face fonts to make sure the user only downloads the font once and therefore only experiences the "flash of unstyled text" on their first page load but subsequent page loads are seamless.

    Quote Originally Posted by AlexHenry View Post
    On the contact form, the thank you for contacting us doesn't display the form anymore but the text jumps from one style to the correct font very quickly... Thank you for your continued help!

  7. #17
    Join Date
    Mar 2012
    Location
    UK
    Posts
    660
    Tokens
    0
    Habbo
    alexhenry

    Latest Awards:

    Default

    Quote Originally Posted by Tomm View Post
    There is not much you can do about this, it is a common problem when using remotely fetched fonts. I see you are using some Javascript called cufon to display the font using canvas. I'm not sure why you chose this option over @font-face like you've used on http://alexelliott.org.uk/maint/ but, regardless, this still would not fix your problem in all browsers. If you use @font-face, webkit based browsers (e.g chrome, safari) will not display any text until the font is loaded, firefox will display the text in an alternative font until your font is loaded (similar to how you see it now) and I'm not sure how IE handles it.

    The best way I've found of managing this is to ensure I use proper caching for my @font-face fonts to make sure the user only downloads the font once and therefore only experiences the "flash of unstyled text" on their first page load but subsequent page loads are seamless.
    Okay thanks, just gonna leave it but I really appreciate all of your help!

Page 2 of 2 FirstFirst 12

Posting Permissions

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