ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Jump


  • 2003-09-14 16:58:48

    Jump

    While accessing pages of aTutor in a portal frame, all links work as expected ... keeping the pages inside of the frame.

    When the "Jump" submit button is used, it opens the course page in the full window as it "jumps" out of the frame.

    Is there any way to prevent this from occuring?

    Tnx
    larry

  • 2003-09-15 13:12:18

    Remove target="_top"

    You could remove target="_top" from line 51 in /include/html/user_bar.inc.php, though that will fowl up things for the filemanger frame.

    You might try replacing _top with the name of the frame you are trying to open into, though that will create a new window when you use the jump menu outside of your frames.

  • 2003-09-15 13:27:09

    Target="_top"

    Greg

    The only occurances of "_top" in that file on my installation are at Line 17: <a href="<?php echo substr($_my_uri, 0, strlen($_my_uri)-1); ?>#content" accesskey="c"><img src="images/clr.gif" height="1" width="1" border="0" alt="<?php echo _AT('goto_top'); ?>: ALT-c" /></a><a href="<?php echo substr($_my_uri, 0, strlen($_my_uri)-1);

    Line 30: echo '<a class="white" href="logout.php?g=19" title="'._AT('logout').'" target="_top"><img src="images/logout.gif" border="0" height="14" width="15" alt="'._AT('logout').'" class="menuimage" /></a>';
    and
    Line 33: echo ' <a class="white" href="logout.php?g=19" target="_top">'._AT('logout').'</a>';

    Should all 3 be replaced?

    thanks
    larry

  • 2003-09-15 17:10:14

    Try it.

    I would think all occurences of _top should be edited. Try it and see what happens.

  • 2003-09-15 18:48:31

    I Did!

    ... and it worked.

    Thanks again Greg

  • 2003-09-15 18:57:15

    Other occurances

    For my purpose, would you recommend eliminating _top references in other files as well?

    They occur in
    achat:filterHistory.php
    achat:help.php
    achat:include:functions.inc.php
    achat:new_user.php
    achat:options.php
    achat:prefs.php
    achat:prefs2.php
    achat:prefs3.php
    include:admin_html:header.inc.php
    tools:file_manager.php

    larry

  • 2003-09-15 19:12:54

    Answered My Own Question

    Yes ... at least for the aChat folder. This is great!