Another day in the life of… Erik Briones

Happy Valentines Day!

leave a comment »

Happy valentines day to us all!. 😉 Hope you had a great time with your love ones.

Today also marks the Chinese New Year! 😉 Kung Hei Fat Choi… (spell check)


Written by erikbriones

February 14, 2010 at 5:35 pm

Simple buttons using Javascript/CSS

leave a comment »

Sometimes there is a need to change the “class” of an object to apply a different style to it. For example you have 4 css buttons, then you want one to be “Active”, maybe highlighted different from the rest. And when you click another button, the “Active” button becomes “Inactive” and a new button becomes “Active”.

I will show you how to access it using javascript.

First you need to define your styles, “.active” and “.inactive”

.active {
background-color:#FF0000; (meaning red)

.inactive {
background-color:#FFFFFF; (meaning white, all buttons should start with white)


There are two options to change a class for a certain document element

#1 setAttribute(“class”, “active”);
#2 className = ‘active’;

Button = a variable passed when we click a button. For example if we click the 2nd button it passes “Button02” as the value.

You can do this by onClick = “changeToActive(‘Button02’)”

Then in your javascript function will say

function changeToActive(x) {

document.getElementById(x).setAttribute(“class”, “active”);



function changeToActive(x) {

document.getElementById(x).setAttribute(“class”, “active”);


That’s it!

Remember that you need to set all buttons “Inactive” first so that they are all white. Then you choose which one to set as “Active”

I hope this works for you! Write me a comment or email me if you need help

Written by erikbriones

February 10, 2010 at 12:40 pm

Posted in Uncategorized

Tagged with , , , ,

Color Test

leave a comment »

I took a color test this morning from Yahoo’s article about CEOs choosing a different color as the rest of us…

Here is the result… It did not mention that I would become a CEO though… OW!

Best Occupational Category

Self-Control, Practical, Self-Contained, Orderly, Systematic, Precise, and Accurate

These conservative appearing, plotting-types enjoy organizing, data systems, accounting, detail, and accuracy. They often enjoy mathematics and data management activities such as accounting and investment management. Persistence and patience allows them to do detailed paperwork, operate office machines, write business reports, and make charts and graphs.

Suggested careers are Administrator, Secretary, Printer, Paralegal, Building Inspector, Bank Cashier, Private Secretary, Statistician, Operations Manager, Financial Analyst, Bookkeeper, Medical Records Technician, Developer of Business or Computer Systems, Clerical Worker, Proofreader, Accountant, Administrative Assistant, Banker, Certified Public Accountant, Credit Manager, Store Salesperson, Actuary, Dental Assistant, Business Education Teacher, Food Service Manager, IRS Agent, Budget Analyst, and Underwriter.

Your very careful, conscientious, conservative nature gives others the confidence to trust you with handling money and material possessions. Structured organizations that have well-ordered chains of command work best for you.

Suggested Organizer workplaces are large corporations, business offices, financial lending institutions, banks, insurance companies, accounting firms, and quality control and inspection departments.

Written by erikbriones

February 9, 2010 at 5:30 am

Posted in Uncategorized

Tagged with , ,

The Thing I Am Most Afraid Of

leave a comment »

It is funny when we remember the “things we are afraid of” when we were young. I was afraid of flying on an airplane, I could not trust that something that heavy is capable of flying. Although, frequent trips to the shore nearby where I can see them giant machines come flying about was enough assurance that .. well, they must be pretty strong.

I am still afraid of frogs though. Since I was a boy, up until today.

But grown ups have different views of the world. Sometimes not entirely better than kids, but for the sake of today’s discussion, let us just say we are now more concerned of the greater good. At least I can speak only for myself.

The thing that I am afraid of right now is the political scenario in my country the Philippines.

Yesterday’s news were buzzing with surveys for the Presidential and the Vice race. The survey says that the top candidates Noynoy Aquino and Manny Villar are “statistically tied”, because Aquino only has a 2% lead over Villar. And another candidate, Gibo Teodoro, aligned with current administration is starting to show some exciting stats as well.

I ask myself, my girlfriend, my kababayans in the office and some of my friends who they are voting, and none gave me a definite name. Familiar phrases like “Maganda sana kung si ano.. pero ganito din pala.. kay ano nalang ako”. Remember that our dear country the Philippines is still labeled as a “3rd world country”. We need a lot of catching up to do.

What I am afraid of is if that Aquino will win, some sectors will protest, will say “sikat kasi talaga” and end up not interested in his administration. The same might happen if Villar will win. Some will say, “mayaman kasi. kailangan talaga may pera pag tumakbo sa election”. And again, continue to live uninspired. I am not talking about 30 people, a hundred. I am talking about thousands if not hundreds of thousands of people giving the future administration a blank stare, and trust weaker than a baby’s hair.

A few scandals brought up by the still lingering spin doctors otherwise known as “trapos” will break that thread of a trust. It has happened before. It will happen again. The Philippines will elect someone, some get anxiously positive, others will criticize from the start and nothing gets done.

That is how and why the Philippines will lag in the global race. That is a big possibility. That is a very bad scenario. And that is what Iam really afraid of.

Written by erikbriones

February 3, 2010 at 10:45 am

New Edwards and Towers website!

leave a comment »

Edwards and Towers now has a purply-glossy new website. 😉

Written by erikbriones

February 3, 2010 at 5:38 am

Posted in Uncategorized

iPad prices

with one comment

Wow. Before the launch of the iPad some people pegged it at $1000 USD but the actual prices it came up with was way lower!

Steve Jobs said they have “ambitious” design and engineering targets and “agressive” with the price limitation.. (or something like that)

so there.. the price for the iPad starts at $499 USD for the 16 GB Wifi..

Check out, they have updated their site to include the newest product, the iPad

On another note, some people it is a “name FAIL”. I heard one women said that she’s not very comfortable saying the word “iPad” because it always reminds her of feminine pads! I thought It was going to be called an iSlate or simply Apple Tablet. But then again the “i” should be there for Jonathan Ives (maybe?)

The functions? we shall review it on a different post.. But it seems like it is just a bigger brother of an iphone.

It will be available worldwide in 60days. Based on last nights unveiling of the iPad.. what can you say about it?

Check and or your favorite tech blog for more info.

Written by erikbriones

January 28, 2010 at 3:43 am

Posted in technology

Tagged with , , ,

iPad. Apple’s newest product.

leave a comment »

Finally. It is settled. Apple releases a tablet. And it is called an iPad.

It functions like a very large iPhone! I am not sure how much it costs though, but it looks nice. Yes nice. But I am not sure if I need one though for all the things it can do..

Written by erikbriones

January 27, 2010 at 6:33 pm

Posted in Uncategorized

Tagged with , ,