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 11
  1. #1
    Join Date
    Dec 2006
    Posts
    7
    Tokens
    0

    Default Html code to close a pop-up and reopen it

    How do you close someones popup when they go to your website then open up another popup instead of it?

  2. #2
    Join Date
    Dec 2006
    Posts
    7
    Tokens
    0

    Default

    Anyone

  3. #3
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    it's js, not html.
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  4. #4
    Join Date
    Dec 2006
    Posts
    7
    Tokens
    0

    Default

    Ok..
    Do you know how to do it? :s

  5. #5
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    it'd be a waste of time me telling you because you wouldn't understand it:
    http://www.quirksmode.org/js/popup.html
    enjoy.
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  6. #6
    Join Date
    Dec 2006
    Posts
    7
    Tokens
    0

    Default

    I've found out how to open a pop-up.
    But how do you make a pop-up when someone enters your website, to close?

  7. #7
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    read the whole article :]
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  8. #8
    Join Date
    Dec 2006
    Posts
    7
    Tokens
    0

    Default

    Umm..I've read the article and I'm confused.
    Does it tell how, when someone comes to your website, one of their own windows closes?
    If it does.. I cant find it. :s
    Where abouts does it say that?

  9. #9
    Join Date
    Oct 2005
    Location
    London :D
    Posts
    899
    Tokens
    0

    Default

    Place this on your page you want to popup
    HTML Code:
    <iframe name="YOURNAMEHERE" src="/directory/page.extension" width="00px" height="00px" frameborder="0">
    Now place this on the src file of the iframe (you add what you want in the popup on this page too, and then the close code below where you want the link for it to close):
    HTML Code:
    <a href="javascript:self.close()">YOUR TEXT HERE WHICH WILL CLOSE THE WINDOW</a>
    Now you place this on the main page where you want the popup:
    Code:
    <a href="window.frames.YOURNAMEHERELIKEABOVE.location.href="/source/of/your/iframe;">YOUR LINK TEXT HERE WHICH WILL MAKE IT POPUP</a>
    Meh hope that helps... I also have the button to close the window and the picture
    Last edited by CJ-real; 31-12-2006 at 11:54 AM.
    PM ME FOR QUICK HELP ON WEBDESIGNING, CODING, AND COMPUTER PROBLEMS! I WILL BE GLAD TO HELP FOR FREE!

    I AM A GOLD HC MEMBER! 16 MONTHS! I have been on Habbo since the layout with the Newsie, and 14 of my articles were posted! I'm trusted when trading HC stuff for coding!


    Noob person (this is true):

  10. #10
    Join Date
    Oct 2005
    Posts
    401
    Tokens
    0

    Default

    Ye as said sounds like your trying to hack habbo kiddies but meh
    You have to use the same popup name as what the popup name is for example say the window id was popin you'd have to make your popup code using that name
    Musicicon is
    currently

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
  •