ATutor

Learning Management Tools







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


pop up window with relative link problem


  • 2006-04-13 00:16:08

    pop up window with relative link problem

    Hi,

    I am having problems with pop up windows that should show html files uploaded to the system. I am using javascript to open the file, which is relatively linked (onclick="window.open('windows/pB.htm','pB','width=400,height=300')" ).
    Interestingly it works perfectly with Firefox, however with IE I receive an error message (The page cannot be found).

    I am curious if anybody encountered with the similar problem and if by chance knows a workaround.

    Ps. giving absolute link is not an option since we want to put the course content later on CD too.
    I also attach the exported course page for review.

    Thanks in advance,

    Tamas


    Things to describe:
    operating system - XP pro
    version of ATutor - 1.5.2
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used - ie 6 Firefox 1.5
    and anything else relevant -

  • 2006-04-16 09:14:08

    Re: pop up window with relative link problem

    What is in the attachment? Don't attach exe files. We won't open them.

    Use the path variables mentioned in the developer documentation to create absolute paths. You probably need to use the $_base_href variable in front of your relative paths, though within content you should always use a relative path on its own.

  • 2008-07-30 00:23:22

    Re: pop up window with relative link problem

    Hi hatfalludi, how do you fix that?
    I have same problem

  • 2008-07-30 14:33:26

    Re: pop up window with relative link problem

    Hi, check this link http://www.nosolousabilidad.com/articulos/popups_javascript.htm
    in this page I found solution to my problem, works fine whith IE and Firefox. I put only 'scrollbars=yes,resizable=yes' in adition..

    En espaol.
    Seores le paso el link a la pagina en la cual pueden hallar la solucin a su problema. funciona bien en IE y Firefox...

    nota: el artculo est en espaol

    saludos a todos.