Showing posts with label HOW TO D0. Show all posts
Showing posts with label HOW TO D0. Show all posts
17 Sept 2012
How to build a nice-looking sliding photo gallery using JavaScript and jQuery.
how to build a nice-looking sliding photo gallery using JavaScript and jQuery. Full code download included.
Live Demo Download
There are a lot of jQuery image galleries out there, some of which are quite lovely (Galleria springs to mind). However, I've yet to discover a really nice-looking, full-window sliding image gallery that is simple and elegant, and that also shows off the photos to good effect. So I decided to write one!
There are a lot of jQuery image galleries out there, some of which are quite lovely (Galleria springs to mind). However, I've yet to discover a really nice-looking, full-window sliding image gallery that is simple and elegant, and that also shows off the photos to good effect. So I decided to write one!
Change the Height and width according to your necessities...This is for wordpress but can be used for any other website just change the codes according to your website..
8 Sept 2012
How to Add Label Name next to Blogger Post Title
How to Add Label Name next to Blogger Post Title
If you are using the old Blogger interface:- Go to Dashboard -
- Design -
- Edit HTML -
- Expand Widget Template (make a backup)
If you are using the new Blogger interface:
- Go to Dashboard -
- Template -
- Edit HTML -
- Proceed -
- Expand Widget Template (make a backup)
<b:includable id='post' var='post'>
<div class='post hentry' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title' itemprop='name'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<b:if cond='data:blog.url != data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>
Now Paste the following lines in place of the deleted lines<b:includable id='post' var='post'>
<div class='post hentry' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<script type='text/javascript'>
var SS = '<data:label.name/>';
var PrintSS = SS + " | ";
</script>
</b:loop>
<b:else/>
<script type='text/javascript'>
var PrintSS = "";
</script>
</b:if>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title' itemprop='name'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><span class='pre-postss'><script>document.write(PrintSS);</script></span><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<b:if cond='data:blog.url != data:post.url'>
<a expr:href='data:post.url'><span class='pre-postss'><script>document.write(PrintSS);</script></span><data:post.title/></a>
<b:else/>
<span class='pre-postss'><script>document.write(PrintSS);</script></span><data:post.title/>
</b:if>
<b:else/>
<span class='pre-postss'><script>document.write(PrintSS);</script></span><data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>
How To Add an Image Next to Blogger Post Title
How To Add an Image Next to Blogger Post Title
If you are using the old Blogger interface:- Go to Dashboard -
- Design -
- Edit HTML -
- Expand Widget Template (make a backup)
If you are using the new Blogger interface:
- Go to Dashboard -
- Template -
- Edit HTML -
- Proceed -
- Expand Widget Template (make a backup)
Find this and delete the following lines
- </body>
<b:includable id='post' var='post'>
<div class='post hentry'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<b:if cond='data:blog.url != data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>
The Code To be deleted
Paste this lines in place of the deleted line
<b:includable id='post' var='post'>
<div class='post hentry'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<table><tr>
<td class='ssybyposttitle'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Qm-D-LQ8V0wxv0kEPNgJIsxoYiwLBa_S9pS6D7PHMENlqqkTpDJeQm442_RvA41agNk1FL42AHAKhOSTmvMXRNMCXRY38r6HqJXxFnBO-geSzYjrcY0olu-d85t0aD9_fhkaE_ZWt9c/s1600/autobot.png
'/></td>
<td><h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<b:if cond='data:blog.url != data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</td>
</tr></table>
<style>
h3.post-title {
margin: 0px !important;
}
</style>
</b:if>
Subscribe to:
Posts (Atom)


