SourceForge has been redesigned. Learn more.
Close

#18 jsMath Button isn't shown at the right bottom of screen

closed-fixed
nobody
Interface (5)
5
2009-08-25
2009-08-25
Jetsada
No

OS: WindowsXP SP2
Browser: IE6

Since jsMath 3.6, When I declare doctype at the top of html code like this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

jsMath Button isn't shown at the right bottom of screen but it is shown at the right bottom of page.

Not only jsMath Button, but also loading and processing message are not shown at the left bottom of screen.
They are shown at the left top of page.

Discussion

  • Jetsada

    Jetsada - 2009-08-25

    Capture Screen

     
  • Davide P. Cervone

    Thanks for the bug report. I have fixed the problem and will include the correction in the next release of jsMath.

    In the meantime, try adding the following to your jsMath/easy/load.js file just before the "do not change below this" comment:

    jsMath.Controls = {
    MoveButton: function () {
    var body = (jsMath.Browser.quirks ? document.body : document.documentElement);
    jsMath.fixedDiv.style.left = body.scrollLeft + 'px';
    jsMath.fixedDiv.style.top = body.scrollTop + body.clientHeight + 'px';
    jsMath.fixedDiv.style.width = body.clientWidth + 'px';
    }
    };

    and see if that fixes things for you.

    Davide

     
  • Davide P. Cervone

    • status: open --> closed-fixed
     
  • Jetsada

    Jetsada - 2009-08-25

    Thanks for quick fixed :)

    Yes, it works. But it doesn't mean you would add this function to this file right ?

     
  • Jetsada

    Jetsada - 2009-08-25
    • status: closed-fixed --> open-fixed
     
  • Davide P. Cervone

    Adding the code to that file is a temporary fix. When the next version of jsMath is released, it will be part of jsMath.js itself, and you will be able to remove the code from jsMath/easy/load.js. Hope that clears up the confusion.

    Davide

     
  • Davide P. Cervone

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.