So lets start how to do it by watching this tut.
Articles by "how-to"
Showing posts with label how-to. Show all posts
So lets start how to do it by watching this tut.
We hate when someone copy our work, by Copying others content and ideas.
What can be nastiest than that ??
For Protecting our blog's content from copyright the easiest way is to disable
mouse selection on our blogs by which no one can copy the text and images,
we can make it possible by using small JavaScript code which will
disable mouse selection on blog.
I hope it will helpful to you. watch and Enjoy.
How To Disable Mouse Selection On Blogger in Urdu Lesson 13 from Muhammad Danish on Vimeo.
JavaScript Code For Disabling Mouse Selection which is highlighted in purple color.
<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false }
function reEnable(){
return true }
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else {
document.onmousedown=disableselect
document.onmouseup=reEnable }
</script>In this Tutorial we can disable mouse selection in blogger, This script is working on all major browser which support JavaScript.
Don't forget to share this Urdu Blogger Tutorial with your friends.
Regard: Mirza Danish Baig
Hi Friends I am Muhammad Danish, Today in this Urdu Blogger Tutorial Series I will tell you that how to create privacy policy for blogger in Urdu lesson 10 . Please leave comment if you face any problem to your blogger blog. you can follow us on facebook and Google also tweeter Thanks.
How to Display a Weather Forecast on Your Blogger
Displaying defy anticipate widget on your Blogger diary could be an absorbing feeling for your visitors. Lately, one of our readers emailed us asking if there was a leisurely way to communicate underway endure call on his journal. Our developers did whatsoever explore impact, and were eventually competent to read a stout and well-functioning Defy prognosticate widget that displays endure details on the groundwork of your visitor's position. In this article, we leave convey you how to representation withstand prognosticate on your blogger journal.
Before anyone use this widget, we faculty be gift some remarkable reasons why you should use it too, mainly discussing virtually its work. Let's act a traveler from London, England landed on your tract. Now this widget would fetch the assemblage from localized brave affiliate and would wage its info surgical. Now if the day is sunny, inclement, cloud like and etc.
Exhibit of the widget can be seen here.
The solution:
The first thing you need to do is to login into your blogger dashboard. Now go to Template >> Edit HTML >> and search for the skin tag, just above it paste the following piece of CSS coding (you can customize the code if you like, but we are certain that the default one would just be right for everyone).
.MyWeatherDiv .centerContainer {
width: 300px;
text-align: left;
margin-bottom: 200px;
}
.green {
color: #a6e22d;
}
.teal {
color: #66d9ef;
}
.purp {
color: #ae81ff;
}
.pink {
color: #f92772;
}
.yellow {
color: #e6db74;
}
.white {
color: #f8f8f2;
}
.grey {
color: #616161;
}
.f12 {
font-size: 12px;
}
.MyWeatherDiv img {
height: 64px;
width: 64px;
}
.weatherInfoRight {
z-index: 999;
position: fixed;
top: 10px;
right: 10px;
}
.weatherInfoLeft {
z-index: 999;
position: fixed;
top: 10px;
left: 10px;
}
.weatherInfoBottomRight {
z-index: 999;
position: fixed;
bottom: 10px;
right: 10px;
}
.weatherInfoBottomLeft {
z-index: 999;
position: fixed;
bottom: 10px;
left: 10px;
}
.MyWeatherDiv {
display: none;
background-color: #272822;
padding: 5px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
.MyWeatherInfo {
text-align: center;
font-family: 'Segoe UI',Tahoma,Helvetica,Sans-Serif;
color: white;
font-size: 14px;
}
#divMyImage {
display: none;
}
.MyWeatherClose {
font-family: 'Segoe UI',Tahoma,Helvetica,Sans-Serif;
cursor: pointer;
position: absolute;
right: 10px;
color: white;
font-size: 20px;
}
.MWTemperature {
display: block;
}
.MWPlace {
display: block;
}
.MWIP {
display: block;
}
#clear-day {
display: none;
}
#clear-night {
display: none;
}
#partly-cloudy-day {
display: none;
}
#partly-cloudy-night {
display: none;
}
#cloudy {
display: none;
}
#rain {
display: none;
}
#sleet {
display: none;
}
#snow {
display: none;
}
#wind {
display: none;
}
#fog {
display: none;
}
width: 300px;
text-align: left;
margin-bottom: 200px;
}
.green {
color: #a6e22d;
}
.teal {
color: #66d9ef;
}
.purp {
color: #ae81ff;
}
.pink {
color: #f92772;
}
.yellow {
color: #e6db74;
}
.white {
color: #f8f8f2;
}
.grey {
color: #616161;
}
.f12 {
font-size: 12px;
}
.MyWeatherDiv img {
height: 64px;
width: 64px;
}
.weatherInfoRight {
z-index: 999;
position: fixed;
top: 10px;
right: 10px;
}
.weatherInfoLeft {
z-index: 999;
position: fixed;
top: 10px;
left: 10px;
}
.weatherInfoBottomRight {
z-index: 999;
position: fixed;
bottom: 10px;
right: 10px;
}
.weatherInfoBottomLeft {
z-index: 999;
position: fixed;
bottom: 10px;
left: 10px;
}
.MyWeatherDiv {
display: none;
background-color: #272822;
padding: 5px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
.MyWeatherInfo {
text-align: center;
font-family: 'Segoe UI',Tahoma,Helvetica,Sans-Serif;
color: white;
font-size: 14px;
}
#divMyImage {
display: none;
}
.MyWeatherClose {
font-family: 'Segoe UI',Tahoma,Helvetica,Sans-Serif;
cursor: pointer;
position: absolute;
right: 10px;
color: white;
font-size: 20px;
}
.MWTemperature {
display: block;
}
.MWPlace {
display: block;
}
.MWIP {
display: block;
}
#clear-day {
display: none;
}
#clear-night {
display: none;
}
#partly-cloudy-day {
display: none;
}
#partly-cloudy-night {
display: none;
}
#cloudy {
display: none;
}
#rain {
display: none;
}
#sleet {
display: none;
}
#snow {
display: none;
}
#wind {
display: none;
}
#fog {
display: none;
}
Second thing is to add the JavaScript file that does the work quite brilliantly. Within your blogger template search for the </head> tag and just above it paste the following JS Coding. (We recommend you to please host the script on your own either on Google Drive or any other service because our script might go down if our quota of bandwidth gets full).
<script type="text/javascript" src="https://dl.dropboxusercontent.com/u/137869302/weather.js"></script>
Finally add this styling JavaScript file just above the </body> tag. You can change the position of the gadget by replacing position: "right" to left or center. There are many other options for your customization, which could be useful to match your site�s setting.
<script type="text/javascript">
$.MyWeather({
position: "right",
showpopup: true,
temperature: "c",
closeicon: true,
showicon: true,
showtemperature: true,
showlocation: true,
showip: true,
size: 80,
iconcolor: "white",
fontcolor: "white",
}, function (e, f, g, a, d, b, c) {
$("#txtCity").html(e);
$("#txtCountry").html(f);
$("#txtIP").html(g);
$("#txtLatitude").html(a);
$("#txtLongitude").html(d);
$("#txtTemperature").html(b);
$("#picTemp").attr("src", c)
});
</script>
$.MyWeather({
position: "right",
showpopup: true,
temperature: "c",
closeicon: true,
showicon: true,
showtemperature: true,
showlocation: true,
showip: true,
size: 80,
iconcolor: "white",
fontcolor: "white",
}, function (e, f, g, a, d, b, c) {
$("#txtCity").html(e);
$("#txtCountry").html(f);
$("#txtIP").html(g);
$("#txtLatitude").html(a);
$("#txtLongitude").html(d);
$("#txtTemperature").html(b);
$("#picTemp").attr("src", c)
});
</script>
I hope this tutorial may have helped you in learning How to display weather forecast on Your Blogger site. Do give it a try, and let us know what your thoughts about our latest development are by commenting your opinions below.
Subscribe to:
Posts (Atom)



