BLOG URL‘>
... [READ MORE]
How to alert user that he is the ___th visitor of blogger/blogspot blog?
... [READ MORE]
Selecting a particular parent in Jquery
index.html
If you want to get the id of the main parent which is .main then you should use Jquery code like this:
$("#click").live(‘click’, function(){
alert($(this).parents(".main").attr(‘id’));
});
The code above will alert the id of the main parent. Try it out yourself.
Create Text Editor like Blogger Using HTML & jQuery
You might have seen text editors where you can bold a text, italic a text etc… The perfect example of this the Blogger Post Text Editor.
We have two files, index.html which contains the HTML code and texteditor.js which contains the jQuery code. You should include the texteditor.js in index.html.index.html
... [READ MORE]Removing HTML tags in an input element.
in" value="Subin">
If the code above didn’t worked try placing the script after the input element.
This is the script
... [READ MORE]
How to Stop your Blogger Blog from Redirecting to Country Domains
This will affect your blog badly. For Example:
- The social stats – or Facebook Likes, Google +1s and Tweet counts – for your blog stories may be diluted as the URLs for the same story become different from different visitors.
- You will have a similar problem if you are using an external commenting platform like Disqus or Facebook Comments.
To prevent this you need to add this code to your Template.
Go to Blogger -> Template -> EDIT HTML