Shift a tag : Animation « Ext JS « JavaScript DHTML

Shift a tag


<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>
<script type="text/javascript">

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


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


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