Christian Heilmann

Author Archive

Mapsurface.com and me are watching you!

Sunday, March 5th, 2006

Glenn Jones of Mapsurface.com just sent me my login details for this cool tracking tool.

Try it now by pressing ALT+X on your keyboard (seems not to work in Opera though).

What I love about it:

  • The slick interface
  • The validity – it stays in the head of the document as two includes and doesn’t do any document.write nasties in the body
  • The on-demand nature – you might not want to wait for my tracker to run

What I think needs to change:

  • You should be able to password – protect the stats

If that were the case, I’d try and approach a lot of clients with this goody.

Linking both text and icons with rollover state

Thursday, March 2nd, 2006

Common issues Following a comment I put on the amazing redesign of Veerle’s Blog, she answered that she needed to use two links – one for a text and one for an icon to make the icon clickable.

It can be done in one link in various ways (embedding an image for example) ,but the coolest seems to be to use a background image in CSS, and add enough padding to show it as a background. This also allows you to easily create a rollover state with CSS and an appropriate picture.

Check the example page

The code:

articles RSS

And the CSS trick:

p.rss a:link,
p.rss a:visited{
padding-right:28px;
line-height:17px;
font-size:.85em;
text-decoration:none;
color:#9b9c93;
height:25px;
float:left;
background:url(rssani.gif) top right no-repeat transparent ;
}
p.rss a:hover,
p.rss a:focus,
p.rss a:active{
background-position:100% -91px;
}

[tags]webdevtrick[/tags]

Even more DOMtab updates!

Wednesday, March 1st, 2006

Following feature requests in the comments below via I updated DOMtab once again. You can now link to tabs via the URL and get previous and next links!

DOMtab is a JavaScript that turns a list pointing to different content sections (like an FAQ) into a tabbed interface. Users without JavaScript will still get all the functionality, except they will have to scroll the page. DOMtab automatically removes any “back to top” links when the tabbed interface can be achieved.

  • The look and feel is completely styleable
  • You can use as many tabbed menus in a page as you wish to use.
  • Creation of a link that shows all the sections – for example to print out the page.
  • Automatic highlighting of tabs via anchors in the url (this also allows to use forms in the tabs – just add the anchor name to the action) new
  • Previous and next links for navigating through the tabs – in case you want to have a step by step approach new

Go and check DOMtab version 3.1415927 now

Microsoft to stop Active-X controls to start automatically

Wednesday, March 1st, 2006

According to news.com, Microsoft will stop Active-X controls like embeded media or flash to start automatically in the next security upgrade.

This is very bad news for Flash designers (and may give DOM scripting another boost). Microsoft recommends as a workaround to Activate the control dynamically by writing it out via JavaScript. The examples given are rather messy, and I wonder if Bobby van der Sluis’ Unobtrusive Flash Object wouldn’t have been a better example to promote as a fix.

The Super Browser

Tuesday, February 28th, 2006

I always thought I am a bit crazy about my Firefox extensions, but over at Splasho.com they just tried out “what happens when you install all the available extensions (avoiding duplication of functionality) at once”:http://splasho.com/blog/2006/02/26/the-superbrowser/. They call it the superbrowser and it sure looks colourful.

As always, the comments are quite interesting, too. I skipped the one mooing about bovine porn, but got quite interested in the one pointing to 50 Best Firefox extensions for power surfing. Power surfing? Binford!

The idea of the experiment was not to get rid of screen estate, but to see how stable Firefox is even with that ridiculous amount of extensions. Of course the comment asking how stable the browser stays when you surf a lot with all of these enabled and how many security holes they open has a point, too.

My favourite comment however was one that is both biting sarcasm and rings a bit of giving in to what happens anyways:

Not impressive. IE runs with a 100 spyware extensions everywhere.