Results 1 to 4 of 4
  1. #1
    TiM©:*)
    Guest

    Default how do i make a link open in a new window with a custom height and width?

    ? sorry my last post didnt make sense

    Tim

  2. #2
    E.ric
    Guest

    Default Re: how do i make a link open in a new window with a custom height and widt

    Would you set height, width or variable height and width?

    This is a bit of javascript, I hope you are not confused, it can have one pop-up or two, I made it up as I went along, if you like I could post working code

    all you need to do is to call the function up, with the data.




    function popup2(url,url2, name,name2, width1,width2, height1,height2)
    {

    settings=
    "toolbar=no,location=no,directories=no,"+
    "status=no,menubar=no,scrollbars=no,"+
    "resizable=no,width="+width1+",height="+height 1;

    MyNewWindow=window.open(url,name,settings);
    if (height2 != 0){
    settings2=
    "toolbar=no,location=no,directories=no,"+
    "status=no,menubar=no,scrollbars=no,"+
    "resizable=no,width="+width2+",height="+height 2;

    MyNewWindow=window.open(url2,name2,settings2);
    }
    }

  3. #3
    TiM©:*)
    Guest

    Default Re: how do i make a link open in a new window with a custom height and widt

    thanks

  4. #4
    E.ric
    Guest

    Default Re: how do i make a link open in a new window with a custom height and widt

    Sorry that should read

    Would like to use a set height, width or variable height and width?

    also sorry I forgot to add

    This function is called up by two different lines, one line pops up one pop up and you guess it, the other line pops up two pop up, because one pop up covered the other pop up, I had to make the bottom pop up bigger than the top pop up,

    this posting was not sponsored by the words "pop up"

Similar Threads

  1. Replies: 6
    Last Post: 09-01-2003, 11:12 PM
  2. Replies: 1
    Last Post: 04-01-2002, 08:53 PM
  3. Replies: 0
    Last Post: 04-01-2002, 05:54 PM
  4. Replies: 0
    Last Post: 04-01-2002, 05:54 PM
  5. Replies: 2
    Last Post: 24-10-2001, 09:52 AM

Posting Permissions

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