#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Posts
    12
    Rep Power
    0

    i am trying to pass arguments through a JavaScript function to open new windows


    i am trying to pass arguments through an open new window function with JavaScript to launch a new window that will load a frame set. The buttons that the function will be working with are in flash, and as of right now they are doing nothing. if someone could help me out that would be great, here is my code:

    this is in the head of the master.html file that loads the flash movie

    <SCRIPT LANGUAGE= "JavaScript">
    <!--
    function Mopen(content,iName, SizeW) {
    newWindow = window.open(content, iName, SizeW);
    newWindow.focus();
    }
    //-->
    </SCRIPT>

    -----------------------------------------------------------------

    In the flash movie the bottons have this actions script attached to them

    on (release) {
    getURL (http:// javascript: Mopen(frame.html, "Design Within Reach", width=800, hight=600);
    }
  2. #2
  3. No Profile Picture
    Senior Citizen
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2001
    Location
    leftcoast
    Posts
    2,019
    Rep Power
    16

IMN logo majestic logo threadwatch logo seochat tools logo