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?>

Comments

  • voormavoorma Member NAT Warrior
    search at sites like: Javascriptkit.com, there must be a pop-up generator.
    voorma5ny.jpg
  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    ok. The following will open automatically with all the toolbars and menus and stuff...:
    <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:
    <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... :)
  • voormavoorma Member NAT Warrior
    hmmmm..... you must be able to edit the popup 1 together with the click 1

    i am to lazy to do it:P
    voorma5ny.jpg
  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    Sorry? I didn't understand that at all... :(
  • voormavoorma Member NAT Warrior
    cant explain any ells sorry
    voorma5ny.jpg
  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    Do you want the 1st one to open from a link?
    Or do you want the 2nd one to open automatically or what????
  • voormavoorma Member NAT Warrior
    i dont know, i didn't ask for it!
    voorma5ny.jpg
  • kinkkink serious member VPS - Virtual Prince of the Server
    oh sorry i posted it in the wrong column i put my reply in pythons go back javascript thread
  • PythonPython Forum Leader The Royal RAM
    ahh i was wondering why you replied to that thread ;)

    The Royal Ram

Sign In or Register to comment.