+ Reply to Thread
Results 1 to 10 of 10

Thread: Whats the...

  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    155

    Default Whats the...

    Whats the code for having a popup with a specific size, and without the back buttons and stuff... how can I do that?>

  2. #2
    Member
    Join Date
    Aug 2004
    Posts
    183

    Default

    search at sites like: Javascriptkit.com, there must be a pop-up generator.

  3. #3
    Moderator
    Join Date
    Apr 2004
    Location
    Planet Earth.
    Posts
    2,166

    Default

    ok. The following will open automatically with all the toolbars and menus and stuff...:

    Code:
    <head>
    <script language="JavaScript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=xxx,height=xxx,left=xxx,top=xxx');");
    }
    </script>
    </head>
    <BODY onLoad="javascript:popUp('filename-or-url')">
    This one opens when you use the link and has no menus or toolbars etc:
    Code:
    <head>
    <script language="JavaScript">
    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=500,height=350');");
    }
    </script>
    </head>
    
    <body>
    <A HREF="javascript:popUp('filename-or-url')">Open the Popup Window</A>
    Hope all that works...

  4. #4
    Member
    Join Date
    Aug 2004
    Posts
    183

    Default

    hmmmm..... you must be able to edit the popup 1 together with the click 1

    i am to lazy to do it:P

  5. #5
    Moderator
    Join Date
    Apr 2004
    Location
    Planet Earth.
    Posts
    2,166

    Default

    Sorry? I didn't understand that at all...

  6. #6
    Member
    Join Date
    Aug 2004
    Posts
    183

    Default

    cant explain any ells sorry

  7. #7
    Moderator
    Join Date
    Apr 2004
    Location
    Planet Earth.
    Posts
    2,166

    Default

    Do you want the 1st one to open from a link?
    Or do you want the 2nd one to open automatically or what????

  8. #8
    Member
    Join Date
    Aug 2004
    Posts
    183

    Default

    i dont know, i didn't ask for it!

  9. #9
    serious member
    Join Date
    Apr 2004
    Posts
    373

    Default

    oh sorry i posted it in the wrong column i put my reply in pythons go back javascript thread

  10. #10
    Forum Leader sec's Avatar
    Join Date
    Apr 2004
    Location
    UK, Wales
    Posts
    4,650

    Default

    ahh i was wondering why you replied to that thread
    Web Development Tutorials
    - Photoshop, CSS, PHP & more...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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