Boštjan Jerko
2009-01-29 21:23:09 UTC
Hello!
I'd like to link a function (to scroll the data) to a div I have.
The page is made out of two divs:
<div class="left">
.....
</div>
<div class="right">
.....
</div>
Now I'd like to link a script to div with class="left" and do
scrolling only in that div.
Scrolling is already solved using MochiKit.Visual.ScrollTo, but I
don't know how to use it only in one div.
B.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to mochikit+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---
I'd like to link a function (to scroll the data) to a div I have.
The page is made out of two divs:
<div class="left">
.....
</div>
<div class="right">
.....
</div>
Now I'd like to link a script to div with class="left" and do
scrolling only in that div.
Scrolling is already solved using MochiKit.Visual.ScrollTo, but I
don't know how to use it only in one div.
B.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to mochikit+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---