The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

dokoma (1) [Avatar] Offline
#1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
  <script src="prototype.js" type="text/javascript"></script>
  <script src="effects.js" type="text/javascript"></script>
  <style>
  #left { float:left;width:100px;height:500px;background-color:red}
  #right { float:left;width:472px!important;;height:310px!important;background-color:blue;}
  #content {width:472px;height:310px; background-color:yellow;}
  #real {width:472px;height:310px; }
  </style>
 <script type="text/javascript">
var showa=function(a){   
new Effect.SlideUp('content',{scaleX:true,scaleY:false,queue: { position: 'end', scope: 'x'}});
  new Effect.SlideDown('content',{scaleX:true,scaleY:true,queue: { position: 'end', scope: 'x'}});
//but if usethe next line instead of the last line ,(scaleY:false)it works ugly.....
//new Effect.SlideDown('content',{scaleX:true,scaleY:false,queue: { position: 'end', scope: 'x'}});
}
</script>
</head>

<body>
<div id=left>
<a  >TESTA</a>
</div>
<div id=right>
<div id=content>
<div id=real>ffffffffffffffffffffffffffffffffffffff
sssssssssssssdf 4ejasdifjkasd;fjasdk;fl
adsfdasf
</div>
</div> 
</div>
</body>
</html>