Last active
September 8, 2015 18:03
-
-
Save choxi/24dfc93b6acc9a4668fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$modal = $("<div><ul></ul></div>") | |
$modal.css({ | |
position: "absolute", | |
height: "500px", | |
width: "500px", | |
background: "white", | |
border: "1px solid gray", | |
padding: "10%", | |
margin: "5% 25%" | |
}); | |
$("body").append($modal) | |
$(".aphront-multi-column-column-last .phui-object-item-col1").map(function(){ | |
$task = $(this).find(".phui-object-item-link"); | |
taskUrl = window.location.origin + $task.attr("href") | |
taskName = $task.text() | |
$modal.append("<li><a href='" + taskUrl + "'>" + taskName + "</a></li>") | |
}); | |
// window.$modal = $modal | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment