Difference between revisions of "Dev/Awards2"

Line 6: Line 6:
  
 
<style>
 
<style>
.medals ul li {
 
background-color: #f2f2f2;
 
list-style:none;
 
width:200px;
 
padding: 5px 5px;
 
text-align:center;
 
display: inline;
 
margin:auto;
 
  
}
 
  
.medals ul{
 
 
}
 
  
 
</style>
 
</style>
Line 30: Line 18:
  
  
<ul class="medals" id="bronze_medals" >
+
<div class="medals" id="bronze_medals" >
  
 
</div>
 
</div>
  
 +
 +
 +
</div>
  
  
Line 54: Line 45:
 
$("#"+destination_div ).load( source_page , function() {   
 
$("#"+destination_div ).load( source_page , function() {   
  
$( "li" ).each(function( index ) {
+
$( this ).each(function( index ) {
$( this ).append("test");
+
 
 +
$( this ).prepend("<div><a href>");
 +
$( this ).append("</div></a>");
 
});
 
});
 
});
 
});

Revision as of 17:19, 6 November 2017

MENU

Awards demo