Results 1 to 8 of 8

Thread: New Window

  1. #1
    Join Date
    Oct 2006
    Posts
    238
    Tokens
    0

    Default New Window

    Okay i want a new window to open like when u login to habbo it opens in a small window, how is this possible?

    Edited by Lµke (Forum Moderator): Thread Moved from Website Designing. Please post in the correct section next time, Thanks .
    Last edited by Lµke; 19-01-2007 at 04:03 PM.

  2. #2
    JoeComins Guest

    Default

    In your link (starting with <a href"" > etc)
    add

    target="_blank"

  3. #3
    Join Date
    Oct 2006
    Posts
    238
    Tokens
    0

    Default

    Quote Originally Posted by JoeComins View Post
    In your link (starting with <a href"" > etc)
    add
    Not like a new window, a new window so that it loads with no tools at the top etc.

  4. #4
    Join Date
    Oct 2006
    Location
    London
    Posts
    342
    Tokens
    0

    Default

    Simple js, when page exists-client openpopup()

    client is the name of the popup V12

    need me to write it just say so in reply, but i cant do it now

  5. #5
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    Code:
    <script language="javascript" type="text/javascript">
    <!--
    function popitup(url) {
    	newwindow=window.open(url,'name','height=200,width=150');
    	if (window.focus) {newwindow.focus()}
    	return false;
    }
    
    // -->
    </script>
    Then, you link to it by:

    Code:
    <a href="popupex.html" onclick="return popitup('popupex.html')"
    	>Link to popup</a>

    Dnno think thats right

  6. #6
    Join Date
    Oct 2006
    Location
    London
    Posts
    342
    Tokens
    0

    Default

    I think he means a popup that automaticlly opens when someone is on habbo sam

  7. #7
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    No he means the window LIKE habbo..

    When you click Login and a new window pops up >.>

    I think thats correct script

  8. #8
    Join Date
    Oct 2006
    Location
    London
    Posts
    342
    Tokens
    0

    Default

    Oh im a bit dumb then sorry there are a few popup gens about. I like this one better:

    Code:
    <!-- popup code copyright habbogalaxy.com. all rights reserved -->
    <a href="#" onClick="window.open('http://www.google.com','closer','width=400,height=300');">Click here to go to a small google!</a>
    I dont know why i put the <!-- comment in lol -->

    It will be nice if u keep it but u dont have 2

    TO TEST IT OUT COPY AND PASTE THIS IN YOUR ADDRESS BAR AND PRESS GO! Works with most browsers
    javascript: document.write("<a href='#' onClick='window.open('http://www.google.com','closer','width=400,height=300');' >Click here to go to a small google!</a><br><br><i>Made by Tabo!</i>")
    Last edited by Nether$; 19-01-2007 at 03:36 PM.

Posting Permissions

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