Hello,
I am new at script.aculo.us and it seem's to be a very poverfull
animation framework.
I need to move a div around on the screen with javascript. So far I
see the solution with script.aculo.us is to use a dragable object.
Now I have a problem. My div contains scrollbars with css: overflow:
auto. When I use the IE6 the scrollbar hangs often :-)
My div looks like this:
<div style="visibility: visible;height:190px; widht:695px;"
id="skaldiv" >
<div id="historybar" onmousedown=" new Draggable('skaldiv');"
>Verlauf</div>
<a href=""><img style="position:absolute;right: 2px; top: 2px;"
src="/icon/close.gif" /></a><br />
<div style="overflow: auto; height: 88%; ">
<div style="font-size: 2em;"><a href="">Hier steht ein Text.
Hier steht ein Text. Hier steht ein Text. Hier steht ein Text.Hier
steht ein Text.</aHier steht ein Text. Hier steht ein Text.></div>
<div class="historyhr"> </div>
<div style="font-size: 2em;"><a href="">Hier steht ein Text.
Hier steht ein Text. Hier steht ein Text. Hier steht ein Text.Hier
steht ein Text.</aHier steht ein Text. Hier steht ein Text.</a></div>
<div class="historyhr"> </div>
<div style="font-size: 2em;"><a href="">Hier steht ein Text.
Hier steht ein Text. Hier steht ein Text. Hier steht ein Text.Hier
steht ein Text.</aHier steht ein Text. Hier steht ein Text.</a></div>
<div class="historyhr"> </div>
<div style="font-size: 2em;"><a href="">Hier steht ein Text.
Hier steht ein Text. Hier steht ein Text. Hier steht ein Text.Hier
steht ein Text.</aHier steht ein Text. Hier steht ein Text.</a></div>
<div class="historyhr"> </div>
<div style="font-size: 2em;"><a href="">Hier steht ein Text.
Hier steht ein Text. Hier steht ein Text. Hier steht ein Text.Hier
steht ein Text.</aHier steht ein Text. Hier steht ein Text.</a></div>
<div class="historyhr"> </div>
</div>
</div>
Didnt't the dragable objekt support the move of div's with scrollbars?
Or shall I trigger the dragable in a other way?
Any hints are welcome!
Greetings
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---