soulsight

soulsight This is my recent psd to prototype work (xhtml + css + jquery interactions). Soulsight site was created by just pure html, css, and jquery, with no flash elements.

Leave a comment

Quick way to get the form ID of any form element

Here’s a quick snippet to get the form ID from any form element.

$(this).parents("form").attr('id');

Leave a comment

PHP file reading error in Vista

I recently encountered this problem on Vista running localhost with XAMPP 1.7
I had this calendar script that loads a template from a given path, but it gives me a timeout error. It was previously running smoothly on an XP machine. After further checking, I found out that the problem was something related to the PHP function file_get_contents, for sure this was not the problem as it is running okay on XP.

Here’s part of the script:

function getCalendarTemplate($strPath)
{
    $content = file_get_contents($strPath);
    return $content;
}

Read More »

Leave a comment

Pinoy-Express.com

Pinoy Express Hatid Padala Services, Inc.

Type: Web System Development and Design
Client: Pinoy Express Hatid Padala Services, Inc.
Details: Web system and Public information website
Tools: PHP, MySQL, and Photoshop 7
Website: www.pinoy-express.com

This one of my very first project back in 2004

Leave a comment

Playing with Google Spreadsheet

There are a lots of tools on Google spreadsheet that we could use to display live data from a source website into your own website and it keeps get updated when the source is updated.

One good example I tried is getting the 2008 Beijing Olympics Overall Medal Standing, my goal is to have a list of medal standing that is updated regularly.
Read More »

3 Comments

Video Blog Content

Add relevant video content to your blog.

A WordPress plugin that will search video using the Truveo API and will add video to your content.
Read More »

2 Comments

Standard compliant CSS Min Width and Max Width for IE6

It’s not actually a pure CSS tricks/hacks, as we all know, IE6 doesn’t support CSS minimum and maximum width but we can achieve those properties to work using DOM manipulation.

I used jQuery library to make my DOM manipulation simple and easy.

First step, get the CSS min width and max width value defined in the CSS file, so that the resizing will still dependent on the CSS properties. I use “container” as my div tag ID that wraps up all the html elements.

  var min_width	= parseInt($('#container').css('min-width'));
  var max_width	= parseInt($('#container').css('max-width'));

Here is the function that will resize the container: Read More »

8 Comments

White Beach in Anda Pangasinan

Tondol White Beach Resort in Anda Pangasinan, a community base beach resort that has fine white sand and a long stretch of shallow water.

for more info visit Tondol White Beach

22 Comments

How to get the first date of the week in PHP?

To get the first date of the current week, you need subtract the numeric representation of the day of the week to the given date, in this case the current date.

The code will return the timestamp of the first date of the current date.

$timestamp = mktime(0, 0, 0, date('m'), date('d') - date('w'), date('Y'));

From the code above, we can create functions that will return the first day of the week on any given date.

2 Comments

Truveo Auto Search

Moved to its appropriate page (Video Blog Content)

7 Comments