Nibbling on the weekend
Apr. 13th, 2009 01:36 pmA good portion of my waking hours this weekend have been spent delving into WordPress. Actually a lot of it has been regular css stuff, because WordPress installed pretty snappily and natively supports a whole bunch of things I thought might need custom code.
It runs bloody slowly though.
The design I've been given uses an overlapping tabs scheme for the main navigation. I succeeded in an appropriate hover effect, but it doesn't look so good as a current-page highlighter so I've turned it off (it wasn't requested anyway, but is something I feel should be there - "tabs should behave like tabs" and all that). The order of the overlap actually needs to be reversed I think.
I'm only getting paid for this if the 'boss' is happy with it so there is a point where it's not worth solving the problem right now or exceeding my brief and changing the graphic design - but it was a good reason to pick up WordPress.
The other major issue was styling the first and last items in the list differently (no tab overlap) - given IE's lack of support for :first-child and :last-child . I spent a while digging in the page-list-generation code before just running a pair of preg_replace()s over the output to add class names into the relevant items.
~~~
Yesterday I went out to my parents for lunch/the afternoon. The DVD of the old country calendar episodes went down well - even though it would only play on my sister's laptop not my parents' identical one. Result - I have a laptop to 'fix' this week. Hopefully a full Windows (Vista home basic - bleh!) update will do the trick.
I also have another bag of videos to copy and collate bits from - mostly news articles and TV shows us kids have appeared in however briefly over the years but also a home movie of the muster made by my Grandpa in 1957 (later copied from 8mm to VHS by someone).
I was so tired in the evening I went to be for a nap at about 7pm - and didn't get up properly until 8ish this morning.
~~~
Now I need to get on to some real chores - cat litter, dishes, vacumning, ....
It runs bloody slowly though.
The design I've been given uses an overlapping tabs scheme for the main navigation. I succeeded in an appropriate hover effect, but it doesn't look so good as a current-page highlighter so I've turned it off (it wasn't requested anyway, but is something I feel should be there - "tabs should behave like tabs" and all that). The order of the overlap actually needs to be reversed I think.
I'm only getting paid for this if the 'boss' is happy with it so there is a point where it's not worth solving the problem right now or exceeding my brief and changing the graphic design - but it was a good reason to pick up WordPress.
The other major issue was styling the first and last items in the list differently (no tab overlap) - given IE's lack of support for :first-child and :last-child . I spent a while digging in the page-list-generation code before just running a pair of preg_replace()s over the output to add class names into the relevant items.
~~~
Yesterday I went out to my parents for lunch/the afternoon. The DVD of the old country calendar episodes went down well - even though it would only play on my sister's laptop not my parents' identical one. Result - I have a laptop to 'fix' this week. Hopefully a full Windows (Vista home basic - bleh!) update will do the trick.
I also have another bag of videos to copy and collate bits from - mostly news articles and TV shows us kids have appeared in however briefly over the years but also a home movie of the muster made by my Grandpa in 1957 (later copied from 8mm to VHS by someone).
I was so tired in the evening I went to be for a nap at about 7pm - and didn't get up properly until 8ish this morning.
~~~
Now I need to get on to some real chores - cat litter, dishes, vacumning, ....