-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
156 additions
and
19 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" href="https://dokie.li/media/css/lncs.css" /> | ||
<title>Short Paper on Knowledge and Media</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>Short Paper on Knowledge and Media (replace with your own title)</h1> | ||
|
||
<div id="authors"> | ||
Your Name Here | ||
</div> | ||
|
||
<div class="counter"> | ||
|
||
|
||
<h3>Introduction</h3> | ||
|
||
<p>Write your paper here. You don't need to have an abstract.</p> | ||
|
||
|
||
<h3>Approach/Analysis/Case Study/...</h3> | ||
|
||
<p>...</p> | ||
|
||
|
||
<h3>Discussion</h3> | ||
|
||
<p>...</p> | ||
|
||
</div> | ||
|
||
|
||
<h3>References</h3> | ||
|
||
<ul> | ||
<li>Replace this with reference 1</li> | ||
<li>Replace this with reference 2</li> | ||
<li>...</li> | ||
</ul> | ||
|
||
|
||
<script src="scripts.js"></script> | ||
<!--<script src="https://rawgit.com/ucds-vu/km2018-portfolio-template/master/scripts.js"></script>--> | ||
|
||
</body> | ||
</html> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" href="https://dokie.li/media/css/lncs.css" /> | ||
<title>Knowledge and Media Portfolio</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>Knowledge and Media Portfolio</h1> | ||
|
||
<div id="authors"> | ||
Your Name Here | ||
</div> | ||
|
||
|
||
<h2>Background</h2> | ||
|
||
<p>...</p> | ||
|
||
|
||
<h2>Flash Presentation</h2> | ||
|
||
<p> | ||
<a href="flash-presentation-slide.svg"> | ||
<img src="flash-presentation-slide.svg" alt="" style="border:1px solid black"> | ||
</a> | ||
</p> | ||
|
||
|
||
<h2>Paper</h2> | ||
|
||
<p>...</p> | ||
|
||
|
||
</body> | ||
</html> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
function getWordCount(node) { | ||
return node.textContent.trim().split(" ").length; | ||
} | ||
var paragraphs = document.querySelectorAll(".counter") | ||
var paragraphs = document.querySelectorAll("p.counter") | ||
for ( var i = 0; i < paragraphs.length; i++ ) { | ||
p = paragraphs[i]; | ||
c = p.textContent.trim().split(" ").length; | ||
c = p.textContent.trim().split(/\s+/).length; | ||
p.innerHTML = p.innerHTML + " <span style='color: gray'><em>(" + c + " words</em>)</span>"; | ||
} | ||
var paragraphs = document.querySelectorAll("div.counter") | ||
for ( var i = 0; i < paragraphs.length; i++ ) { | ||
p = paragraphs[i]; | ||
c = p.textContent.trim().split(/\s+/).length; | ||
p.innerHTML = p.innerHTML + "\n<p style='color: gray; text-indent: 0; margin-top: 1em'><em>(" + c + " words</em>)</p>"; | ||
} |