- Back to Home »
- Template »
- Johny Portal, Template for Site News
Posted by : Unknown
Wednesday, 3 September 2014
To my friends who wanted to create a blog / news site, I have a cool template that may be suitable mounted on your blog. Immediately, yes, because it Malem sleepy ya have to work tomorrow. Below is the screenshot (click image to enlarge):
Section Header
Footer section
How to pair very easily stayed extracted file first, then upload. If anyone is still confused I'll make a tutorial. Night all ..
Script code for the slider
<div class="img400" id="gal1" style="display: none;">
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-_ZEAo0OVDP4/TvzO8LGCdbI/AAAAAAAAAF8/0cS-zTHZ62I/s1600/woman-drinking-water.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/drinking-8-glasses-of-water-day-is.html">Drinking 8 Glasses Of Water A Day Is ‘Nonsense,’ Doc Says</a>
</div>
<div class="summary">
The health recommendation to drink six to eight glasses of water a day is “thoroughly debunked nonsense,” a doctor wrote this week in a commentary...... <a href="http://johnypaper.blogspot.com/2011/12/drinking-8-glasses-of-water-day-is.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal2">
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-jix-0-LKBeY/Tv1Xj1a0TPI/AAAAAAAAAGI/YdT9M9yyLhs/s1600/watermelon_slice.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/what-to-eat-to-beat-skin-cancer.html">What to Eat to Beat Skin Cancer</a></div>
<div class="summary">
You got the pale-is-the-new-tan memo years ago and have the sun smarts to prove it. Skin cancer is the most common cancer in the United States, and women age 39 and under have a higher....... <a href="http://johnypaper.blogspot.com/2011/12/what-to-eat-to-beat-skin-cancer.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal3" style="display: none;">
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-ZjafkrVQpPg/Tv1XlJTtLxI/AAAAAAAAAGQ/kolxM1NCKv4/s1600/floyd-money-mayweather-415x301-1.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/get-in-fighting-shape-with-mayweather.html">Get in Fighting Shape with Mayweather and Mosley</a></div>
<div class="summary">
Floyd Mayweather was dressed in a nice suit, standing on a stage in Manhattan in front of journalists and fans. His soon-to-be opponent Shane Mosley, was equally..... <a href="http://johnypaper.blogspot.com/2011/12/get-in-fighting-shape-with-mayweather.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal4" style="display: none;">
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-0yMJYPvnpfI/Tv1Xl_EbrlI/AAAAAAAAAGY/ha44RdLAoE4/s1600/India-doesnt-let-blasts-derail-Pakistan-talks.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/india-doesnt-let-blasts-derail-pakistan.html">India doesn’t let blasts derail Pakistan talks</a></div>
<div class="summary">
India brushed off speculation tying the Mumbai bombings to Pakistan and said Friday it remained committed to recently renewed peace talks with its rival neighbor. The moves showed how little......<a href="http://johnypaper.blogspot.com/2011/12/india-doesnt-let-blasts-derail-pakistan.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal5" style="display: none;">
<div class="h250">
<img alt="" src="http://4.bp.blogspot.com/-t5-_jkUlhWU/Tv1Xn8mzP0I/AAAAAAAAAGg/Wb3apNMv5yo/s1600/Mexican-authorities-find-massive-marijuana-plantation.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/mexican-authorities-find-massive.html">Mexican authorities find massive marijuana plantation </a></div>
<div class="summary">
Hidden between tomato stalks, the Mexican army found what officials describe as the largest marijuana plantation in the nation, a top military official ...... <a href="http://johnypaper.blogspot.com/2011/12/mexican-authorities-find-massive.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal6" style="display: none;">
<div class="h250">
<img alt="" src="http://3.bp.blogspot.com/-aM5ALuNLByo/Tv1XonbIqiI/AAAAAAAAAGo/WuZEntRhoMQ/s1600/President-Obama-and-Dalai-Lama.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/dalai-lama-visit-president-obama-meets.html">Dalai Lama Visit: President Obama Meets Spiritual Leader, China Complains</a>
</div>
<div class="summary">
President Barack Obama held a White House meeting Saturday with the Dalai Lama, a fellow Nobel Peace laureate...... <a href="http://johnypaper.blogspot.com/2011/12/dalai-lama-visit-president-obama-meets.html">Read Full Post</a></div>
</div>
</div>
</div>
<div style="height: 255px; margin-top: -255px;">
<div class="page_hl pd_5" id="galtabs">
<a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal1">1</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal2">2</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal3">3</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal4">4</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal5">5</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal6">6</a> </div>
</div>
<div class="clearit">
</div>
<div class="clearit pb_10">
</div>
<script type="text/javascript">
var myheads=new ddtabcontent("galtabs");myheads.setpersist(false);myheads.setselectedClassTarget("link");myheads.init(4000)
</script>
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-_ZEAo0OVDP4/TvzO8LGCdbI/AAAAAAAAAF8/0cS-zTHZ62I/s1600/woman-drinking-water.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/drinking-8-glasses-of-water-day-is.html">Drinking 8 Glasses Of Water A Day Is ‘Nonsense,’ Doc Says</a>
</div>
<div class="summary">
The health recommendation to drink six to eight glasses of water a day is “thoroughly debunked nonsense,” a doctor wrote this week in a commentary...... <a href="http://johnypaper.blogspot.com/2011/12/drinking-8-glasses-of-water-day-is.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal2">
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-jix-0-LKBeY/Tv1Xj1a0TPI/AAAAAAAAAGI/YdT9M9yyLhs/s1600/watermelon_slice.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/what-to-eat-to-beat-skin-cancer.html">What to Eat to Beat Skin Cancer</a></div>
<div class="summary">
You got the pale-is-the-new-tan memo years ago and have the sun smarts to prove it. Skin cancer is the most common cancer in the United States, and women age 39 and under have a higher....... <a href="http://johnypaper.blogspot.com/2011/12/what-to-eat-to-beat-skin-cancer.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal3" style="display: none;">
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-ZjafkrVQpPg/Tv1XlJTtLxI/AAAAAAAAAGQ/kolxM1NCKv4/s1600/floyd-money-mayweather-415x301-1.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/get-in-fighting-shape-with-mayweather.html">Get in Fighting Shape with Mayweather and Mosley</a></div>
<div class="summary">
Floyd Mayweather was dressed in a nice suit, standing on a stage in Manhattan in front of journalists and fans. His soon-to-be opponent Shane Mosley, was equally..... <a href="http://johnypaper.blogspot.com/2011/12/get-in-fighting-shape-with-mayweather.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal4" style="display: none;">
<div class="h250">
<img alt="" src="http://2.bp.blogspot.com/-0yMJYPvnpfI/Tv1Xl_EbrlI/AAAAAAAAAGY/ha44RdLAoE4/s1600/India-doesnt-let-blasts-derail-Pakistan-talks.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/india-doesnt-let-blasts-derail-pakistan.html">India doesn’t let blasts derail Pakistan talks</a></div>
<div class="summary">
India brushed off speculation tying the Mumbai bombings to Pakistan and said Friday it remained committed to recently renewed peace talks with its rival neighbor. The moves showed how little......<a href="http://johnypaper.blogspot.com/2011/12/india-doesnt-let-blasts-derail-pakistan.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal5" style="display: none;">
<div class="h250">
<img alt="" src="http://4.bp.blogspot.com/-t5-_jkUlhWU/Tv1Xn8mzP0I/AAAAAAAAAGg/Wb3apNMv5yo/s1600/Mexican-authorities-find-massive-marijuana-plantation.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/mexican-authorities-find-massive.html">Mexican authorities find massive marijuana plantation </a></div>
<div class="summary">
Hidden between tomato stalks, the Mexican army found what officials describe as the largest marijuana plantation in the nation, a top military official ...... <a href="http://johnypaper.blogspot.com/2011/12/mexican-authorities-find-massive.html">Read Full Post</a></div>
</div>
</div>
</div>
<div class="img400" id="gal6" style="display: none;">
<div class="h250">
<img alt="" src="http://3.bp.blogspot.com/-aM5ALuNLByo/Tv1XonbIqiI/AAAAAAAAAGo/WuZEntRhoMQ/s1600/President-Obama-and-Dalai-Lama.jpg&cat=1&pid=2107&cache=false" /></div>
<div class="min250">
<div class="bottom">
<div class="topic">
<a href="http://johnypaper.blogspot.com/2011/12/dalai-lama-visit-president-obama-meets.html">Dalai Lama Visit: President Obama Meets Spiritual Leader, China Complains</a>
</div>
<div class="summary">
President Barack Obama held a White House meeting Saturday with the Dalai Lama, a fellow Nobel Peace laureate...... <a href="http://johnypaper.blogspot.com/2011/12/dalai-lama-visit-president-obama-meets.html">Read Full Post</a></div>
</div>
</div>
</div>
<div style="height: 255px; margin-top: -255px;">
<div class="page_hl pd_5" id="galtabs">
<a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal1">1</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal2">2</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal3">3</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal4">4</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal5">5</a> <a href="http://www.blogger.com/post-edit.g?blogID=7490537618574143540&postID=5854147809063596364#" rel="gal6">6</a> </div>
</div>
<div class="clearit">
</div>
<div class="clearit pb_10">
</div>
<script type="text/javascript">
var myheads=new ddtabcontent("galtabs");myheads.setpersist(false);myheads.setselectedClassTarget("link");myheads.init(4000)
</script>
Script code for labels / categories sidebarEnter the code in the box below into the HTML / Javascript:
Change entertainment that I love the color blue with labels / categories you want. Notice I circled numbers from the image above, the number 4 is the number of categories that are displayed and 60 is the number of characters displayed in the title, for more details you please read the tutorial how to install certain categories with thumbnails. Anyway do not forget to be given the title of the widget, for example: EntertainmentChanging the search box (search) adsense
You must create a Google Adsense search box first in your Adsense account. Then after him, looking at the code below (below <div style="float: right; padding: 0pt 0px 6px 0pt;">)
<form action='http://www.google.co.id/cse' id='cse-search-box' target='_blank'>
<div>
<input name='cx' type='hidden' value='partner-pub-960848xxxxxxxx:6v20u0t45ip'/>
<input name='cof' type='hidden' value='forid:10'/>
<input name='ie' type='hidden' value='iso-8859-1'/>
<input name='q' size='26' type='text'/>
<input name='sa' type='submit' value='Search'/>
</div>
</form>
<script src='http://www.google.co.id/cse/brand?form=cse-search-box&lang=in' type='text/javascript'/></script>
<div>
<input name='cx' type='hidden' value='partner-pub-960848xxxxxxxx:6v20u0t45ip'/>
<input name='cof' type='hidden' value='forid:10'/>
<input name='ie' type='hidden' value='iso-8859-1'/>
<input name='q' size='26' type='text'/>
<input name='sa' type='submit' value='Search'/>
</div>
</form>
<script src='http://www.google.co.id/cse/brand?form=cse-search-box&lang=in' type='text/javascript'/></script>
Replace Adsense in postFind this code, this code is located under <div style="color: #333333; margin-top: Georgia; font: italic 12px 8px 10px 8px 10px; padding: 70px;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9608xxxxxxxxxx";
google_ad_host = "pub-15562xxxxxxxxxxxx";
/* johny mu */
google_ad_slot = "7011292523";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
google_ad_client = "ca-pub-9608xxxxxxxxxx";
google_ad_host = "pub-15562xxxxxxxxxxxx";
/* johny mu */
google_ad_slot = "7011292523";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Updates:Apologize in advance, because a lot of the shortcomings of this template, I modified again to make it more dynamic and easier to use. Slider on the template changed to automatic, so you no longer need to enter the information and its URL one by one, just replace the category you want to put on the slider. For more details here. Setting column is also more organized. I eliminate the related post box and Feedburner below post, because many users are asked to remove it. For then you can re-download the link below.Updates:For one thing, my storage area on google code could not be opened. Therefore the news ticker on this template can not be run as before. To overcome this you must replace the following code in the position edit HTML, then look for the code below:
<script src='http://Johny Woods.googlecode.com/files/ticker.js' type='text/javascript'/>and you replace it with the following code:
<script src='http://johnytemplate.googlecode.com/files/newsticker.js' type='text/javascript'/>Last save templatesNote:
If there's a problem with your static page in my template please read this Remove Automatic Readmore at Static Page Blogger
And for Johny Portal, Website and Johny Magazine Creating user templates, change this code (post body close to the header):
# Crosscol-wrapper {margin: 0 auto; padding: 0 auto}
Into:
# Crosscol-wrapper {margin: 0 auto; padding: 5px}