Make Money

Freelance Jobs Freelance Jobs
Showing posts with label blogging tips. Show all posts
Showing posts with label blogging tips. Show all posts

20.12.11

How to solve Blogger’s jQuery conflicts with jQuery.noConflict in 5 minutes!

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed


When bloggers that are using Blogger have more than one JavaScript library (jQuery, MooTools etc) on their blogs, sometimes they get weird conflicts and sometimes they don’t if they are very lucky!

Yesterday however was not the lucky day for one of my visitors. She had stumbled upon my pure CSS-based emoticons for Blogger tutorial blog post and wanted to have those similar emoticons on her blog. She had perfectly followed my installation instructions but to her dismay, those pure CSS-based (made possible jQuery) emoticons failed to appear on her blog and she came back to me for some answers. Today, I’m going to provide some for her! :)



Why sometimes we get conflicts with our jQuery plug-ins?


Let me quote something from jquery.com:

The jQuery library, and virtually all of its plugins are constrained within the jQuery namespace. As a general rule, "global" objects are stored inside the jQuery namespace as well, so you shouldn't get a clash between jQuery and any other library (like Prototype, MooTools, or YUI).

That said, there is one caveat: By default, jQuery uses "$" as a shortcut for "jQuery"

Yes, the culprit that caused all those weird conflicts is indeed ‘$’!

Thankfully, such conflicts can easily be resolved by calling upon the jQuery.noConflict() method. Let me show you an example.

How to solve Blogger’s jQuery conflicts with jQuery.noConflict


In my pure CSS-based emoticons for Blogger tutorial blog post, the JavaScript code snippet that causes conflicts to one of my visitors is the one shown down below.

<script type='text/javascript'>
$(document).ready(function(){
$(&#39;.post-body, .comments&#39;).emoticonize({
//delay: 500,
//animate: true,
//exclude: &#39;pre, code, .no-emoticons&#39;
});
})
</script>

To solve the conflicts once and for all, just replace the whole code snippet shown earlier with the following down below.

<script>
var $j = jQuery.noConflict();
// Use jQuery via $j(…)
$j(document).ready(function(){
});
</script>

<script type='text/javascript'>
jQuery(document).ready(function(){
jQuery(&#39;.post-body, .comments&#39;).emoticonize({
//delay: 500,
//animate: true,
//exclude: &#39;, pre, code, .no-emoticons&#39;
});
})
</script>

Pay attention to those marked in red and green. The one marked in green is where we call upon the assistance of the jQuery.noConflict() method and it is must be placed right AFTER you call upon your JavaScript libraries (in your Blogger template) and BEFORE the code snippet that is causing the conflicts. The ones marked in red are where we replaced those conflict-making ‘$’(you would understand better after comparing the BEFORE and AFTER versions) with ‘jQuery’.

To my visitor that is having problems with her pure CSS-based emoticons jQuery plug-in, you may now save your Blogger template and enjoy your new emoticons. :)

Even though the examples shown earlier are to help one of my visitors solve conflicts that are caused by her pure CSS-based emoticons jQuery plug-in, the lesson that you have learned here today can also help you resolve conflicts created by other jQuery plug-ins. I strongly recommend bloggers that are fond of using JavaScript libraries (jQuery) on their blogs to read and master other noteworthy techniques that they can also use to resolve conflicts between their jQuery plug-ins and other JavaScript libraries.

24.11.11

Twitter SEO: How to Use Twitter to Get Higher Rankings?

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

There was a time when Twitter wasn't a popular form of social media. Quite a few people would have had a Twitter account prior to it being popular, and perhaps never used it. Its popularity these days as a form of social media has seen more users than ever before jump on the Twitter bandwagon.

Twitter is excellent because it allows you to give short and sharp pieces of information to potential customers. In this day and age, when our attention spans are extremely short when it comes to looking at things on the Internet, Twitter is perfect, and whether you are new to Twitter or a seasoned pro, there are plenty of benefits to be had for your business.



