A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Adding a pop up link

  1. #1
    Junior Member
    Join Date
    Jul 2002
    Posts
    2
    I am new to Koolmoves. (bought it yesterday)
    How can I make a link open up a pop up window that is a certain size for a php page. I have a java script that I put in html pages but I can't figure out how to make it work with Koolmoves.

    Thanks

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    http://board.flashkit.com/board/show...hreadid=244115

    Prety much from either the Get URL or Javascript Interface you will type this Javascript:window.open('url','pagename','atributes ');void(0); or you can use the line waytogo used - Its suitable and a bit cleaner.


  3. #3
    Member
    Join Date
    Jan 2001
    Posts
    59
    Originally posted by johnie
    http://board.flashkit.com/board/show...hreadid=244115

    Prety much from either the Get URL or Javascript Interface you will type this Javascript:window.open('url','pagename','atributes ');void(0); or you can use the line waytogo used - Its suitable and a bit cleaner.

    Hi!
    Why do I need the "void(0)?"

    Thanx

    Gorky

  4. #4
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    If you don't use it then it ruins the page you were on- Try both ways if you don't believe me.


  5. #5
    Junior Member
    Join Date
    Jul 2002
    Posts
    2

    Thanks for the help!

    Originally posted by johnie
    http://board.flashkit.com/board/show...hreadid=244115

    Prety much from either the Get URL or Javascript Interface you will type this Javascript:window.open('url','pagename','atributes ');void(0); or you can use the line waytogo used - Its suitable and a bit cleaner.

    I think you guys are way out of my league. I don't know what the attributes are. I need to open up a window that is 700px wide, 400px tall, scrollable, with the url http://www.keyslounge.com/calendar/calendar.php

    also I couldn't find the other one you suggested.

    Thanks very much for your help, I know Koolmoves is a good product I just think maybe its above my skill level to do the cool stuff.

    Tony

  6. #6
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    atributes are things like Hieght and Width... that type of thing.

    Anyhow to do this you will switch KoolMoves into advanced skills if it isn't already in Advanced Skills mode. You do this bvuy going to File>Preferences

    Now once it is in advanced skills you will add this as a Javascript action (Javascript Actions are under advanced)...

    javascript:void(window.open('http://www.keyslounge.com/calendar/calendar.php ','My page','width=700,height=400'));

    If you do not want to switch over to Adavnced skills you could also get away with simply using that as a URL in a Get URL action.

    Anyhow I hope that answered your question.

  7. #7
    Senior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    379
    Frank has an example to download at:
    http://www.koolface.com under Components

    or directly here:
    http://www.koolface.com/components/w.../winpopup.html

    Hilary

    --

  8. #8
    Junior Member
    Join Date
    Jun 2003
    Location
    TEXAS
    Posts
    15

    error on script

    I tried the script that was given for the pop up window. I get an error every time. The error is attached as a GIF file.

    Please help!
    Attached Images Attached Images
    Tobzter::.

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