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 7 of 7
  1. #1
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default Popup. Wrong section i know, so kill me "/

    Hi,

    I have a PHP Page called Shiney Stuff which will have loads of links to cool stuff, i want each link to come in a pop up, so i want one of the links to open up, be non resizable, have no tool bars and is 400px x 300px. Please could someone give me the code for this?

    Thanks!
    Tom
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  2. #2
    Join Date
    Dec 2006
    Location
    da hood.
    Posts
    274
    Tokens
    0

    Default

    Gooooooooogle.

    Couldnt you just use a Js pop up script?


    Cool people: Spaceinvader, Xeoro, RNelson, -1., Redtom, Sam, Tomm, snail.


  3. #3
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    I dunno how to use JS or how to write it "/
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  4. #4
    Join Date
    Dec 2006
    Location
    da hood.
    Posts
    274
    Tokens
    0

    Default

    This in the Head Tags

    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 this, where you want the popup.

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


    Cool people: Spaceinvader, Xeoro, RNelson, -1., Redtom, Sam, Tomm, snail.


  5. #5
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    is that head javascript all ready, i can just put it in and it will work along with the link to the file?
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  6. #6
    Join Date
    Dec 2006
    Location
    da hood.
    Posts
    274
    Tokens
    0

    Default

    Umm yeah i think so.

    Like, thats all you have to do yes.


    Cool people: Spaceinvader, Xeoro, RNelson, -1., Redtom, Sam, Tomm, snail.


  7. #7
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    PERFECT!! Thanks!! +Rep
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

Posting Permissions

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