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 2 of 2
  1. #1
    Join Date
    Dec 2007
    Posts
    2,807
    Tokens
    0

    Latest Awards:

    Default Fixed window size button

    If I had a splash page with an enter button and I wanted it so you clicked it and it opened another window at a fixed size (800x600). How would I do it?

  2. #2
    Join Date
    Oct 2007
    Location
    UK
    Posts
    471
    Tokens
    0

    Default

    Just did a quick googling and found this:
    To open a new window with fixed size, you will need to use javascript for this.
    Syntax:
    open("URL", "windowName", "width=XXX,height=XXX,resizable=no")

    Say you want to open this page, index2.html, to be 400 wide and 300 height and non-resizable, simple add a link similar to following to your main page:
    Code:
    <a href="#" onclick="window.open('index2.html', 'mywindow', 'width=400,height=300,resizable=no');">click here</a>

Posting Permissions

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