====== Differences ====== This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
script_change_home_page [2014/04/25 12:37] trianguloy created |
script_change_home_page [2014/07/22 14:50] trianguloy |
||
---|---|---|---|
Line 17: | Line 17: | ||
====== Script code ====== | ====== Script code ====== | ||
- | <code> | + | <sxh javascript> |
var cont = LL.getEvent().getContainer(); | var cont = LL.getEvent().getContainer(); | ||
Line 59: | Line 59: | ||
cont.setPosition(cont.getPositionX() - moveX * distX,cont.getPositionY() - moveY * distY,cont.getPositionScale(),false);? | cont.setPosition(cont.getPositionX() - moveX * distX,cont.getPositionY() - moveY * distY,cont.getPositionScale(),false);? | ||
- | </code> | + | </sxh> |