Posted By

fackz on 02/24/10


Tagged

window popup open pop-up


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

fackz
jafar


open popup


 / Published in: ActionScript
 

  1. put this between <head></head>
  2.  
  3. <script language="JavaScript">
  4. function openWin(url, w, h)
  5. {
  6. var winprop = "width=" + w + ",height=" + h;
  7. openwin = window.open(url,'',winprop);
  8. }
  9. </script>
  10.  
  11. And this in your flash button
  12.  
  13. getURL ("JavaScript:openWin('test.html', '250', '250')");

Report this snippet  

You need to login to post a comment.