;

PDA

Click to See Complete Forum and Search --> : Adding a pop up link


ynotintx
07-17-2002, 07:57 AM
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

johnie
07-17-2002, 03:25 PM
http://board.flashkit.com/board/showthread.php?threadid=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.

gorky2
07-18-2002, 03:21 PM
Originally posted by johnie
http://board.flashkit.com/board/showthread.php?threadid=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

johnie
07-18-2002, 04:59 PM
If you don't use it then it ruins the page you were on- Try both ways if you don't believe me.

ynotintx
07-18-2002, 07:27 PM
Originally posted by johnie
http://board.flashkit.com/board/showthread.php?threadid=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

johnie
07-18-2002, 07:38 PM
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.

bridelh
07-18-2002, 08:22 PM
Frank has an example to download at:
http://www.koolface.com under Components

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

Hilary

--

tobztertroll
06-17-2003, 05:47 PM
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!