September 7th, 2007

An interesting new link building service

As all online marketers know, acquiring solid inbound links is essential for the success of any website. Search engines may index your site and its content, but it's not until you start to get real links that you'll achieve decent search ranking positions. This is simply because search engines count inbound links as "votes" for your site, and the more votes you receive, the more search engines will believe that you are what you claim, and they'll reward you by listing your site higher when people search on keywords related to your content. Of course, the quality of inbound links needs to be considered as well, but that's a whole separate article's worth of explanation for that!

So yeah, that's the basic concept behind a link-building campaign, which is a major component of SEO. Now, it can be very tedious and time-consuming to go out and look for said links yourself. Often, it's simpler and more efficient to outsource your link building to a professional or a company. There are many providers of this service, and LinkBuildingVault is one of them. Basically, they provide High Quality Permanent one way link popularity building services on a monthly fee basis. The major distinguishing factor I can see with this provider is that they place a huge emphasis on quality. It appears that the majority of their link building is done through blogs, and they're very strict on staying away from spammy blogs.

I'm actually quite impressed with the offering. It's good to see a service that isn't simply trying to grab as much business as possible by charging some ridiculously low rate, and promising thousands of backlinks. Their prices aren't dirt cheap, and that's a strong indication that the quality of their service is good. I can state with utmost certainty that investing your link building budget with them would provide better ROI than going with a handful of cheaper providers, even if it costs you the same.

Anyhow, if you're not fully convinced, at least check out the LinkBuildingVault Blog. You'll get some useful SEO & Link building advice, and no doubt you'll learn a little more about their service - which in turn will enable you to decide how trustworthy they are.

September 7th, 2007

How to rotate an image or text with JavaScript & DHTML

So I need to rotate an image every few seconds on a homepage of a site I'm building. I looked around for some pre-built code that I could do this with, and I found a few functions. I picked the one I like the best, and I've modified it to my needs. This JavaScript code lets you define an array of HTML items (so you could use images, text, links, you name it!), and loop through the array. I added the variable for you to define how many seconds between rotation. Here's the JavaScript function, it will run automatically on the page load event. Place it in between your <head></head> tags.

<script language="JavaScript1.2">

var howOften = 2; //number often in seconds to rotate
var current = 0; //start the counter at 0
var ns6 = document.getElementById&&!document.all; //detect netscape 6

// place your images, text, etc in the array elements here
var items = new Array();
    items[0]="<img src='monkey.gif' border='0'>"; //an image
    items[1]="<a href='#'><img src='monkey.gif' border='0'></a>"; //a linked image
    items[2]="Text without a link";
    items[3]="<a href='#'>Text with a link</a>";
    items[4]="<a href='#'><img src='monkey.gif' border='0'> Text and image with a link</a>";

function rotater() {
    if(document.layers) {
        document.placeholderlayer.document.write(items[current]);
        document.placeholderlayer.document.close();
    }
    if(ns6)document.getElementById("placeholderdiv").innerHTML=items[current]
        if(document.all)
            placeholderdiv.innerHTML=items[current];

    current = (current==items.length) ? 0 : current + 1; //increment or reset
    setTimeout("rotater()",howOften*1000);
}
window.onload=rotater;
//–>
</script>

Alternately, if you like simpler code, and you don't care about the .017% of users still using Netscape 6, you can use this JavaScript function for rotater:

function rotater() {
    document.getElementById("placeholder").innerHTML = items[current];
    current = (current==items.length-1) ? 0 : current + 1;
    setTimeout("rotater()",howOften*1000);
}

And here's the placeholder layers that you need to add to your HTML page to rotate the content in:

<layer id="placeholderlayer"></layer><div id="placeholderdiv"></div>
« Previous Page