if (do_name() != 'Home') : ?>
endif ?>
Posted by Frederik on May 29, 2007
Frederik
As described in the reference manual, the zero-point is at the upper-right corner.
http://nodebox.net/code/index.php/Environment
If you want to invert the Y position, just subtract the height:
inverted_mouse_y = HEIGHT-MOUSEYKind regards,
Frederik
Posted by anonymous on May 29, 2007
include("util/comment.php"); ?>
i know that 0, 0 is the upper *left* corner, i'm experienced w/ nodebox. i guess i'll have to wait until the developers squash this bug. in the meantime, is there some fullscreen state variable? can i do something like this?
if fullscreen: inverted_mouse_y = HEIGHT-MOUSEY
thanks.
interactive full screen quirks
Posted by anonymous on May 29, 2007okay, when i enter full screen with an interactive script, the y mouse position,
inverts (meaning 0 is at the bottom). I would show u my code that is causing the problem, but i want to keep it copyrighted, so here is some sample code. i have the most recent stable version of NodeBox on 10.4.8