我有多种手法,而且有一个问题。 它使超过520px条,使滚动条形形形形色色,尽管我的所有内容都适合屏幕上(你滚动时的平白空间)。 我已经把我的剪切和情况翻了一倍,似乎与另一个正确无误的 app一样。 任何建议?
这里与给我这一问题的同感。
https://www.facebook.com/slp.cc#!/slp.cc?sk=app_195351823894125
如果你看上2012年雪表,就会cor。
我有多种手法,而且有一个问题。 它使超过520px条,使滚动条形形形形色色,尽管我的所有内容都适合屏幕上(你滚动时的平白空间)。 我已经把我的剪切和情况翻了一倍,似乎与另一个正确无误的 app一样。 任何建议?
这里与给我这一问题的同感。
https://www.facebook.com/slp.cc#!/slp.cc?sk=app_195351823894125
如果你看上2012年雪表,就会cor。
I had a similar problem and changed the css of body! Just try to do the following and change the numbers u need:
position:relative; top:-5px; left:-5px, width:520px,
您可尝试使用FB.Canvas.setAutoResize()。 它将消除横向和纵向的隔.。
参看以下简称:
<body onload="sizeChangeCallback()">
<div id="fb-root">
</div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId: YOUR APP ID ,
status: true, // check login status
cookie: true, // enable cookies to allow the server to access the session
xfbml: true, // parse XFBML
oauth: true
});
FB.Canvas.setAutoResize(); //set size according to iframe content size
};
(function() {
var e = document.createElement( script );
e.src = document.location.protocol + //connect.facebook.net/en_US/all.js ;
e.async = true;
document.getElementById( fb-root ).appendChild(e);
} ());
function sizeChangeCallback() {
FB.Canvas.setAutoResize();
}
</script>
如果雕像仍然存在,你将人体的外溢风格定为隐蔽。
EX:<上风=“流:隐蔽”;上载=“sizeChangeCallback()”></上;
I have a Winforms app containing a RichTextBox. How can I determine how many lines of text are displayed, currently visible? Reason: I want to scroll the caret to the middle of the RichTextBox. ...
I m trying to do something after scrolling stopped.So, I tried using OnScrollListener#onScrollStateChanged(SCROLL_STATE_IDLE) to detect when the scrolling stopped(either TOUCH_SCROLL or FLING)(at 1.5 ...
Is is possible to disable DataGrid scrolling ? If yes, how ? Thanks.
I have tested the scrollTo() plugin, but I need a way to stop the scrolling animation, so I am looking at serialScroll(). Here is what I used with scrollTo: $( #scroller ).scrollTo( 1000px , 3000); ...
I am really stuck on this. My application is in landscape view and on one screen i wanted my instructions image to be scrollable. I have added this image as a sprite. First i tried to get scroll ...
As part of an ajax chat room (using prototype framework) I am working on I scroll the user to the bottom each time a message is added using the below js. However if the user has scrolled up and the ...
I keep coming up against this issue. Displaying news on a website. And I d like to come up with a solution to use like a template, something I can just drop on a site easily. The solution I keep ...
I am pretty new to this iPhone dev thing but so far I have built a pretty good app but I have stumbled into this problem that for the life of me I cannot seem to solve. Basically the app is a chat ...