Archive for programming

Animated Scroll em JavaScript

Semanas atrás eu achei um artigo interessante no Branding Spanking News chamado Animated anchor links with unobstrusive javascript que cria um feito de “scrolling animado” nas âncoras. O JavaScript é sim não obstrusiuvo mas eu não achei elegante a chamada de função no body do HTML da página de exemplo do post do autor do script. Por isso eu alterei o arquivo original e coloquei essa chamada dentro do próprio JavaScript e se quiser utilizar minha versão alterada (a mesma que eu uso aqui no site) sinta-se à vontade. Se preferir utilize a versão original do autor. Só peço o favor de copiar o script para seu próprio servidor ok?

Link

[Via Revolução ETC.]

Comments

Web 2.0 Principles and Best Practices

Ever since I wrote What is Web 2.0? on the eve of last year’s Web 2.0 Conference, people have been asking for more. I’ve given dozens of talks around the world for companies increasingly far from the tech world. (In fact, I’m writing this entry from Necker Island in the Caribbean, where I’m meeting with the general managers of all the Virgin Group companies.) All of them what to understand not just what Web 2.0 is, but how to apply its principles to their business.

Link

[Via O’Reily Radar]

Comments

Sugar Arrays: Porting over JavaScript 1.6 Array methods

As of Firefox 1.5, there has been a new wide array of Array helpers that were included in JavaScript 1.6. That’s all fine and great, however there isn’t a single other browser on the market (as of this writing) that supports any of the new array methods (let alone JavaScript 1.6). What’s a developer to do?

Link

[Via Dustin Diaz]

Comments

A “usabilidade” de informar ao usuário que um link é externo ao seu site

Não, esta não é mais uma discussão se um link externo ao seu site deve ou não abrir em outra janela. Eu já discuti este assunto aqui. Eu já escrevi sobre as razões pelas quais o atributo target foi retirado das especificações de documentos strict da W3C e também já escrevi que se você realmente quer forçar os links externos no seu site a abrirem em outra janela, você deve utilizar JavaScript e não o atributo target. No final, minha opinião é que você não deve forçar um link ser aberto em outra janela se ele for externo ao seu site. Eu acredito que esta tem que ser uma decisão do usuário e não do site.

Link

[Via Revolução ETC.]

Comments (1)

Web architecture?

Though some people seem to think the DOM is a failure it is in many ways one of the important building blocks of the web. Or perhaps it’s that the web relies on it. Not supporting the DOM (and scripting) means not supporting a part of the web. Getting a DOM is mostly done by writing something in a serialized format, such as HTML or XML, and then letting a web browser interpret it.

Link

[Via Anne Van Kesteren]

Comments

Useful tips for writing efficient CSS

Jonathan Snook has posted a few great CSS coding tips in Top CSS Tips. Several of them come down to personal preferences, and it seems my preferences differ a bit from Jonathan’s in some cases, so I thought I’d go through his tips and note my take on each of them.

Link

[Via 456 Berea St]

Comments

Can Your Website be Your API?

This last week I had the pleasure of giving a presentation for the Web Standards Group London microformats special. I was presenting alongside Norm who was giving some of the background into microformats, and Jeremy, who was covering day-to-day use as well as showing some of the tools that are currently available.

Link

[Via All in the <head>]

Comments

Bulletproof HTML: 37 Steps to Perfect Markup

Bulletproof HTML: 37 Steps to Perfect Markup. All the information you’ll need to understand the science - and practice the art - of HTML.

Link

[Via cssBeauty]

Comments (1)

WSG Meetup: Microformats

Last Thursday I took a trip up to London, to attend the latest meeting of the London Web Standards Group. It took place at the New Cavendish Street campus of Westminster University and the theme of the evening was microformats. The speakers were Mark “Norm” Norman Francis, Jeremy Keith, and Drew McLellan.

Link

[Via Nefarius Designs]

Comments

Print to Preview

Remember in the old days when you had to effectively run two sites or create separate templates in a CMS for “printer friendly pages”? No one liked that. Then print stylesheets came along and everything became wonderful and easy. Except that the people who use our sites didn’t think so; in fact, most got a tad confused because suddenly the “print this page” button and the subsequent full screen preview disappeared on all but the largest of sites.

Link

[Via A List Apart]

Comments

« Previous entries