Running a Blog with your Website

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Many companies now have websites, be it a small website that just shows their location and contact details, or a very large information based site, or all singing and dancing shopping cart solution with thousands of items available to order online.

Yet, many companies are reliant on their web designer or a web development company to keep these sites up to date and implement changes that a customer may want them making to their site. Now this is not down to the web company just wanting to make more money, it is down to the fact that a little knowledge can cause a lot of damage, and if you had full access to your site then with a few misplaced clicks, you could cause terrible damage to your website, which your web design company would then have to charge to put right. So, most websites are limited in how you can update them for a good reason.

Which Website Platform Is Right For You?

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

There are many free platforms out there and each has its own pros and cons. However, many of these platforms aren’t bad by any means of the word.  Instead chances are that some of these platforms are specialized and work best with certain types of sites.  So to help you in deciding which platform to choose, I am going to break down 3 popular free web design platforms and tell you what type of site they would be best for.


Online Marketing Strategies, Tools and Tips for a Successful Marketer

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

The internet has proven to be one of the best means of marketing .There are numerous methods by which you can market your products online. The advantage of internet or online marketing is that the cost involved is lower as compared to other methods of marketing.

Online Marketing
Effective Online Marketing can help you earn big!

Other major advantages include its wider reach in the global market, increasing number of internet users, greater flexibility and better chances of building a healthy customer relationship. Here are a few methods by which you can market your online products easily.

Get More Twitter followers and Facebook fans using Online Tools

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Social networking has become one of the best methods of building a strong customer and fan base and has proven to be one of the strongest online marketing methods. The latest sensations among the social networking sites are Facebook and Twitter which help online marketers take their products to customers.


Twitter Followers
Even though there are many marketing methods of increasing the number of followers in Twitter and Facebook, you can use some online tools for the purpose. Here are a few online tools that are available for better social networking.

Best Web Hosting Options for Your WordPress Blog

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

WordPress is a popular choice for bloggers as it is highly customizable and can be easily incorporated into existing websites. But before you start your own blog, take the time to consider which of the many hosting options is best for you.


Get Popular on the Internet

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

We all wish to be popular. But unfortunately, getting popular is not so easy in the real world. However, in the cyber world of which we all are part of, it is not so tough if you follow some tips given below. Now what are you waiting for? Bring your Pen and Paper start taking notes on how to become famous.


1.  Start a Website: You might have heard the cliche, "everyone popular has a website." But fortunately, you don't have to be famous to have a website. You can have your website made from a specialist or can make it yourself. Just choose a topic you like, get your pen...err... keyboard ready and start creating killer content for which people would come back again and again.



Discover New Blog Post Ideas with Google Analytics Data

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Anyone who has kept a blog for some time or who writes for a living has likely experienced that feeling of no inspiration. There’s absolutely nothing left in the tank – even all the rubbish ideas have been used up and you are left feeling unmotivated. It is at this point that sometimes blogs can get abandoned, as constantly thinking up new ideas is hard work and tiring.

My first stop when I get to this stage is usually Google News. Just having a read through some of the top stories can trigger a hook to link one to the theme of your blog, and if you optimise properly, you could even get on top of some of the traffic for that particular story. It is easier said than done, however, and there aren’t always big stories around that are relevant.

Health Tips for Bloggers: Stay Healthy While you Blog

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Sitting most of the day is not good for your health. Experts say it is better to stand rather than sit while you go about your daily work. This usually means raising your computer monitor to eye-level, and elevating the keyboard and mouse to a height that is easy to use from a standing position. This has led to the growing trend of creating “standing office workstations.” However, there are other things bloggers can do to counteract the effects of sitting all day.


