Posts Tagged ‘random’

Grid Designs Don’t Have to Equal Boring

Tuesday, November 18th, 2008

The problem is, most beginning designers feel that designing on a grid is boring. And it definitely can be. This is especially true if you use the grid as a mandate to fill in every square of the grid with something. The point of a grid is not as a way to fill up space, but to help you organize the space you have.

The trick to using grids in your layout is two-fold:

* Create the grid, with as many sub-divisions as you need, and then stick with it. Don’t add random lines after you’ve created your grid. The benefit to a grid is the uniformity of it.
* Place your elements on the grid lines, and make sure they fit the width and height of your grid lines. The most effective designs use the grid in balanced but not 100% symmetrical layouts.

Once you understand how to set up your pages using a grid system, then you can start moving away from the rigid grids to create more elegant websites that work even if you can’t see the grid at first glance.

PHP:Random Loading

Saturday, June 28th, 2008

You can load random stuff by using this code. For this example, I load random color code:
$selectnumber = rand (1, 5);
if($selectnumber==1) $pagebg=”#990000″;
if($selectnumber==2) $pagebg=”#0000FF”;
if($selectnumber==3) $pagebg=”#00AAAA”;
if($selectnumber==4) $pagebg=”#000099″;
if($selectnumber==5) $pagebg=”#DDDD00″;

Search Engine Optimization: Improving The Odds

Saturday, June 28th, 2008

“Search engine optimization” refers to the act of altering your site so that it may rank well for particular terms, especially with crawler-based search engines (later in this guide, we will explain what these are).

Returning to the lottery example, let’s assume there was a way to increase the odds of winning by picking your lottery numbers carefully. Search engine optimization is akin to this. It’s making sure that the numbers you select are more likely to win than purchasing a set of numbers at random.

Editing Google AdSense Ad-Language

Friday, June 20th, 2008

I just thought this would be a great find for Google AdSense users, especially those that run websites in a language other than English. In fact, I saw an advertisement in Hindi in my gMail Account yesterday. I don’t know if it was a random coincidence or they somehow managed to get my ethnicity (even though I never displayed it on the internet).

Nevertheless, Search Engine Roundtable has posted up how you can change your primary language for your Google AdSense formats:

* Log in to your account at https://www.google.com/adsense
* Click the My Account tab
* Click the Login Information link
* Select a language from the Display Language drop-down list
* Click Save Settings

A prime example of a website that should definitely use this, would be News. They are an unbelievably popular Indian news site, with tons of traffic each day. However, they are displaying English advertisements. Even though many Indians can read English, the CTR for these ads must be horrible. But, if it was in Hindi, the official language of India, more readers would click on the ads. Just goes to show what can be done to monetize your website if it’s in a different language.