2008-11-09 64 views

回答

-1

我不確定你的意思是「內部堆棧/流量」,但我們使用iframe作爲我們的子窗口,它具有可設置的滾動屬性。否則,您可以使用像YUI這樣的JavaScript框架來獲取可以允許滾動功能的子窗口窗口。

1

您可以使用<div>標籤,然後有CSS這樣:

#my_div { 
width: [some_width]px; 
height: [some_height]px; 
overflow: auto; 
} 
5

剛剛修復的高度,並添加 「:滾動=>真正的」 參數:

Shoes.app(:title => "Scrolll!") do 
    flow :margin => 10 do 
    stack :width => "150px", :height => "200px", :scroll => true do 
     para "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", "all you need is love", 
    end 
    end 
end