Results 1 to 9 of 9
  1. #1
    Join Date
    May 2006
    Location
    Cymru
    Posts
    2,157
    Tokens
    2,925

    Latest Awards:

    Default Popup Window Script... + 6 REP

    Can someone post a mini script for a popup

    So i just have to add my URL and it will open a new window


    Thanks


    + 6REP

  2. #2
    Join Date
    Oct 2006
    Location
    Northampton
    Posts
    694
    Tokens
    142

    Default

    I believe the following DHTML generator meets your specifications:

    Last edited by JamesRouale; 18-11-2006 at 07:43 PM.
    Good-bye signature, I love <NOT ALLOWED NAME AT ALL> despite the infraction his last name got me.

    Free speech? Not anymore, you gotta' love this forum.

  3. #3
    Join Date
    May 2006
    Location
    Cymru
    Posts
    2,157
    Tokens
    2,925

    Latest Awards:

    Default

    Thanks


    GOTTA SPREAD


    None seem to work

    cany someone just psot it here
    Last edited by Jargit; 18-11-2006 at 07:51 PM.

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

    Latest Awards:

    Default

    Errr.

    Try

    <a href="linkgoeshere.php" target="NEW">

    ??

  5. #5
    Join Date
    May 2006
    Location
    Huntingdon (Cambridgeshire UK)
    Posts
    3,395
    Tokens
    0

    Latest Awards:

    Default

    This goes in Head. It's good, you can edit width and height etc. Much better

    HTML Code:
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=270');");
    }
    // End -->
    </script>
    This is the link they will click.

    HTML Code:
    <a HREF="javascript:popUp('http://www.YOURPOPUPLINKHERE.com')" style="font-family: Verdana; color: #FFFFFF; font-size: 8pt; font-weight: bold">Disclaimer</a>
    Last edited by Kymux; 18-11-2006 at 08:05 PM.

  6. #6
    Join Date
    May 2006
    Location
    Cymru
    Posts
    2,157
    Tokens
    2,925

    Latest Awards:

    Default

    REp for all that i can..

    But is there one where they dont need to Click the link

    So i could liek put on on a homepage..

  7. #7
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default

    Use lost's first code, then in the <head> put this
    HTML Code:
    <script type="text/javascript">
    window.onload=function(){
    popUp('URL HERE');
    }
    </script>
    Havent tested.
    Left. Or have I?

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

    Latest Awards:

    Default

    Do what the other guy said and do

    <body onload="javascript:popUp('URLGOESHERE')">

    ETC.

  9. #9
    Join Date
    May 2006
    Location
    Cymru
    Posts
    2,157
    Tokens
    2,925

    Latest Awards:

    Default

    Nope didnt work. NVm guys :d thanks for trying

Posting Permissions

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