Tony Aslett presented a tutorial at Brisbane's Web Standards Group meeting in April that very simply shows how to use the DOM (Document Object Model) to change classes and styles on the fly.
I wasn't at the meeting, but just the presentation on it's own is a useful resource.
Friday, June 17, 2005
Wednesday, June 15, 2005
Spyware in Acrobat Reader
From the Sydney Morning Herald:
This one seems harmless enough, but opens the door for more dangerous things - time to disable JavaScript in newer versions of Adobe Reader?
A company called Remote Approach is using a feature in Adobe's PDF Reader to track how many times a PDF document has been accessed, according to a report in the Linux Weekly News.
For the feature to be used, a PDF had to be created, uploaded to the company's server to be tagged, and then distributed, the report said.
The tracking failed when the PDF was viewed by other readers such as Xpdf and Kpdf, and version 5 of Adobe Reader.
However, when the document was opened using Adobe Reader 7, Remote Approach began logging the number of times it was viewed from the IP address of the computer on which it was opened.
The information is submitted over port 80 using HTTP - the standard port for web servers - which no home or office firewall would normally block.
The tracking was being done using JavaScript, support for which had been added as a default setting to Adobe Reader 7 for Linux and since version 6 in versions for other platforms.
This one seems harmless enough, but opens the door for more dangerous things - time to disable JavaScript in newer versions of Adobe Reader?
Tuesday, June 7, 2005
Making IE behave a little better
Doxdesk.com has produced a JavaScript module so that min-height, max-height, min-width and max-width work on Internet Explorer for Windows..
I can hear Michael breathe a sigh of relief now...
I can hear Michael breathe a sigh of relief now...
Sunday, June 5, 2005
From bits to a comp
Ever since I saw the concept of the Page Description Diagram I liked the idea. A simple way of sorting out what a page has to do without any other distractions.
Actually putting one together is a bit harder than I first thought. Where do you start?
Then Ryan Singer from 37 Signals penned An Introduction to Using Patterns in Web Design. Bingo - someone has joined the dots for me!
- Make a list of your "bits"- everything on the page and anything that the visitor might have to do
- Group them where they share some commonality
- Prioritise them (Hey, the contents of a Page Description Diagram!)
- Design each chunk, and then put those chunks together (Hey, a wireframe!)
- Then design away (Hey, a comp!)
Following Ryan's steps would make it difficult to end up with a comp that didn't achieve what it was supposed to in terms of site goals.
Not impossible, mind you, but difficult.
Wednesday, June 1, 2005
Shells, Scooby, basketball and chickens
A bunch of new entries to the CSS Zen Garden. Some I like:
That's not a typo - Hengarden; not Zengarden...
- Like The Sea
- Chien
- Hoop - Tournament Edition
- And if for nothing else than the warped sense of humour: Hengarden
That's not a typo - Hengarden; not Zengarden...
Sort lists by dragging and dropping
Now this is pretty cool.
Most examples of list sorting I've seen involve little up and down arrows, and you have to click away and only move the item one step at a time.
Forget about that - drag and drop items on the list instead!
The example here uses cookies to store user preferences too, so you could probably enable this on yor website's standard navigation and let users put the links they usethe most at the top, and the ones they don't use much at the bottom. There are really dozens on applications you could use this. Check it out!
Most examples of list sorting I've seen involve little up and down arrows, and you have to click away and only move the item one step at a time.
Forget about that - drag and drop items on the list instead!
The example here uses cookies to store user preferences too, so you could probably enable this on yor website's standard navigation and let users put the links they usethe most at the top, and the ones they don't use much at the bottom. There are really dozens on applications you could use this. Check it out!
Getting Flash to talk to PHP
Straight from their website:
Sounds pretty useful... Here's the link: PHPObject
PHPObject is an opensource alternative to Flash Remoting for PHP developers. With PHPObject, you can call a method of a PHP class/library on your web server as if the class/library was defined in Flash itself. It takes care of your client-server connections and makes passing of variables (properties) between Flash MX and PHP easy, and thereby providing a convenient way to connect rich media clients with data and business logic residing on your server.
Sounds pretty useful... Here's the link: PHPObject
Subscribe to:
Posts (Atom)