2007年6月1日星期五

转换字符

#define N 10
#include
main()
{ int i,j,m;
int a[10];
printf("please input numer:\n", N);
for(i=0;i 10 ) { msg.style.visibility = "visible"; }

if ( callCount msg.clientHeight ) {
newHeight = msg.scrollHeight + delta;
}
delta = msg.offsetWidth - msg.clientWidth;
delta = ( isNaN( delta )? 1 : delta + 1 );
if ( msg.scrollWidth > msg.clientWidth ) {
newWidth = msg.scrollWidth + delta;
}
msg.style.overflow = "visible";
msg.style.visibility = "visible";

if ( newWidth > 0 newHeight > 0 ) {
var ssxyzzy = document.getElementById( "ssxyzzy" );
var cssAttribs = ['#message {'];
if ( newWidth > 0 ) cssAttribs.push( 'width:' + newWidth + 'px;' );
if ( newHeight > 0 ) cssAttribs.push( ' height:' + newHeight + 'px;' );
cssAttribs.push( '}' );
try {
ssxyzzy.sheet.deleteRule( 0 );
ssxyzzy.sheet.insertRule( cssAttribs.join(""), 0 );
} catch( e ){}
}
}
function imgsDone( msg ) // for Firefox, we need to scan for images that haven't set their width yet
{
var imgList = msg.getElementsByTagName( "IMG" );
var len = ((imgList == null)? 0 : imgList.length);
for ( var i = 0; i

没有评论:

time