Little script to retrieve the amount of weeks, days, hours and minutes from a given integer literal:
class TimeValues(object):
def __init__(self):
amount_minutes = 0
amount_hours = 0
amount_days [...]
May 2
Posted by Norman in Code Snippets | 2 Comments
Little script to retrieve the amount of weeks, days, hours and minutes from a given integer literal:
class TimeValues(object):
def __init__(self):
amount_minutes = 0
amount_hours = 0
amount_days [...]
Tags: Python, retrieve the amount of weeks days hours and minutes
May 2
Posted by Norman in JavaScript | 10 Comments
With the YUI datatable control you can render a HTML table into a new table with enhanced features such as column hiding. To hide and show columns the CSS style is changed to display:none. One particular problem with hidden columns is, that not the cell itself gets hidden but the div inside the cell. I [...]
Tags: border, css fix, hidden column border bug, JavaScript, YUI, YUI datatable, yui datatable css border fix
May 1
Posted by Norman in JavaScript | 9 Comments
The DataTable control provides a simple yet powerful API to display screen-reader accessible tabular data on a web page. Notable features include sortable columns, pagination, scrolling, row selection, resizeable columns, and inline cell editing.
I wrote a script to show and hide columns of the YUI dataTable control using checkboxes. If you are new to YUI [...]
Tags: hideColumn, showColumn, YUI, YUI datatable
You are currently browsing the archives for May, 2009