Results 1 to 2 of 2

Thread: Pls help to workout

  1. #1
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pls help to workout

    hi hope someone can advice
    I got a training cd when launched it opens up a index,html and plays a flash embedded menu.

    Once its launched i have to scroll to different text fields with buttons and click on a button to open the next page, but when i do it does not open the next menu. and get javascript error box. so i tried to decompile and this is the action i found:
    This is the code of the main html:

    <script language="JavaScript">
    <!--
    function launchExam(path) {
    hwnd = window.open(path+document.location.search,"examwin");
    hwnd.focus();
    }

    function getValue(whichKey) {
    q = new String(location.search);
    if (q.length > 1) q = q.substring(1, q.length);
    tmp = q.split(whichKey+'=');

    if (tmp.length<2) {
    keyValue = ''; //key not found
    } else {
    keyValue = tmp[1];
    amp = keyValue.lastIndexOf('&'); //ampersand
    if (amp != -1) keyValue = keyValue.substr(0, amp);
    }
    return keyValue;
    }

    aicc_sid = getValue('aicc_sid');
    aicc_url = getValue('aicc_url');
    //-->
    </script>
    </head>

    <frameset rows="*" cols="100%,*,*" framespacing="0" frameborder="NO" border="0">
    <frame src="launch.html" name="contentFrame" scrolling="AUTO" noresize>
    <frame src="lmsTalk.html" name="hiddenFrame" scrolling="AUTO" noresize>
    <frame src="about:blank" name="receiverFrame" scrolling="AUTO" noresize>
    </frameset>
    <noframes>
    <body></body>
    </noframes>
    </html>

    And this is the code of flash button

    // Button 111
    // On release
    on (release)
    {
    getURL("javascript:launch(7);void(0)","");
    }

    This is for menu item number 7 and it should open a folder named cod7 and launch the main index in that folder which is sto_0_ny
    Any ideas how to fix this

    Thanks

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Are you able to upload the HTML portion online? If so, please do so.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •