I want to set up my desktop so when I swipe a widget, it scrolls a panel.
I want to set up my desktop so when I swipe a widget, it scrolls a panel. I tried doing this with a desktop bookmark but can’t make it work. Will I have to use scripting for this or is there a workaround?
]]>
« Jacob Barton’s (sorry struggling to find the right JB to quote directly) post on creating a generic template (Previous Post)
(Next Post) Just playing around … »
D5 Creation
< ![CDATA[
I could be wrong but I believe you’ll have to do a bit of scripting for this. I tested a few things and in order to use the desktop bookmark it would have to be created as a shortcut within the panel itself. If you attempt to assign a desktop bookmark to the swipe of the widget it will only worry about the desktop position and not the position of the panel.
There may be a way thought but from what I’ve tried I haven’t had any luck with the use of scripting.
]]>
< ![CDATA[
i recommend script(s)
]]>
< ![CDATA[
I keep getting an error saying im missing a “;” on this script. Can anyone see what I’m missing?
var frame = LL.getContainerById(0x000009);
float h = frame.getHeight();
float ypos = frame.getPositionY();
float ynew = ypos – h;
frame.setPosition(0,ynew);
]]>
< ![CDATA[
Use ‘var’ instead of ‘float’
This is JavaScript
]]>