August 27, 2008

Create Navigation Buttons for your Blog

Many blogs and websites feature "navigation button" links like a menu at the top of the page or beneath the header. This can be really helpful for readers to navigate to areas of interest in your blog, such as the home page, about page and contact links.

In this tutorial, I'll explain a very simple (but effective) method of creating such a "navigation buttons" for your own blog, which you can use to add easily accessible links to your post pages.

To create these buttons for your blog, we don't need to use any external images! With a little CSS styling, you can easily create navigation buttons which change color when your mouse hovers over them, making it easier to see that these are indeed clickable links. This style of button is helpful to your visitors and invites them to view the important pages you link to using these links.

There are two main steps to creating these buttons for your blog:

  1. Add some styling code to your blog's template
  2. Create a new HTML/Javascript widget, and create your links

You can use these links anywhere in your blog that you are able to place an HTML/Javascript widget, such as your sidebar, the header section, or above your blog posts.

Here are the steps in detail:

Add some code to the style section of your blog template

The "style" section of "layouts" blogs is contained between the <b:skin> and </b:skin> tags in your template. The simplest way to add extra styling code is to place this just after the closing tag (key CTRL+F to easily find this in your template).

The styling code used for the buttons featured above is as follows:

a.navigation {

background: #000000;

color: #ffffff;

margin: 1px;

padding: 5px 35px 5px 5px;

border-width: 0;

text-transform: uppercase;

text-decoration: none;

font-weight: bold;

}

a.navigation:hover {

background: #5d5d54;

text-decoration: none;

}

If you copy and paste this code just before the closing </b:skin> tag in your blog template, you will easily be able to create your navigation buttons. If you prefer, you can change the color of the backgrounds (highlighted in red) to colors which better suit your blog. You can easily find the hex values for the colors you need by using this handy Color Calculator .

You will notice that there are two statements in this styling: the first defines what the buttons will look like as they appear in your blog, while the second (hover) statement defines the background color of the button when you place your cursor over the button (the "mouseover" effect).

Create your links in an HTML/Javascript widget

Once you have added this style code to your template, you should save your template and go to the layouts section of your blog (Template>Layout). Here you should create a new HTML/Javascript widget where you would like your buttons to appear.

In this new widget, you should add your links in the following format:

<a class="navigation" href="http://your-link-url.blogspot.com">Your link</a>
<a class="navigation" href="http://your-link-url.blogspot.com">Your second link</a>
<a class="navigation" href="http://your-link-url.blogspot.com">Your third link</a>

Be sure to replace "http://your-link-url.blogspot.com" with the URL of the post page (or link) you would like the button to link to, and replace the link text (eg: Your Link) with the text you would like to display.

Once you have created your links (you can add as few or as many as you like), save your HTML/Javascript widget, and take a look at the effect in your blog.

How this works

The styling code we add to the template creates styling rules for "anchor links" which are given the class of "navigation". We can use different "classes" to create different effects for elements which appear in your blog layout; the class we give for the navigation links does not affect other links in your template, only those which have the class of "navigation".

With a few tweaks, you can change the style of these buttons to completely blend with the overall appearance of your blog template, and create attractive clickable buttons to your important pages which your visitors will love.


August 24, 2008

Stop Blogger from turning all your text into CAPITALS

Blogger makes your post footer, blog footer, profile widget and header text turn out in uppercase letters by default, and this of course, sucks like a black hole for some (I know it does for me). To remedy this, just do the same procedure as with eliminating borders (see above) but instead of searching for "border:", search for "text-transform:" and eliminate every instance of it. Change "uppercase" to "none".

August 10, 2008

Web Color Calculator: Find the Hex Values for your favorite colors

Use this color calculator to find the HEX and RGB values for the colors you would like to use in your blog or website.





ColorCalc 1.0 is a freeware Javascript applet written by Hendrik Schreiber.

August 4, 2008

HACKED!!! Supercharge Firefox For Speed Surfing

Nowadays THE most popular freeware is the Mozilla Firefox browser. As a huge Firefox fan, I wanted to give you some tips on increasing the speed when surfing the web using Firefox!


First of all I suggest you to download and Install Mozilla Firefox. In my opinion, its the best browser available. Download it here.


Some obscure preferences exist that affect the network performance and display performance of Firefox. They're the equivalent of special hardware tweaks that enthusiasts use to make your CPU run faster. There are security implications to modifying the network performance. They might make you a hazard as you burn down the street. There are also stability risks in cranking up the display performance. Such tweaks are really meant only as debugging tools. If you can't keep your hands off the engine, here's how to proceed without warranty.


The following preferences might not make you a good web citizen, but they'll get you as much bandwidth as you can manage. Note, however, that too many simultaneous network connections will just slow you down. The best possible performance occurs when there's one connection only and the remote web server is blindingly fast. If web servers or other hops in the network are comparatively slow, try playing with these many preferences.


As all we know Firefox is more flexible than other browser out there. Firefox can be tweaked by editing some preferences in it. For this operation we want to open Firefox editing surface, by typing about:config command in your url bar and press Enter on your keyboard.

After that search the following preferences that I indicate by green color or just copy them and past them in firefox filter bar.


Turn the following preferences on by double clicking on them.network.http.pipelining /* default = false */ double click on this for change it to TRUE

network.http.proxy.pipelining /* default = false */ double click on this for change it to TRUE

Search the following integer and change it to 30. This means it will make 30 requests at once.
network.http.pipelining.maxrequests change its value to 30.


After that Right click anywhere and select
New-> Integer.
Name it “
nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on information it receives.


You can make your Firefox browser much faster by doing adjustment I posed above. Those adjustments are very common and you can find them by go surrounding the web much easier. But when I became an advanced Firefox user I wanted more options for speeding my browser than those I mentioned above. I found the following preferences and they work well for me. So I thought I would post them here as well as the very "common" tricks I showed you above.


If preferences name doesn't exist in your browser don't be concerned. It is not your doing. If some preference doesn't exist just follow last adjustment we did at the above of this post.

Right click anywhere and select
New-> Integer or Boolean ( If change we are going to do is a Number it should be a Integer / If change true or false it's a Boolean )

And set it's name and value as I given:
Name it "xxxxxxxxxxxxxxx” and set its value to “xxxx″ or "false" or "true"

*
browser.tabs.showSingleWindowModePrefs - true -- ( boolean )

*
network.http.pipelining.firstrequests - true -- ( boolean )

*
content.notify.backoffcount - 5 -- ( Integer )

*
ui.submenuDelay - 0 -- ( Integer )

*
content.interrupt.parsing - true -- ( boolean )

*
content.max.tokenizing.time - 2250000 -- ( Integer )

*
content.notify.interval - 750000 -- ( Integer )

*
content.notify.ontimer - true -- ( boolean )

*
content.switch.threshold - 750000 -- ( Integer )

*
network.http.max-connections - 48 -- ( Integer )

*
network.http.max-connections-per-server - 24 -- ( Integer )

*
network.http.max-persistent-connections-per-proxy - 16 -- ( Integer )

*
network.http.max-persistent-connections-per-server - 8 -- ( Integer )

*
network.dns.disableIPv6 - true -- ( boolean )

*
network.http.request.timeout - 300 -- ( Integer )

By adjusting these settings in Firefox you can make your browser
super faster..