Enghiong - enghiong.com
General Information:
Latest News:
WP shortcode output always appears at the top of page content 15 Aug 2012 | 08:13 pm
Shortcode here is the wordpress little code used to insert advanced content into the page. For instance, the following shortcode would add a photo gallery into the page: [gallery] Shortcode is often...
How to select a block of text vertically in word 14 Aug 2012 | 05:45 pm
When working with Word document, by default if we click and drag the mouse down, Word will automatically selects all of the text to the right of the cursor position then down to the current cursor pos...
Table row hover with odd-even row style 13 Aug 2012 | 09:56 pm
If you have a table that is dynamically generated, for instance by PHP, and you want to apply a background color based on whether the table row is odd or even (the background color rotates every other...
Table row hover with odd-even row style 13 Aug 2012 | 06:56 pm
If you have a table that is dynamically generated, for instance by PHP, and you want to apply a background color based on whether the table row is odd or even (the background color rotates every other...
Make the first character uppercase in css 7 Aug 2012 | 06:57 pm
CSS has a property to make the first character uppercase. Have a look at the following code: PLAIN TEXT CODE: <p>hello world</p> <style> p:first-letter { text-transform: uppercase; } </sty...
CSS – How to produce a n-column list of items 6 Aug 2012 | 03:30 pm
In this little tutorial, suppose that we have a list of items to be displayed on the screen using <ul> and <li> tags. First, we may be thinking of taking an approach similar to: PLAIN TEXT CODE: <...
Make the jquery-ui modal dialog window staying fix when scrolling 4 Aug 2012 | 11:35 am
Experimenting the jquery-ui dialog window, I download the source code, unzip it and have a look at the files. Then I find the index.html file. Run that file on my browser and point to the dialog segme...
MySQL Select Last n Records Without Changing The Order 17 Apr 2012 | 03:42 am
Let’s say I am going to select the last 10 records of a table. The main consideration would be using the query: SELECT recordId FROM myTable ORDER BY recordId DESC LIMIT 10 The above query would ...
MySQL Select Last n Records Without Changing The Order 16 Apr 2012 | 11:42 pm
Let's say I am going to select the last 10 records of a table. The main consideration would be using the query: SELECT recordId FROM myTable ORDER BY recordId DESC LIMIT 10 The above query would selec...
How to implement jQuery facebox plugin 2 Feb 2012 | 10:17 pm
Facebox is a Facebook-style lightbox which can display any content loaded inside it such as images, divs, or entire remote pages. It’s built based on JQuery. In implementing facebox, the first thing...