Showing posts with label blog. Show all posts
Expandable Post Effect
Tuesday, February 19, 2008
Blogspot မွာ Post ေလးေတြကိုေခါက္သိမ္းဖို႔ hackosphere blog ရဲ႔ Peekoboo Effect ေလးေတြကို ကၽြန္ေနာ္တို႔ အားလံုး သံုးေနၾကပါတယ္။ ဒါေပမဲ႔ တစ္ခါတေလ တစ္ခ်ိဳ႔ Templates ေတြမွာ Peekoboo Effect ထဲ႔ဖို႔ေနရာကို ရွာမရတဲ႔ အခါ Peekoboo Effect အစား ဒီ Expandable Post Effect ေလးကိုသံုးလို႔ရပါတယ္ ။
၁) ပထမဆံုးအေနနဲ႔ ဒီ Java Script၂)ျပီးရင္ ဒီ CSS Code
.commenthidden {display:none} .commentshown {display:inline}
ကို အေေပၚပိုင္းက CSS Code ေတြရွိတဲ႔ေနရာမွာ ထားလိုက္ပါ။၃)ေနာက္ဆံုးအေနနဲ႔ ဒီ HTML Code
<a aiotitle="click to expand" href="javascript:togglecomments('Number')">Link1</a>
<div class="commenthidden" id="Number">Write Text To Hide</div>
<div class="commenthidden" id="Number">Write Text To Hide</div>
ကို Settings >> Formatting ရဲ႔ ေအာက္ဆံုးမွာရွိတဲ႔ Post Template ဆိုတဲ႔ Box ေလးမွာထည္႔႔ျပီး Save Settings ကိုႏွိပ္လိုက္ပါ။ ဒီေနရာမွာ Peekoboo Effect နဲ႔မတူတာက Expandable Effect တစ္ခထဲ႔တိုင္း Number ဆိုတဲ႔ေနရာမွာ ဂဏန္းတစ္ခုကို တူေအာင္ ထဲ႔ေပးရမွာျဖစ္ပါတယ္။ ဆိုလိုတာက ပထမ Effect အတြက္ Number ေနရာမွာ 1 ကိုအသံုးျပဳထားရင္ ဒုတိယ Effect အတြက္ တစ္ျခားဂဏန္း ကို အသံုးျပဳရမွာပါ။ Number ေနရာမွာ Charater ကိုသံုးရင္လဲရပါတယ္။ Expandable Effect တစ္ခုအတြက္ Number/Charater /Number+Charater ကိုတူေအာင္ ႏွစ္ခါထည္႔ေပး ဖို႔လိုတာပါ ။
Posted in blog by Thu®@ | 0 comments
Email this postText Resizer
Saturday, February 16, 2008
ကၽြန္ေနာ္႔ Blog ရဲ႔ညာဘက္က Font Resizer လို function ေလးအတြက္ java script ေလးပါ ။ Download js file ဆိုတဲ႔ဖိုင္ေလးကို download လုပ္၊ အဆင္ေျပတဲ႔တစ္ေနရာရာမွာ upload လုပ္၊ Link ကိုေအာက္မွာေပးထားတဲ႔ script tag ထဲမွာအစားထိုးျပီး အဲဒီ script tag ကို </head> မတိုင္ခင္ေလးမွာထဲ႔လိုက္ရင္ရပါျပီ။
<script type="text/javascript" src="http://www.yourlink.textsizer.js"></script>
ျပီးရင္ေအာက္က code ေလးေတြကို ကိုယ္ထားခ်င္တဲ႔ sidebar လိုေနရာမွာထဲ႔လိုက္ပါ။
<a href="javascript:ts('body',1)">+ Larger Font</a> | <ahref="javascript:ts('body',-1)">+ Smaller Font</a>
Text ResizerDownload js File
Posted in blog by Thu®@ | 0 comments
Email this postScroll Box
Tuesday, February 12, 2008
| <div style="overflow:auto; height:150px; width:200px"><style type="text/css">.nobrtable br { display: none }</style> <div class="nobrtable"> <table cellpadding="0" cellspacing="0" style="width:250px;"> <tr> <td>Paste Here</td> </tr> </table></div> </div> |
Posted in blog by Thu®@ | 0 comments
Email this postScroll Box
Scroll Box
| <div style=width: 395px; height: 100px; background-color: a0ffff; color: 000000; font-family: arial; font-size: 12px; text-align: left; border: 0px solid 00000; overflow: auto; padding: 4px;"></div> |
Posted in blog by Thu®@ | 0 comments
Email this postMp3 Player
Sunday, February 10, 2008
<script language='JavaScript' src='http://mr.ngatay2007.googlepages.com/audio-player.js'/> </script > |
<object id="audioplayer1" data="http://mr.ngatay2007.googlepages.com/player.swf" width="290" height="24" type="application/x-shockwave-flash"> <param value="http://mr.ngatay2007.googlepages.com/player.swf" name="movie"/> <param value="playerID=1&soundFile=http://mr.ngatay2007.googlepages.com/Cherry.mp3" name="FlashVars"/> <param value="high" name="quality"/> <param value="false" name="menu"/> <param value="transparent" name="wmode"/> </object> |
Posted in blog, Song by Thu®@ | 0 comments
Email this postview-source
Wednesday, July 25, 2007
<script>
<!--
function viewthesource(){
window.location="view-source:"+window.location
}
//-->
</script>
<a href="javascript:viewthesource()">Click to view source!</a>
Posted in blog by Thu®@ | 2 comments
Email this postGtalk In Blog
<iframe width="234" frameborder="0" src="http://talkgadget.google.com/talkgadget/client?fid=gtalk0&relay
=http%3A%2F%2Fwww.google.com%2Fig%2Fifpc_relay" height="350"></iframe><p style="margin:-8px
0"> <a style="font-size:60%;text-decoration:none" href="http://blogger-templates.blogspot.com/
2007/03/add-google-talk-to-your-blog.html">Add To My Blog</a></p>
Posted in blog by Thu®@ | 0 comments
Email this postDropdown Menu
<div align="left">
<select onchange="javascript:window.open(this.options[this.selectedIndex].value);" style="font-family: Zawgyi-One; color: #000000; background: url(http://www.yourlink.com/photo.jpg) repeat fixed;">
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;" value=""/> Download
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.filehippo.com/"/>Good Free Software
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.yahoo.com"/>Yahoo
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.filehippo.com/download_ccleaner/"/>Ccleaner
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.gmail.com"/>Gmail
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.filehippo.com/download/6b9f568585d2e421b8cd0320b1f2b326/download/"/>Winrar 3.70
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.mota.ru/"/>Wallpapers
</select></div>
<select onchange="javascript:window.open(this.options[this.selectedIndex].value);" style="font-family: Zawgyi-One; color: #000000; background: url(http://www.yourlink.com/photo.jpg) repeat fixed;">
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;" value=""/> Download
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.filehippo.com/"/>Good Free Software
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.yahoo.com"/>Yahoo
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.filehippo.com/download_ccleaner/"/>Ccleaner
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.gmail.com"/>Gmail
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.filehippo.com/download/6b9f568585d2e421b8cd0320b1f2b326/download/"/>Winrar 3.70
<option style="background: url(http://www.yourlink.com/photo.jpg) fixed;"
value="http://www.mota.ru/"/>Wallpapers
</select></div>
Posted in blog by Thu®@ | 0 comments
Email this postRead More
<b:includable id='post' var='post'>
<div class='post uncustomized-post-template' expr:id='"post-" + data:post.id'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<h3 class='post-title'>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</h3>
</b:if>
<div class='post-header-line-1'/>
<div class='post-body'>
<b:if cond='data:blog.pageType == "item"'>
<p><data:post.body/></p>
<b:else/>
<style>#fullpost {display:none;}</style>
<p><data:post.body/></p>
<span id='showlink'>
<p><a expr:onclick='"javascript:showFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>Read More...</a></p>
</span>
<span id='hidelink' style='display:none'>
<p><a expr:onclick='"javascript:hideFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>Collapse...</a></p>
</span>
<script type='text/javascript'>
checkFull("post-" + "<data:post.id/>");
</script>
</b:if>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>
<script src='http://mr.ngatay2007.googlepages.com/hackosphere.js' type='text/javascript'/>
Type your summary here.
<span id="fullpost">
Type the rest of your post here.
</span>
Posted in blog by Thu®@ | 0 comments
Email this postLinks For Blog
Tuesday, July 3, 2007
ဘေလာ႔တစ္ခုဖန္တီးရာမွာအသံုး၀င္တဲ႔ဆိုဒ္မ်ားပါ
Posted in blog by Thu®@ | 0 comments
Email this post
Subscribe to:
Posts (Atom)

function togglecomments (postid) {
var whichpost = document.getElementById(postid);
if (whichpost.className=="commentshown")
{ whichpost.className="commenthidden"; }
else { whichpost.className="commentshown"; }
} </script>