javascript>flash

Out of context: Reply #1

  • Started
  • Last post
  • 8 Responses
  • unfittoprint0

    you could this one I did:

    JAVASCRIPT:
    function popup(url, windowName, w, h, wint, winl, scroll, size) {
    if (winl == 'center') {
    winl = (screen.width - w) / 2
    };
    if (wint == 'center') {
    wint = (screen.height - h) / 2
    };
    winprops = 'height='+h+',width='+w+',top...
    win = window.open(url, windowName, winprops);
    if (parseInt(navigator.appVersion) >= 4) {
    win.window.focus();
    }
    }

    FLASH:

    button.onPress(){
    getURL("javascript:popup('portfo...

    don't forget that inside the "", you should use ' ' for the javascript parameters...

    keep me updated....

View thread