Use Long tail Keywords to Boost Blog Traffic

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Keyword research is one of the fundamental parts of any search engine optimization strategy. Before you start trying to get to the top of the search rankings, you have to decide which search terms you want to rank well for. Ideally they should be relevant to your topic, so searchers find what they were looking for, popular enough to bring in a good stream of traffic, but not so competitive that ranking well is impossible.


What Bloggers need to know about Google PageRank

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

PageRank or PR is by far the most common measure of the quantity and quality of links leading to a particular website. It usually appears as a whole number from zero to 10, with all new sites starting off at zero and only the biggest of the giants getting the full score. Google.com has PR10 but Youtube.com only gets PR9.

A well-established, reasonably popular blog that has put some effort into publicity and link building might end up with a PR3 or PR4 homepage, but for anything beyond that, a long-term, focused campaign usually has to be mounted.


Blogging Tips: 5 Ways to Get More Leads

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

A lot of online entrepreneurs seem to be having trouble finding potential customers who will buy their services or products nowadays. Well, the main reason behind this problem is the fact that most of these entrepreneurs do not generate a lot of leads through their blogs. Although having leads on social networking pages is good, blog leads are actually much more powerful in the online world.

1. The first thing you need to do in order to generate blog leads would be to find out who your target audience will be. After all, they are the ones who will influence your work in the long run. So, before starting your marketing campaign, try to figure out who you want to market to, and think about their problems and goals.


How to Add the Facebook "Like" Button to Blogger or Wordpress

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Facebook is currently the largest social media network on the Internet. Odds are your readers have a profile and can immediately start sharing your content with their friends and family. So, how can you get your readers to sing your praises without begging them to do so? Simple. Install the Facebook “Like” button on your blog.

When visitors to your blog click the "Like" button on your post, they share your content on their Facebook wall—instant advertising. You want more readers, more site traffic, and more exposure? This is a great way to do it.


5 Tips to Enhance Your Blog

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Just about anyone can blog. But not everyone can blog well. There are several factors that go into setting your blog apart from the millions that are out there competing for attention. Here are 5 tips that you can use to make sure that blog stands ahead of the crowd:-


Tips Better Blog
1. Self-host
Self-hosting your own website is one of the easiest ways to give your blog more credibility. It’s a lot easier for readers to remember a website that is www.yourblogname.com over www.yourblogname.blogspot.com. It also shows that you take your blog more seriously than someone that is utilizing a free blog site. And these days, it’s relatively cheap to host your own domain name. HostGator, Dreamhost, and Bluehost are three hosting companies that charge you about $10 a month (or less!) to self-host your website.

18.11.11

Add Anchor Text to your Post

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

This post is about a question asked by my reader(Life is beautiful).

Her question is: How to Add Anchor Text?

Anchor text is a word or short sentence which appear as a link to another site(s), blog(s) or post(s). It is quite good to optimize our posts with anchor texts which can help you to increase Google Page Rank.

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

There are a lot of people who are earning a lot from Google AdSense. What is their Secret? the only possibility is that they get a lot of TRAFFIC. One of the effective way is by Submitting your site to popular directories which have high Page Rank (PR).

SEO Friendly Lists

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

There are a lot of people who are earning a lot from Google AdSense. What is their Secret? the only possibility is that they get a lot of TRAFFIC. One of the effective way is by Submitting your site to popular directories which have high Page Rank (PR).

I have found some good directories(PR4, PR5 or PR6). Best of all they offer FREE service.

Submit Site/Blog To Search Engines Directory Easily

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

Some sites are getting a lot of traffic from different search engines. Recently, the Popular Search Engines are Google, MSN, Yahoo and Alta Vista.(Sorry if I forgot to name some others).

Increase traffic using "Ping"

Delicious Digg StumbleUpon Reddit Subscribe to RSS Feed

By using Ping, you are actually informing major server that you have updated your site/blog. Thus, Pinging your site/blog can help you increase your site traffic.

Below is a list of pinging services avaiable:

 

HOW TO HACK Copyright © 2010 LKart Theme is Designed by Lasantha