← Back to team overview

schooltool-developers team mailing list archive

Re: Gradebook popup menu

 

--- On Mon, 5/30/11, Alan Elkner <aelkner@xxxxxxxxx> wrote:

> It's still a work in progress.  I kind of hacked the
> part where the menu's top and left attributes are set based
> on the screenX and screenY attributes of the event, and the
> menu seems to come up close to where the user clicks,
> but I'm not sure it's the right way to code
> it.  If anyone has a better idea, please let me know.

Sorry that I don't have a better idea right now, but I'm pretty sure screenX and screenY are not the way to go here because they're relative coordinates. Look at the attached image. That happens if your window is not maximized when you click the link.

Douglas

"... allí­ es cuando te das cuenta que las cosas malas pueden resultar bastante buenas..." - Lionel Messi

Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint.
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html

Attachment: Pantallazo.png
Description: PNG image


Follow ups