Skip to content

Commit

Permalink
Added jquery click method to add song our list related #20
Browse files Browse the repository at this point in the history
  • Loading branch information
esra committed May 15, 2014
1 parent 5cb3204 commit 8a6df14
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions web/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
myLayout.sizePane("west", 400); // en dogudakinin buyuklugunu belirledik
myLayout.sizePane("east", 400);
$("#" + alphabet[0]).click(function(){
$("." + alphabet[0]).show();
$("." + alphabet[0]).toggle(1000);
});


Expand All @@ -38,12 +38,12 @@


}
for(var j=0; j<=26;j++){
$('#'+(currentobj[i]).title).click( function(){
$('.L').append('<li>' + (currentobj[i]).title + ' </li>');
});
}

for(var j=0; j<=26; j++){
$("ul." + alphabet[j]+ " li").click(function(){ //albüme tıklayınca tıklananı ekliyor
var te = $(this).text();
$('.L').append('<li>' + te + ' </li>');
});
}
}
});

Expand Down Expand Up @@ -84,14 +84,14 @@
<body>
<div class="ui-layout-west">
<ul>
<li id="A">A</li>
<li class="A"></li>
<ul id="A">A</ul>
<ul class="A"></ul>
</ul>

</div>
<div class="ui-layout-center">
<ul>
<li class="L">Liste</li>
<ul class="L">Liste</ul>

</ul>
</div>
Expand Down

0 comments on commit 8a6df14

Please sign in to comment.