ကၽြန္ေတာ့္ဆီလာလည္ၾကေသာ သူငယ္ခ်င္းမိတ္ေဆြမ်ားကို အၿမဲၾကိဳဆိုလ်က္ပါ...ကၽြန္ေတာ္မွားတာေလးေတြ ေတြ႔ရင္လည္းခြင့္လြတ္ၾကပါ..ေက်းဇူးတင္ပါတယ္...(စိုင္းေလး)

Tuesday, October 9, 2012

မိမိမိဘေလာ့မွာ“Email Subscription Form” ေလးထည့္နည္း



မိမိတို႕ ဘေလာ့မွာ လိုအပ္ခ်က္ေလးတစ္ခု ျဖစ္မွာပါ ကိုယ္တင္တဲံ ပို႕စ္ေတြ မည္သူမဆို ေမးထဲကေန အသင့္ ေစာင့္ဖတ္နိဳင္တာပါ.
1. Log inလုပ္ပါ Blogger, ျပီးတာနဲ႕Design > Page Elements > ဆက္ျပီး "Add a Gadget"
2. ေနာက္ "HTML/JavaScript"
 3.ေအာက္ကကုဒ္ေတြကို ကူးထည့္လိုက္ပါ။



<style>
.hl-email{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9ECEOqQFgLZ6GF6sxUSustNB2kp4CdEkKjv-jdXMChva8Vz1lApqw7On2o_IsSyskOse2hOUe7UBPKChrC9jnGlATejFKIcJUt0I6-WsvlLeinXFa3AK-tbHIzu19aShd0_CHqpjiH8g/s1600/mail.png) no-repeat 0px 12px ;
width:300px;
padding:10px 0 0 55px;
float:left;
font-size:1.4em;
font-weight:bold;
margin:0 0 10px 0;
color:#686B6C;
}
.hl-emailsubmit{
background:#9B9895;
cursor:pointer;
color:#fff;
border:none;
padding:3px;
text-shadow:0 -1px 1px rgba(0,0,0,0.25);
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
font:12px sans-serif;
}
.hl-emailsubmit:hover{
background:#E98313;
}
.textarea{
padding:2px;
margin:6px 2px 6px 2px;
background:#f9f9f9;
border:1px solid #ccc;
resize:none;
box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);
-moz-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);
-webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1); font-size:13px;
width:130px;
color:#666;}
</style>
<div class="hl-email">
Subscribe via Email <form action="http://feedburner.google.com/fb/a/mailverify" id="feedform" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=helplogger', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
<input gtbfieldid="3" class="textarea" name="email" onblur="if (this.value == &quot;&quot;) {this.value = &quot;Enter email address here&quot;;}" onfocus="if (this.value == &quot;Enter email address here&quot;) {this.value = &quot;&quot;;}" value="Enter email address here" type="text" />
<input type="hidden" value="helplogger" name="uri"/><input type="hidden" name="loc" value="en_US"/>
<input class="hl-emailsubmit" value="Submit" type="submit" />
</form>
</div>

ျပင္ဆင္နိဳင္စရာမ်ား

  • Replace the url address in green if you want to change the email icon
  • Increase/Decrease the 130 width value for a wider text area
  • Replace http://feedburner.google.com/fb/a/mailverify?uri=helplogger with your Feedburner Email Feed link. You can get it by visiting your feedburner account then navigate to Publicize and then to Email Subscriptions.
  • Replace helplogger with your feed title. It appear at the end of your feed link. In my case it is http://feedburner.google.com/fb/a/mailverify?uri=helplogger

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...