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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
  <script src="prototype.js" type="text/javascript"></script>
  <script src="effects.js" type="text/javascript"></script>
  #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; }
 <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'}});

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