A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: popup window and seperate window

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    16
    hi there,

    two questions

    1. how can I make the index page as a seperate window. I mean only the window without buttons and anything.
    2. How can I make a popup window appear when clicked on my swish movie

    thanx

  2. #2
    New Yorker
    Join Date
    Feb 2001
    Posts
    1,314
    Powerty
    Place this in the Goto command and leave the target empty
    and point it to the page you want. Change the code to your needs height width etc.


    javascript:function newwindow() {window.open("http://YOUR-URL.com","new","height=400,width=700,location=no,s crollbars=no,menubar=no,toolbar=no,resizable=no,st atus=no")}; newwindow();

    good luck
    D

  3. #3
    Junior Member
    Join Date
    Apr 2001
    Posts
    16

    Thanx and one more

    dion thanx very much

    one little thing
    how can I make index page like the one I made with this script? I mean only the window?

    Place this in the Goto command and leave the target empty
    and point it to the page you want. Change the code to your needs height width etc.


    javascript:function newwindow() {window.open("http://YOUR-URL.com","new","height=400,width=700,location=no,s crollbars=no,menubar=no,toolbar=no,resizable=no,st atus=no")}; newwindow();

    good luck
    D [/B][/QUOTE]

  4. #4
    Senior Member
    Join Date
    May 2001
    Posts
    193
    you have to make your index page open a new window and then sit in the background.


    put this in your head (between <head> and </head>)

    function newwindow() {
    window.open("http://YOUR-URL.com","new","height=400,width=700,location=no,s crollbars=no,menubar=no,toolbar=no,resizable=no,st atus=no")
    };



    and add onLoad="newwindow();" to your body tag.

    hope this helps

    Beware

  5. #5
    New Yorker
    Join Date
    Feb 2001
    Posts
    1,314
    If I understand right,
    you want the pop up to be your index?
    that's your opening page, so put your swish with the script on the index. http://www.yourpage.com/index.html

    then make a page that you want to open
    http://www.yourpage.com/index2.html
    and in the script

    javascript:function newwindow() {window.open("http://YOUR-URL.com/index2.html","new","height=400,width=700,location= no,scrollbars=no,menubar=no,toolbar=no,resizable=n o,status=no")}; newwindow();
    so when people get to your opening page they will click and the new window will open
    Hope this is what you need
    D

  6. #6
    Junior Member
    Join Date
    Apr 2001
    Posts
    16

    great

    you guys are great!!!!

    thanx very much, it werks :

  7. #7
    New Yorker
    Join Date
    Feb 2001
    Posts
    1,314
    I'm happy That I can help, but most of that credit goes to the fine poeple on this forum, so keep your eyes open on the post and you'll learn alot from a lot of informed people here
    Chow
    D

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center