[Laszlo-checkins] r10213 - in openlaszlo/branches/4.1: . docs/src/nav
max@openlaszlo.org
max at openlaszlo.org
Thu Jul 3 17:09:33 PDT 2008
Author: max
Date: 2008-07-03 17:09:31 -0700 (Thu, 03 Jul 2008)
New Revision: 10213
Modified:
openlaszlo/branches/4.1/
openlaszlo/branches/4.1/docs/src/nav/nav.lzx
Log:
Merged revisions 10209 via svnmerge from
http://svn.openlaszlo.org/openlaszlo/trunk
.......
r10209 | max | 2008-07-03 16:39:11 -0700 (Thu, 03 Jul 2008) | 17 lines
Change 20080703-maxcarlson-h by maxcarlson at Roboto on 2008-07-03 16:05:25 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Make reference nav scrollbars scroll with the mouse wheel
Bugs Fixed: LPP-6601 - Make scroll wheel work in left nav
Technical Reviewer: ptw
QA Reviewer: promanik
Details: Replace scrollbars with wheelscrollbar which always listens for mouse wheel events.
Tests: The reference nav app no the left now scrolls with the mouse wheel.
.......
Property changes on: openlaszlo/branches/4.1
___________________________________________________________________
Name: svnmerge-integrated
- /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-10153,10183
+ /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-10153,10183,10209
Modified: openlaszlo/branches/4.1/docs/src/nav/nav.lzx
===================================================================
--- openlaszlo/branches/4.1/docs/src/nav/nav.lzx 2008-07-04 00:04:33 UTC (rev 10212)
+++ openlaszlo/branches/4.1/docs/src/nav/nav.lzx 2008-07-04 00:09:31 UTC (rev 10213)
@@ -11,13 +11,16 @@
<class name="link" extends="text" resize="true"
onmouseover="setAttribute('fgcolor', blue)"
onmouseout="setAttribute('fgcolor', black)"
- onclick="LzBrowser.loadURL(this.datapath.xpathQuery('@href'), target)"/>
+ onclick="lz.Browser.loadURL(this.datapath.xpathQuery('@href'), target)"/>
+ <class name="wheelscrollbar" extends="scrollbar">
+ <handler name="onmousewheeldelta" reference="lz.Keys" method="mousewheelUpdate"/>
+ </class>
<!-- Create linktree so we can keyboard navigate. -->
<class name="linktree" extends="basetree" isleaf="true" recurse="false" >
<method name="keySelect">
super.keySelect();
- LzBrowser.loadURL(this.datapath.xpathQuery('@href'), target);
+ lz.Browser.loadURL(this.datapath.xpathQuery('@href'), target);
</method>
<text text="${parent.text}" placement="item" name="t" resize="true"
onmouseover="setAttribute('fgcolor', classroot.style['texthilitecolor'])"
@@ -31,7 +34,7 @@
? classroot.style['texthilitecolor']
: classroot.style['textcolor'] ) }">
<handler name="onclick">
- LzBrowser.loadURL(classroot.datapath.xpathQuery('@href'), target);
+ lz.Browser.loadURL(classroot.datapath.xpathQuery('@href'), target);
classroot.setAttribute('selected', true);
classroot.changeFocus(classroot);
</handler>
@@ -57,7 +60,7 @@
</method>
</view>
<link text="Welcome"
- onclick="LzBrowser.loadURL('ref.preface.html', target)"/>
+ onclick="lz.Browser.loadURL('ref.preface.html', target)"/>
<view name="treeparent" clip="true" width="${parent.width - 20}"
height="${Math.max(0,parent.parent.height - parent.search.height - 80)}">
<attribute name="cgroup" value="0"/>
@@ -110,12 +113,12 @@
<linktree datapath="item" text="$path{'@title'}" />
</tree>
</tree>
- <scrollbar/>
+ <wheelscrollbar/>
</view>
<simplelayout spacing="8"/>
- <button onclick="LzBrowser.loadURL('javascript:lzSetShowInlineExamples(true)')">Show Examples</button>
- <button onclick="LzBrowser.loadURL('javascript:lzSetShowInlineExamples(false)')">Hide Examples</button>
+ <button onclick="lz.Browser.loadURL('javascript:lzSetShowInlineExamples(true)')">Show Examples</button>
+ <button onclick="lz.Browser.loadURL('javascript:lzSetShowInlineExamples(false)')">Hide Examples</button>
</tabpane>
<tabpane width="${parent.width}">
@@ -125,7 +128,7 @@
<view layout="y" width="${parent.width - 20}">
<link datapath="classesdata:/index/item" text="$path{'@title'}" />
</view>
- <scrollbar />
+ <wheelscrollbar/>
</view>
</tabpane>
<tabpane width="${parent.width}">
@@ -135,7 +138,7 @@
<view layout="y" width="${parent.width - 20}">
<link datapath="tagsdata:/index/item" text="$path{'@title'}" />
</view>
- <scrollbar />
+ <wheelscrollbar/>
</view>
</tabpane>
</tabs>
More information about the Laszlo-checkins
mailing list