Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: Hmm...

  1. #11
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    Quote Originally Posted by Plux View Post
    You call me an idiot?
    Yet you can't do a simple Javascript.
    Why would you require a php page for javascript?
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  2. #12
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Plux View Post
    You call me an idiot?
    Yet you can't do a simple Javascript.
    Neither can you.
    Put this in the head of your site.

    <script language="javascript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,men ubar=0,resizable=1,width=500,height=500');");
    }
    </script>

    Put this where you want the box to popup (link click)

    <a href="javascript:popup('whateverhere')">link name</a>

    simple.

  3. #13
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Xiwl View Post
    Why would you require a php page for javascript?
    I'm not an expert, but as it was in a
    PHP Code:
    PHP 
    quote, I assumed it wold be that.

    Quite logical, as is copying and pasting that into a web page

    [X] [X] [X]

  4. #14
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    Quote Originally Posted by Excellent View Post
    Neither can you.
    Put this in the head of your site.

    <script language="javascript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,men ubar=0,resizable=1,width=500,height=500');");
    }
    </script>

    Put this where you want the box to popup (link click)

    <a href="javascript:popup('whateverhere')">link name</a>

    simple.
    Yeah but that won't load into an already existing pop up of my choice
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  5. #15
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Xiwl View Post
    Yeah but that won't load into an already existing pop up of my choice
    :S You're trying to load a pop up INSIDE a pop up?

  6. #16
    Join Date
    Mar 2008
    Posts
    927
    Tokens
    0

    Default

    Quote Originally Posted by Excellent View Post
    Neither can you.
    Put this in the head of your site.

    <script language="javascript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,men ubar=0,resizable=1,width=500,height=500');");
    }
    </script>

    Put this where you want the box to popup (link click)

    <a href="javascript:popup('whateverhere')">link name</a>

    simple.
    No not "simple", my code was one line long.

  7. #17
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    Quote Originally Posted by Plux View Post
    No not "simple", my code was one line long.
    Yeah but you don't know how to use it.
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  8. #18
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    HTML Code:
    <script language="javascript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,men ubar=0,resizable=1,width=500,height=500');");
    }
    </script>
    <body onload="javascript:popUp('whateverhere')">

  9. #19
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    Quote Originally Posted by Jackboy View Post
    HTML Code:
    <script language="javascript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,men ubar=0,resizable=1,width=500,height=500');");
    }
    </script>
    <body onload="javascript:popUp('whateverhere')">
    Not what i'm asking.

    I'm asking how to load the page in a chosen window that's already loaded!
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  10. #20
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Xiwl everyone is helping you and your being an ____!

    The url id is what you need to NAME! eg with habbo it used to be 'client'.
    How could this hapen to meeeeeeeeeeeeeee?lol.

Page 2 of 4 FirstFirst 1234 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
  •