February 13, 2009Matt
I posted yesterday regarding a problem I was having with Internet Explorer 7 rendering some JavaScript controlled pop ups incorrectly in one of my current projects.
I ended up fixing it by applying a position: relative; and z-index: 100; to each <p> tag. Nothing below 100 would display the text.
It turns out its a variant of [...]
read More »
February 12, 2009Matt
IE and problem in the same sentence, not surprising is it?
I’m working on a project at the moment where I’ve come up against a rather frustrating problem in Internet Explorer. I have a series of pop ups on a particular page that are opened with JavaScript when help links are clicked. The JavaScript for them [...]
read More »
February 9, 2009Matt
This morning, I came across this CSS property that I’ve not seen before whilst I was having a look at whats available in CSS for special devices, like screen readers.
CSS 2 introduced the azimuth CSS property which is effectively targetted at users browsing the web with screen readers. I’m not sure that any of the [...]
read More »
October 21, 2008Matt
Since I don’t have much time today, but I think I should write something for you to enjoy, I’ve decided to explain how to disable the input in a X/HTML form.Disabling the input to a form using XHTML or HTML is actually really easy, but it’s not very well known.
All you need is one [...]
read More »
October 14, 2008Matt
It’s been a while, and how I’ve missed you my poor, neglected blog and readers, it’s been so empty without you.
So what have I actually been doing for the past month? Yep, it’s been a month already! Or it would have been if I had waited two more days to write this, but I’m not [...]
read More »
June 11, 2008Matt
I had an assignment due on Monday for KKB210: Computational Arts 1, where I had to create 3 computational art works. This has kept me pretty busy over the past week or so, especially since I had another assignment due on Tuesday, just a 1500-1800 word essay fortunately, so it didn’t take up too much [...]
read More »
June 3, 2008Matt
I have been asked a few times how to add a bookmark link within a HTML page, so that people can just click the link and the website will be added to their bookmarks.
This is pretty straight forward to do, here is the code you would need:
<a href="javascript:window.external.AddFavorite
('http://blog.stillaslife.com/code/bookmark-a-page-with-javascript/','Bookmark a Page With Javascript | Still As [...]
read More »
March 24, 2008Matt
As you saw in the final section of the previous tutorial on numeric expressions in Python, Fractions, the following two expressions give different answers:
18.0 / 7.0
# This returns 2.571485714285716
18 / 7
# This returns 2
So what’s going on here? Well, this is an example of the two main number systems in Python, integers and floats.
A float [...]
read More »
March 18, 2008Matt
Python’s interpreter can be used as a calculator quite easily. Of course, this is somewhat pointless since there are calculators built into most operating systems anyway. However, the numeric expressions that are built into Python become quite useful in general applications and are important to know.
Before you can start learning Python, you will need to [...]
read More »
March 14, 2008Matt
Python object-oriented programming language at uni in ITB001: Problem Solving and Programming, I figure what better way to solidify what I am learning than to write about it. Someone might find it useful as well.
So if you see anything that is wrong, or anything like that, feel free to point it out, I won’t bite.
First [...]
read More »