Shift a tag : Animation « Ext JS « JavaScript DHTML






Shift a tag

   

<html>
<head>
<title>Hello World Window</title>
<link rel="stylesheet" type="text/css" href="ext-3.0.0/resources/css/ext-all.css" />
<script type="text/javascript" src="ext-3.0.0/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="ext-3.0.0/ext-all.js"></script>
</head>
<script type="text/javascript">

Ext.onReady(function(){
  
    Ext.get('block').shift({x: 5, y: 300, width: 300, height: 200});

});

</script>
<body>
  <div id="container">  
    <div id="block">
      <p>I Am A Block Element</p>
    </div>
    <span id="inline">I Am An Inline Element</span>
  </div>
</body>
</html>

   
    
    
  








Related examples in the same category

1.Animation: Move Div tag to a new position
2.Hide panel with slidein
3.Fade out block and inline tags
4.Fadein block and inline tags
5.Block and inline frame animation
6.Fly away ghost
7.Scale animation
8.Slide out animation
9.Slide in animation
10.Switchoff Animation
11.Animated window display
12.Highlight block and inline tags
13.Puff inline and block tags