Skip to content

Instantly share code, notes, and snippets.

@SpacyRicochet
Created November 8, 2011 11:12
Show Gist options
  • Save SpacyRicochet/1347512 to your computer and use it in GitHub Desktop.
Save SpacyRicochet/1347512 to your computer and use it in GitHub Desktop.
UIWebview htmlStrings for NPORadio iPad
<!DOCTYPE html>
<style type="text/css">
body {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
font-size: 100%;
font-family: "HelveticaNeue";
}
p {
color: %@;
font-size: 0.8125em;
margin-top: 0px;
margin-bottom: 0px;
}
p.date {
clear:both;
font-weight: bold;
}
p.name {
font-weight: bold;
color: %@;
}
</style>
<div style="float: left; margin-right: 8px">
<p class="name">%@</p>
</div>
<p>%@</p>
<p class="date">%@</p>
<!DOCTYPE html>
<style type="text/css">
body {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
font-size: 100%;
font-family: "HelveticaNeue";
}
p {
font-size: 0.8125em;
}
p.date {
color: #666666;
margin-top: 0px;
margin-bottom: 8px;
}
p.header {
text-style:bold;
}
h1 {
margin-top: 0px;
margin-bottom: 0px;
font-size: 1.625em;
font-weight: normal;
}
a:link {
color: %@;
text-decoration: none;
}
ul {
font-size: 0.8125em;
}
li {
font-size: 0.8125em;
}
</style>
<script type="text/javascript">
window.onload = function() {
window.location.href = "ready://" + document.body.offsetHeight;
}
</script>
<h1>%@</h1>
<p class="date">Uit: <span style="font-style:bold; color:#000000;">%@</span> van %@ (%@)</p>
<div style="float: left; margin-top: 8px; margin-right: 8px;"> <img src="%@" height="150"> </div> <p>%@</p>
<p class="header"><b>Over %@:</b></p><p>%@</p>
<!DOCTYPE html>
<style type="text/css">
body {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
font-size: 100%;
font-family: "HelveticaNeue";
color: %@;
}
p {
margin-top:0px;
font-size:0.8125em;
}
p.header {
font-weight: bold;
}
a:link
{
color: %@;
text-decoration: none;
}
ul {
font-size: 0.8125em;
}
</style>
<p class="header">%@</p>
<p>%@</p>
<p class="header">%@</p>
<p>%@</p>
<p class="header">%@</p>
<p><a href="%@">%@</a></p>
<!DOCTYPE html>
<style type="text/css">
body {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
font-size: 100%;
font-family: "HelveticaNeue";
}
p {
font-size: 0.8125em;
}
p.date {
color: #666666;
margin-top: 0px;
margin-bottom: 8px;
}
h1 {
margin-top: 0px;
margin-bottom: 0px;
font-size: 1.625em;
font-weight: normal;
}
img.shareButton {
margin-right: 8px;
}
a:link {
color: %@;
text-decoration: none;
}
ul { font-size: 0.8125em; }
li { font-size: 0.8125em; }
</style>
<h1>%@</h1>
<p class="date">%@</p>
<a href="hyvesButtonPressed"><img class="shareButton" src="%@" width="42" height="43"></a>
<a href="facebookButtonPressed"><img class="shareButton" src="%@" width="42" height="43"></a>
<a href="twitterButtonPressed"><img class="shareButton" src="%@" width="42" height="43"></a>
<p>%@</p>
<p>%@</p>
<!DOCTYPE html>
<style type="text/css">
body {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
font-size: 100%;
font-family: "HelveticaNeue";
}
p {
font-size: 0.8125em;
}
p.clear {
clear:both;
}
p.date {
color: #666666;
margin-top: 0px;
margin-bottom: 8px;
}
h1 {
margin-top: 0px;
margin-bottom: 0px;
font-size: 1.625em;
font-weight: normal;
}
img.newsPhoto {
vertical-align: middle;
border-radius: 3px;
border: 3px solid #fff;
-webkit-box-shadow: 0px 2px 2px #888888;
}
img.shareButton {
margin-top: 4px;
margin-right: 8px;
}
a:link {
color: %@;
text-decoration: none;
}
ul { font-size: 0.8125em; }
li { font-size: 0.8125em; }
</style>
<h1>%@</h1>
<p class="date">%@</p>
<div style="float: left; margin-right: 8px">
<img class="newsPhoto" src="%@" width="264" height="142">
<br>
<a href="hyvesButtonPressed"><img class="shareButton" src="%@" width="42" height="43"></a>
<a href="facebookButtonPressed"><img class="shareButton" src="%@" width="42" height="43"></a>
<a href="twitterButtonPressed"><img class="shareButton" src="%@" width="42" height="43"></a>
</div>
<p>%@</p>
<p class="clear">%@</p>
<!DOCTYPE html>
<style type="text/css">
img.newsPhoto {
border-radius: 3px;
border: 3px solid #fff;
-webkit-box-shadow: 0px 2px 2px #888888;
}
body {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
font-size: 100%;
font-family: "HelveticaNeue";
}
h1 {
margin-top: 0px;
margin-bottom: 0px;
font-size: 1.625em;
font-weight: normal;
}
p {
margin-top:0px;
font-size:0.8125em;
}
p.name {
font-weight: bold;
}
</style>
<h1>Weekartiest</h1>
<div style="float: left; margin-right: 8px">
<img class="newsPhoto" src="%@" width="230" height="173">
</div>
<p class="name">%@</p>
<p>%@</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment