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
Printable View
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
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!Quote:
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.
Why do I need the "void(0)?"
Thanx
Gorky
If you don't use it then it ruins the page you were on- Try both ways if you don't believe me.
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.phpQuote:
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.
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
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.
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
--
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!