Team:Warsaw/Team

From 2010.igem.org

(Difference between revisions)
Line 12: Line 12:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
 +
<script type="text/javascript" src="http://plugins.jquery.com/files/jquery-collide.js.txt"></script>
<script type="text/javascript">
<script type="text/javascript">
 +
 +
 +
$(document).ready(function(){
$(document).ready(function(){
 +
     var zindexnr = 1;
     var zindexnr = 1;
$(".foto").draggable({
$(".foto").draggable({
Line 20: Line 25:
var cssObj = { 'z-index' : zindexnr };
var cssObj = { 'z-index' : zindexnr };
$(this).css(cssObj);
$(this).css(cssObj);
 +
                collide: 'block';
}
}
});
});
Line 56: Line 62:
</style>
</style>
-
<div class="foto"  style="display:inline-block; width:auto">
 
-
<img src="http://www.phawker.com/wp-content/uploads/2008/10/austin-powers-poster.jpg"/><div>To jest prawdziwy demot!</div>
 
 +
<div class="foto"  style="display:inline-block; width:auto">
 +
<img src="http://www.phawker.com/wp-content/uploads/2008/10/austin-powers-poster.jpg"/><br>To jest prawdziwy demot!
</div>
</div>
 +
</html>
</html>
{{TemplateBottom}}
{{TemplateBottom}}

Revision as of 15:42, 9 July 2010

Example Tabs


To jest prawdziwy demot!